|
|
72468a8 |
Name: pyexiv2
|
|
|
272853b |
Version: 0.3.2
|
|
|
4c99fee |
Release: 41%{?dist}
|
|
|
72468a8 |
Summary: Python binding to exiv2
|
|
|
72468a8 |
|
|
|
72468a8 |
License: GPLv2+
|
|
|
72468a8 |
URL: http://tilloy.net/dev/pyexiv2/
|
|
|
f5cd8a2 |
Source0: http://launchpad.net/pyexiv2/0.3.x/%{version}/+download/pyexiv2-%{version}.tar.bz2
|
|
|
15f70bb |
Patch0: http://tilloy.net/dev/pyexiv2-0.3.2-exiv2-0.18.2.patch
|
|
|
1ab49b3 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1675699
|
|
|
1ab49b3 |
Patch1: ftbfs.patch
|
|
|
57bb9e0 |
BuildRequires: gcc-c++
|
|
|
e63b24c |
BuildRequires: python2-devel exiv2-devel boost-python2-devel scons pytz gcc
|
|
|
72468a8 |
|
|
|
72468a8 |
%description
|
|
|
72468a8 |
pyexiv2 is a python binding to exiv2, the C++ library for manipulation
|
|
|
72468a8 |
of EXIF and IPTC image metadata. It is a python module that allows your
|
|
|
72468a8 |
python scripts to read and write metadata (EXIF, IPTC, thumbnail)
|
|
|
4a7bc0a |
embedded in image files (JPEG, TIFF, ...).
|
|
|
72468a8 |
|
|
|
72468a8 |
%prep
|
|
|
1358e3f |
%setup -q
|
|
|
b1a585d |
%if 0%{?rhel} > 0 && 0%{?rhel} <= 7
|
|
|
1ab49b3 |
%patch0 -p0
|
|
|
b1a585d |
%endif
|
|
|
1ab49b3 |
%patch1 -p1
|
|
|
a844fd9 |
# Fix Python shebangs
|
|
|
a844fd9 |
sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' test/*.py
|
|
|
72468a8 |
|
|
|
72468a8 |
%build
|
|
|
72468a8 |
# Remove CFLAGS=... for noarch packages (unneeded)
|
|
|
72468a8 |
#CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
72468a8 |
export CXXFLAGS="%{optflags}"
|
|
|
72468a8 |
export LDFLAGS="%{optflags}"
|
|
|
a844fd9 |
export PYTHON_INTERPRETER="/usr/bin/python2"
|
|
|
bb0eef3 |
scons BOOSTLIB=boost_python%{python2_version_nodots}
|
|
|
72468a8 |
|
|
|
72468a8 |
%install
|
|
|
72468a8 |
#%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
72468a8 |
export CXXFLAGS="%{optflags}"
|
|
|
72468a8 |
export LDFLAGS="%{optflags}"
|
|
|
bb0eef3 |
scons BOOSTLIB=boost_python%{python2_version_nodots} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
72468a8 |
|
|
|
72468a8 |
%check
|
|
|
3b521f3 |
pushd test
|
|
|
a844fd9 |
PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} ./TestsRunner.py
|
|
|
b2f85ab |
popd
|
|
|
72468a8 |
|
|
|
0189fe1 |
%files
|
|
|
3b521f3 |
%doc README COPYING NEWS doc/
|
|
|
5e9943a |
%{python2_sitearch}/*
|
|
|
72468a8 |
|
|
|
f4833d6 |
|
|
|
72468a8 |
%changelog
|
|
|
4c99fee |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-41
|
|
|
4c99fee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
4c99fee |
|
|
|
1ab49b3 |
* Wed May 22 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.2-40
|
|
|
1ab49b3 |
- Rebuild (#1675699)
|
|
|
1ab49b3 |
|
|
|
b43ede5 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-39
|
|
|
b43ede5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b43ede5 |
|
|
|
bb0eef3 |
* Wed Jan 30 2019 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-38
|
|
|
bb0eef3 |
- Add BOOSTLIB arguments to set library name for Boost.Python in Boost 1.69
|
|
|
bb0eef3 |
|
|
|
79ecb0d |
* Wed Jan 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-38
|
|
|
79ecb0d |
- rebuild (exiv2)
|
|
|
79ecb0d |
|
|
|
b3904bb |
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-37
|
|
|
b3904bb |
- Rebuilt for Boost 1.69
|
|
|
b3904bb |
|
|
|
a844fd9 |
* Tue Sep 11 2018 Filipe Rosset <rosset.filipe@gmail.com> - 0.3.2-36
|
|
|
a844fd9 |
- rebuilt to fix FTBFS
|
|
|
a844fd9 |
|
|
|
5202028 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-35
|
|
|
5202028 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5202028 |
|
|
|
1a8f7d1 |
* Tue May 01 2018 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-34
|
|
|
1a8f7d1 |
- Use BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
|
|
|
1a8f7d1 |
|
|
|
e29c51e |
* Tue Feb 20 2018 Matěj Cepl <mcepl@redhat.com> - 0.3.2-33
|
|
|
e29c51e |
- Add BuildRequires gcc per new PG.
|
|
|
e29c51e |
|
|
|
c5296dd |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-32
|
|
|
c5296dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c5296dd |
|
|
|
78deb4f |
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-31
|
|
|
78deb4f |
- Rebuilt for Boost 1.66
|
|
|
78deb4f |
|
|
|
23aeefc |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-30
|
|
|
23aeefc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
23aeefc |
|
|
|
0182b2c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-29
|
|
|
0182b2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0182b2c |
|
|
|
22c117c |
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-28
|
|
|
22c117c |
- Rebuilt for s390x binutils bug
|
|
|
22c117c |
|
|
|
5727e05 |
* Tue Jul 04 2017 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-27
|
|
|
5727e05 |
- Rebuilt for Boost 1.64
|
|
|
5727e05 |
|
|
Rex Dieter |
1e780a3 |
* Tue May 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-26
|
|
Rex Dieter |
1e780a3 |
- rebuild (exiv2)
|
|
Rex Dieter |
1e780a3 |
|
|
|
60ab442 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-25
|
|
|
60ab442 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
60ab442 |
|
|
|
eee1aff |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-24
|
|
|
eee1aff |
- Rebuilt for Boost 1.63
|
|
|
eee1aff |
|
|
|
8047bb2 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-23
|
|
|
8047bb2 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
8047bb2 |
|
|
|
9e7c0e6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-22
|
|
|
9e7c0e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9e7c0e6 |
|
|
|
d28d926 |
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-21
|
|
|
d28d926 |
- Rebuilt for Boost 1.60
|
|
|
d28d926 |
|
|
|
875ba42 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.3.2-20
|
|
|
875ba42 |
- Rebuilt for Boost 1.59
|
|
|
875ba42 |
|
|
|
4ff1015 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-19
|
|
|
4ff1015 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
4ff1015 |
|
|
|
eb31808 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.3.2-18
|
|
|
eb31808 |
- rebuild for Boost 1.58
|
|
|
eb31808 |
|
|
Rex Dieter |
2b402da |
* Wed Jun 24 2015 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-17
|
|
Rex Dieter |
2b402da |
- rebuild (exiv2)
|
|
Rex Dieter |
2b402da |
|
|
|
aac20b3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-16
|
|
|
aac20b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
aac20b3 |
|
|
|
63af6eb |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.3.2-15
|
|
|
63af6eb |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
63af6eb |
|
|
Petr Machata |
94aa681 |
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.3.2-14
|
|
Petr Machata |
94aa681 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
94aa681 |
|
|
|
1f1a0f7 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-13
|
|
|
1f1a0f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
1f1a0f7 |
|
|
|
a6ca2ca |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-12
|
|
|
a6ca2ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a6ca2ca |
|
|
|
7bcf2c6 |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.3.2-11
|
|
|
7bcf2c6 |
- rebuild for boost 1.55.0
|
|
|
7bcf2c6 |
|
|
Rex Dieter |
330faab |
* Tue Dec 03 2013 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-10
|
|
Rex Dieter |
330faab |
- rebuild (exiv2)
|
|
Rex Dieter |
330faab |
|
|
|
6fbf3d8 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-9
|
|
|
6fbf3d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6fbf3d8 |
|
|
Petr Machata |
23a879e |
* Sat Jul 27 2013 pmachata@redhat.com - 0.3.2-8
|
|
Petr Machata |
23a879e |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
23a879e |
|
|
|
2f23102 |
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.2-7
|
|
|
2f23102 |
- Rebuild for Boost-1.53.0
|
|
|
2f23102 |
|
|
|
53e8a3f |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.3.2-6
|
|
|
53e8a3f |
- Rebuild for Boost-1.53.0
|
|
|
53e8a3f |
|
|
|
fbdfd24 |
* Wed Oct 17 2012 Matěj Cepl <mcepl@redhat.com> - 0.3.2-5
|
|
|
fbdfd24 |
- Rebuild for new boost.
|
|
|
fbdfd24 |
|
|
|
3fcfbc2 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
|
|
|
3fcfbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3fcfbc2 |
|
|
|
5c5d69b |
* Wed May 02 2012 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-3
|
|
|
5c5d69b |
- rebuild (exiv2)
|
|
|
5c5d69b |
|
|
|
b1a585d |
* Mon Jan 9 2012 Matěj Cepl <mcepl@redhat.com> 0.3.2-2
|
|
|
b1a585d |
- Applying upstream patch for 0.18.2 compatbility (#753322)
|
|
|
b1a585d |
|
|
|
bf021f6 |
* Fri Dec 23 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.2-1
|
|
|
bf021f6 |
- Update to 0.3.2 and rebuild for new boost, drop upstreamed patch
|
|
|
bf021f6 |
|
|
|
2635993 |
* Wed Dec 14 2011 Matěj Cepl <mcepl@redhat.com> 0.3.1-2
|
|
|
2635993 |
- Make the package building with exiv 0.18.2 on EL-6 (#753322)
|
|
|
2635993 |
|
|
|
f6d2c4e |
* Fri Nov 11 2011 'Matěj Cepl <mcepl@redhat.com>' - 0.3.1-1
|
|
|
f6d2c4e |
- Add pytz to the BuildRequires (so that more tests are run).
|
|
|
f5cd8a2 |
|
|
|
bbef198 |
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-6
|
|
|
bbef198 |
- rebuild (exiv2)
|
|
|
bbef198 |
|
|
|
3cbdf5b |
* Sat Jul 30 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-5
|
|
|
3cbdf5b |
- Rebuilt against new libraries.
|
|
|
3cbdf5b |
|
|
|
cd93b76 |
* Wed Apr 13 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-4
|
|
|
cd93b76 |
- Rebuilt for new boost.
|
|
|
cd93b76 |
|
|
|
e1f07d3 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
e1f07d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e1f07d3 |
|
|
|
cd583ce |
* Sun Feb 06 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.3.0-2
|
|
|
cd583ce |
- rebuild for new boost
|
|
|
cd583ce |
|
|
|
be24f32 |
* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-1
|
|
|
be24f32 |
- pyexiv2-0.3.0
|
|
|
be24f32 |
|
|
|
8dd8446 |
* Mon Oct 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-2
|
|
|
8dd8446 |
- Fixing unit tests.
|
|
|
8dd8446 |
|
|
|
3b521f3 |
* Wed Aug 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-1
|
|
|
3b521f3 |
- New upstream package, switch to 0.2.* version
|
|
|
3b521f3 |
|
|
|
4a7bc0a |
* Sat Aug 7 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-11
|
|
|
4a7bc0a |
- Rebuilt for new boost
|
|
|
4a7bc0a |
- Small cosmetic changes - whitespace cleanups
|
|
|
4a7bc0a |
|
|
|
f532c2e |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.3-10
|
|
|
f532c2e |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
f532c2e |
|
|
|
4a7bc0a |
* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-9
|
|
|
bb87f05 |
- rebuild (exiv2)
|
|
|
bb87f05 |
|
|
|
4a7bc0a |
* Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-8
|
|
|
bf13ed8 |
- rebuild (boost)
|
|
|
bf13ed8 |
|
|
|
b2f85ab |
* Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-7
|
|
|
b2f85ab |
- %%check: use unittests
|
|
|
b2f85ab |
|
|
|
f4833d6 |
* Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-6
|
|
|
f4833d6 |
- pyexiv2 FTBFS against exiv2-0.19 (#552281)
|
|
|
f4833d6 |
|
|
|
5725dd3 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
|
|
|
5725dd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5725dd3 |
|
|
|
d9117b7 |
* Mon Jun 08 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-4
|
|
|
d9117b7 |
-rebuild for new boot library
|
|
|
d9117b7 |
|
|
|
fe5226d |
* Thu Apr 23 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-3
|
|
|
fe5226d |
- executable library doesn't make sense
|
|
|
fe5226d |
|
|
|
a127a5e |
* Sat Apr 18 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-2
|
|
|
a127a5e |
- Rebuild after exiv2 was fixed.
|
|
|
a127a5e |
|
|
|
1358e3f |
* Thu Apr 16 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-1
|
|
|
1358e3f |
- New upstream release (closes bug 494419)
|
|
|
1358e3f |
|
|
|
b5e8b9b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-9.1.20090109bzr107
|
|
|
b5e8b9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b5e8b9b |
|
|
|
8f82e8b |
* Fri Jan 09 2009 Matej Cepl <mcepl@redhat.com> 0.1.2-8.1.20090109bzr107
|
|
|
d272c1c |
- New snapshot from upstream pyexiv2-0.2 branch in order to be compatible
|
|
|
d272c1c |
with the current package of exiv2.
|
|
|
d272c1c |
|
|
|
4a7bc0a |
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-6
|
|
|
49550c2 |
- respin (eviv2)
|
|
|
49550c2 |
|
|
|
f0a14b1 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.2-5
|
|
|
f0a14b1 |
- Rebuild for Python 2.6
|
|
|
f0a14b1 |
|
|
|
7bf7917 |
* Thu Sep 11 2008 Jesse Keating <jkeating@redhat.com> - 0.1.2-4
|
|
|
7bf7917 |
- Rebuild for deps
|
|
|
7bf7917 |
|
|
|
72468a8 |
* Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-3
|
|
|
72468a8 |
- Fix building system.
|
|
|
4a7bc0a |
- Approved for Fedora
|
|
|
72468a8 |
|
|
|
72468a8 |
* Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-2
|
|
|
72468a8 |
- Dan's patch to fix compilation flags.
|
|
|
72468a8 |
|
|
|
72468a8 |
* Thu Jul 17 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-1
|
|
|
7bf7917 |
- initial build
|