Andreas Schneider 2f6da5b
%global tar_name py3exiv2
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
Name:           python3-exiv2
Andreas Schneider c7263a4
Version:        0.3.0
Andreas Schneider c7263a4
Release:        1%{?dist}
Andreas Schneider 2f6da5b
License:        GPLv2+ and GPLv3+
Andreas Schneider 2f6da5b
Summary:        Python3 bindings for the exiv2 library
Andreas Schneider 2f6da5b
Url:            https://launchpad.net/py3exiv2
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
Source:         https://files.pythonhosted.org/packages/source/p/py3exiv2/%{tar_name}-%{version}.tar.gz
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
BuildRequires:  boost-python3-devel
Andreas Schneider 2f6da5b
BuildRequires:  exiv2-devel
Andreas Schneider 2f6da5b
BuildRequires:  python3-rpm-macros
Andreas Schneider 2f6da5b
BuildRequires:  python3-devel
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%description
Andreas Schneider 2f6da5b
python3-exiv2 is a Python 3 binding to exiv2, the C++ library for manipulation
Andreas Schneider 2f6da5b
of EXIF, IPTC and XMP image metadata. It is a python 3 module that allows your
Andreas Schneider 2f6da5b
scripts to read and write metadata (EXIF, IPTC, XMP, thumbnails) embedded in
Andreas Schneider 2f6da5b
image files (JPEG, TIFF, ...).
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
It is designed as a high-level interface to the functionalities offered by
Andreas Schneider 2f6da5b
libexiv2. Using python’s built-in data types and standard modules, it provides
Andreas Schneider 2f6da5b
easy manipulation of image metadata.
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%prep
Andreas Schneider 2f6da5b
%autosetup -n %{tar_name}-%{version} -p1
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%build
Andreas Schneider 2f6da5b
%py3_build
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%install
Andreas Schneider 2f6da5b
%py3_install
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%files
Andreas Schneider 2f6da5b
%doc README
Andreas Schneider 2f6da5b
%{python3_sitearch}/*
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
%changelog
Andreas Schneider c7263a4
* Thu Jun 28 2018 Andreas Schneider <asn@redhat.com> - 0.3.0-1
Andreas Schneider c7263a4
- Update to version 0.3.0
Andreas Schneider c7263a4
5ae0afa
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-4
5ae0afa
- Rebuilt for Python 3.7
5ae0afa
Andreas Schneider 2f6da5b
* Tue May 08 2018 Andreas Schneider <asn@redhat.com> - 0.2.1-3
Andreas Schneider 2f6da5b
- Added missing dist tag to Release
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
* Mon May 07 2018 Andreas Schneider <asn@redhat.com> - 0.2.1-2
Andreas Schneider 2f6da5b
- Fixed license
Andreas Schneider 2f6da5b
- Removed build requires for gcc-c++
Andreas Schneider 2f6da5b
Andreas Schneider 2f6da5b
* Sun May 06 2018 Andreas Schneider <asn@redhat.com> - 0.2.1-1
Andreas Schneider 2f6da5b
- Initial package