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