pyexiv2-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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: 3%{?_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. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-3
  45. - rebuild with libboost-1.54.0
  46. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.2-2
  47. - rebuild with exiv2-0.23
  48. * Tue Jun 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  49. - initial build for VineSeed
  50. * Mon Jan 9 2012 Matěj Cepl <mcepl@redhat.com> 0.3.2-2
  51. - Applying upstream patch for 0.18.2 compatbility (#753322)
  52. * Fri Dec 23 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.2-1
  53. - Update to 0.3.2 and rebuild for new boost, drop upstreamed patch
  54. * Wed Dec 14 2011 Matěj Cepl <mcepl@redhat.com> 0.3.1-2
  55. - Make the package building with exiv 0.18.2 on EL-6 (#753322)
  56. * Fri Nov 11 2011 'Matěj Cepl <mcepl@redhat.com>' - 0.3.1-1
  57. - Add pytz to the BuildRequires (so that more tests are run).
  58. * Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-6
  59. - rebuild (exiv2)
  60. * Sat Jul 30 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-5
  61. - Rebuilt against new libraries.
  62. * Wed Apr 13 2011 Matěj Cepl <mcepl@redhat.com> - 0.3.0-4
  63. - Rebuilt for new boost.
  64. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Sun Feb 06 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.3.0-2
  67. - rebuild for new boost
  68. * Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.3.0-1
  69. - pyexiv2-0.3.0
  70. * Mon Oct 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-2
  71. - Fixing unit tests.
  72. * Wed Aug 25 2010 Matěj Cepl <mcepl@redhat.com> - 0.2.2-1
  73. - New upstream package, switch to 0.2.* version
  74. * Sat Aug 7 2010 Peter Lemenkov <lemenkov@gmail.com> - 0.1.3-11
  75. - Rebuilt for new boost
  76. - Small cosmetic changes - whitespace cleanups
  77. * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.3-10
  78. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  79. * Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-9
  80. - rebuild (exiv2)
  81. * Sat Jan 16 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-8
  82. - rebuild (boost)
  83. * Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-7
  84. - %%check: use unittests
  85. * Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.3-6
  86. - pyexiv2 FTBFS against exiv2-0.19 (#552281)
  87. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-5
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  89. * Mon Jun 08 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-4
  90. -rebuild for new boot library
  91. * Thu Apr 23 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-3
  92. - executable library doesn't make sense
  93. * Sat Apr 18 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-2
  94. - Rebuild after exiv2 was fixed.
  95. * Thu Apr 16 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.3-1
  96. - New upstream release (closes bug 494419)
  97. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-9.1.20090109bzr107
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  99. * Fri Jan 09 2009 Matej Cepl <mcepl@redhat.com> 0.1.2-8.1.20090109bzr107
  100. - New snapshot from upstream pyexiv2-0.2 branch in order to be compatible
  101. with the current package of exiv2.
  102. * Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-6
  103. - respin (eviv2)
  104. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.2-5
  105. - Rebuild for Python 2.6
  106. * Thu Sep 11 2008 Jesse Keating <jkeating@redhat.com> - 0.1.2-4
  107. - Rebuild for deps
  108. * Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-3
  109. - Fix building system.
  110. - Approved for Fedora
  111. * Fri Jul 18 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-2
  112. - Dan's patch to fix compilation flags.
  113. * Thu Jul 17 2008 Matěj Cepl <mcepl@redhat.com> 0.1.2-1
  114. - initial build