From d1bf6336195c7c8922dd6cd146f443d283653645d5e9b6c1ee7234bee845c1ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 7 May 2018 16:02:43 +0000 Subject: [PATCH] Accepting request 605161 from home:gladiac Initial package OBS-URL: https://build.opensuse.org/request/show/605161 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + py3exiv2-0.2.1.tar.gz | 3 ++ python-exiv2.changes | 4 +++ python-exiv2.spec | 65 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 py3exiv2-0.2.1.tar.gz create mode 100644 python-exiv2.changes create mode 100644 python-exiv2.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/py3exiv2-0.2.1.tar.gz b/py3exiv2-0.2.1.tar.gz new file mode 100644 index 0000000..4c2a8c7 --- /dev/null +++ b/py3exiv2-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28bbc0b5b84af23cc1d305aef7bcfb9146b3ba1be9571b4c968315e031ad071b +size 31737 diff --git a/python-exiv2.changes b/python-exiv2.changes new file mode 100644 index 0000000..b04492a --- /dev/null +++ b/python-exiv2.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun May 6 07:55:37 UTC 2018 - asn@cryptomilk.org + +- Initial package diff --git a/python-exiv2.spec b/python-exiv2.spec new file mode 100644 index 0000000..5b94be4 --- /dev/null +++ b/python-exiv2.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-py3exiv2 +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +# This is a python3 only package +%define skip_python2 1 + +Name: python-exiv2 +Version: 0.2.1 +Release: 0 +License: GPL-3.0 +Summary: Python3 bindings for the exiv2 library +Url: https://launchpad.net/py3exiv2 +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz + +BuildRequires: libboost_python3-devel +BuildRequires: libexiv2-devel +BuildRequires: gcc-c++ +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes + +%python_subpackages + +%description +python3-exiv2 is a Python 3 binding to exiv2, the C++ library for manipulation +of EXIF, IPTC and XMP image metadata. It is a python 3 module that allows your +scripts to read and write metadata (EXIF, IPTC, XMP, thumbnails) embedded in +image files (JPEG, TIFF, ...). + +It is designed as a high-level interface to the functionalities offered by +libexiv2. Using python’s built-in data types and standard modules, it provides +easy manipulation of image metadata. + +%prep +%setup -q -n py3exiv2-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%{python_sitearch}/* + +%changelog