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