pyexiv2-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Name: pyexiv2
  3. Version: 0.3.2
  4. Release: 6%{?_dist_release}
  5. Summary: Python binding to exiv2
  6. Summary(ja): exiv2 の Python バインディング
  7. Group: Development/Languages
  8. License: GPLv2+
  9. URL: http://tilloy.net/dev/pyexiv2/
  10. Source0: http://launchpad.net/pyexiv2/0.3.x/%{version}/+download/pyexiv2-%{version}.tar.bz2
  11. Patch0: http://tilloy.net/dev/pyexiv2-0.3.2-exiv2-0.18.2.patch
  12. BuildRequires: exiv2-devel
  13. BuildRequires: libboost-devel
  14. BuildRequires: libboost-python
  15. BuildRequires: python-devel
  16. BuildRequires: pytz
  17. BuildRequires: scons
  18. %description
  19. pyexiv2 is a python binding to exiv2, the C++ library for manipulation
  20. of EXIF and IPTC image metadata. It is a python module that allows your
  21. python scripts to read and write metadata (EXIF, IPTC, thumbnail)
  22. embedded in image files (JPEG, TIFF, ...).
  23. %prep
  24. %setup -q
  25. %patch0 -p0 -b .exiv2-0182
  26. %build
  27. export CXXFLAGS="%{optflags}"
  28. export LDFLAGS="%{optflags}"
  29. scons
  30. %install
  31. #%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  32. export CXXFLAGS="%{optflags}"
  33. export LDFLAGS="%{optflags}"
  34. scons DESTDIR=$RPM_BUILD_ROOT install
  35. %check
  36. pushd test
  37. PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} ./TestsRunner.py
  38. popd
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc README COPYING NEWS doc/
  42. %{python_sitearch}/*
  43. %changelog
  44. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.3.2-6
  45. - rebuild with gcc-5.4.0
  46. * Tue Nov 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-5
  47. - rebuild with exiv2-0.25
  48. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-4
  49. - rebuild with exiv2-0.24
  50. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-3
  51. - rebuild with libboost-1.54.0
  52. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-2
  53. - rebuild with exiv2-0.23
  54. * Tue Jun 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  55. - initial build for VineSeed
  56. * Mon Jan 9 2012 Matěj Cepl <mcepl@redhat.com> 0.3.2-2
  57. - Applying upstream patch for 0.18.2 compatbility (#753322)
  58. * Fri Dec 23 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.2-1
  59. - Update to 0.3.2 and rebuild for new boost, drop upstreamed patch
  60. * Wed Dec 14 2011 Matěj Cepl <mcepl@redhat.com> 0.3.1-2
  61. - Make the package building with exiv 0.18.2 on EL-6 (#753322)
  62. * Fri Nov 11 2011 'Matěj Cepl <mcepl@redhat.com>' - 0.3.1-1
  63. - Add pytz to the BuildRequires (so that more tests are run).
  64. * Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-6
  65. - rebuild (exiv2)
  66. * Sat Jul 30 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-5
  67. - Rebuilt against new libraries.
  68. * Wed Apr 13 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-4
  69. - Rebuilt for new boost.
  70. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Sun Feb 06 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.3.0-2
  73. - rebuild for new boost
  74. * Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-1
  75. - pyexiv2-0.3.0
  76. * Mon Oct 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-2
  77. - Fixing unit tests.
  78. * Wed Aug 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-1
  79. - New upstream package, switch to 0.2.* version
  80. * Sat Aug 7 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-11
  81. - Rebuilt for new boost
  82. - Small cosmetic changes - whitespace cleanups
  83. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.3-10
  84. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  85. * Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-9
  86. - rebuild (exiv2)
  87. * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-8
  88. - rebuild (boost)
  89. * Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-7
  90. - %%check: use unittests
  91. * Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-6
  92. - pyexiv2 FTBFS against exiv2-0.19 (#552281)
  93. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  95. * Mon Jun 08 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-4
  96. -rebuild for new boot library
  97. * Thu Apr 23 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-3
  98. - executable library doesn't make sense
  99. * Sat Apr 18 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-2
  100. - Rebuild after exiv2 was fixed.
  101. * Thu Apr 16 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-1
  102. - New upstream release (closes bug 494419)
  103. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-9.1.20090109bzr107
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  105. * Fri Jan 09 2009 Matej Cepl <mcepl@redhat.com> 0.1.2-8.1.20090109bzr107
  106. - New snapshot from upstream pyexiv2-0.2 branch in order to be compatible
  107. with the current package of exiv2.
  108. * Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-6
  109. - respin (eviv2)
  110. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.2-5
  111. - Rebuild for Python 2.6
  112. * Thu Sep 11 2008 Jesse Keating <jkeating@redhat.com> - 0.1.2-4
  113. - Rebuild for deps
  114. * Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-3
  115. - Fix building system.
  116. - Approved for Fedora
  117. * Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-2
  118. - Dan's patch to fix compilation flags.
  119. * Thu Jul 17 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-1
  120. - initial build