7852339
bff6f24
Summary: Exif and Iptc metadata manipulation library
7852339
Name:	 exiv2
63c47b6
Version: 0.22
86ab1fa
Release: 2%{?dist}
7852339
4719126
License: GPLv2+
7852339
Group:	 Applications/Multimedia
a108d9b
URL: 	 http://www.exiv2.org/
475e5cf
Source0: http://www.exiv2.org/exiv2-%{version}%{?pre:-%{pre}}.tar.gz
7852339
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7852339
adbe03c
## upstream patches
adbe03c
475e5cf
BuildRequires: chrpath
475e5cf
BuildRequires: expat-devel
850824a
BuildRequires: gettext
e4d8944
BuildRequires: pkgconfig
475e5cf
BuildRequires: zlib-devel
850824a
# docs
475e5cf
#BuildRequires: doxygen graphviz libxslt
cfa1197
59ed217
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
18a2ffa
7852339
7852339
%description
aa53ba6
A command line utility to access image metadata, allowing one to:
7852339
* print the Exif metadata of Jpeg images as summary info, interpreted values,
7852339
  or the plain data for each tag
7852339
* print the Iptc metadata of Jpeg images
7852339
* print the Jpeg comment of Jpeg images
7852339
* set, add and delete Exif and Iptc metadata of Jpeg images
7852339
* adjust the Exif timestamp (that's how it all started...)
7852339
* rename Exif image files according to the Exif timestamp
7852339
* extract, insert and delete Exif metadata (including thumbnails),
7852339
  Iptc metadata and Jpeg comments
7852339
7852339
%package devel
7852339
Summary: Header files, libraries and development documentation for %{name}
7852339
Group:	 Development/Libraries
59ed217
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
a108d9b
Requires: pkgconfig
7852339
%description devel
7852339
%{summary}.
7852339
aa53ba6
%package libs
aa53ba6
Summary: Exif and Iptc metadata manipulation library
aa53ba6
Group: System Environment/Libraries
aa53ba6
%description libs
aa53ba6
A C++ library to access image metadata, supporting full read and write access
aa53ba6
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete 
aa53ba6
methods for Exif thumbnails, classes to access Ifd and so on.
aa53ba6
7852339
7852339
%prep
475e5cf
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
7852339
850824a
mkdir doc/html
850824a
7852339
7852339
%build
475e5cf
%configure \
475e5cf
  --disable-rpath \
fd67180
  --disable-static 
7852339
850824a
make %{?_smp_mflags} 
7852339
7852339
7852339
%install
475e5cf
rm -rf %{buildroot} 
7852339
475e5cf
make install DESTDIR=%{buildroot}
850824a
850824a
%find_lang exiv2
7852339
a763e9a
## Unpackaged files
f785d91
rm -fv %{buildroot}%{_libdir}/libexiv2.la
7852339
a763e9a
## fix perms on installed lib
f77490f
ls -l     %{buildroot}%{_libdir}/libexiv2.so.*
f785d91
chmod 755 %{buildroot}%{_libdir}/libexiv2.so.*
a108d9b
a763e9a
## nuke rpaths
a763e9a
chrpath --list   %{buildroot}%{_bindir}/exiv2 && \
475e5cf
chrpath --delete %{buildroot}%{_bindir}/exiv2
7852339
18a2ffa
a763e9a
%check
a763e9a
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
a763e9a
test "$(pkg-config --modversion exiv2)" = "%{version}"
a763e9a
a763e9a
7852339
%clean
475e5cf
rm -rf %{buildroot} 
7852339
7852339
59ed217
%files
7852339
%defattr(-,root,root,-)
7852339
%doc COPYING README
7852339
%{_bindir}/exiv2
7852339
%{_mandir}/man1/*
7852339
63c47b6
%post libs -p /sbin/ldconfig
63c47b6
%postun libs -p /sbin/ldconfig
63c47b6
aa53ba6
%files libs -f exiv2.lang
aa53ba6
%defattr(-,root,root,-)
63c47b6
%{_libdir}/libexiv2.so.11*
aa53ba6
7852339
%files devel
7852339
%defattr(-,root,root,-)
7852339
%doc doc/html
7852339
%{_includedir}/exiv2/
7852339
%{_libdir}/libexiv2.so
a108d9b
%{_libdir}/pkgconfig/exiv2.pc
7852339
7852339
7852339
%changelog
86ab1fa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
86ab1fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
86ab1fa
63c47b6
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> 0.22-1
63c47b6
- exiv2-0.22
63c47b6
0076c9a
* Tue Sep 27 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-3
0076c9a
- New Tamron 70-300 mm lens improperly recognized (#708403)
0076c9a
adbe03c
* Mon Sep 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-2
adbe03c
- gthumb crashes because of bug in exiv2 0.21.1 (#741429)
adbe03c
f77490f
* Sat Feb 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-1
f77490f
- exiv2-0.21.1
f77490f
2fad7fb
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
2fad7fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2fad7fb
edba2da
* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21-2
edba2da
- Move ldconfig scriptlet calls to -libs (#672361)
edba2da
f785d91
* Wed Dec 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.21-1
f785d91
- exiv2-0.21
f785d91
a763e9a
* Sun May 30 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.20-1
a763e9a
- exiv2-0.20
a763e9a
59ed217
* Wed Dec 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.19-1
59ed217
- exiv2-0.19 (#552275)
59ed217
59ed217
* Sun Dec 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-3
59ed217
- -libs unconditional
59ed217
- tighten deps using %%?_isa
59ed217
3e52258
* Fri Aug 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
3e52258
- (again) drop -fvisibility-inlines-hidden (#496050)
3e52258
d68bcf0
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-1
d68bcf0
- exiv2-0.18.2
d68bcf0
- drop visibility patch
d68bcf0
fd67180
* Fri Apr 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.1-1
fd67180
- exiv2-0.18.1
fd67180
- drop -fvisibility-inlines-hidden (#496050)
fd67180
3aab9d4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
3aab9d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3aab9d4
3187b11
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.18-1
3187b11
- exiv2-0.18
3187b11
e4d8944
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.2-2
e4d8944
- rebuild for pkgconfig deps
e4d8944
9dd907b
* Mon Jun 23 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.1-1
9dd907b
- exiv2-0.17.1
9dd907b
0b9ac3c
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
0b9ac3c
- respin (gcc43)
c4b34d3
- gcc43 patch
0b9ac3c
ad15fd2
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
ad15fd2
- eviv2-0.16
ad15fd2
8847c70
* Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.3.pre1
f7aa4b8
- CVE-2007-6353 (#425924)
8847c70
18a2ffa
* Mon Nov 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.2.pre1
18a2ffa
- -libs subpkg toggle (f8+)
18a2ffa
475e5cf
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.1.pre1
475e5cf
- exiv2-0.16-pre1
475e5cf
ef42e7f
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
ef42e7f
- -libs: -Requires: %%name
ef42e7f
aa53ba6
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
18a2ffa
- -libs subpkg to be multilib-friendlier (f8+)
aa53ba6
aa53ba6
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
4719126
- License: GPLv2+
4719126
0138398
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
0138398
- exiv2-0.15
0138398
850824a
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
850824a
- exiv2-0.14
850824a
7627651
* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
7627651
- exiv2-0.12
7627651
3827851
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-3
3827851
- respin
3827851
cfa1197
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-2
cfa1197
- BR: zlib-devel
cfa1197
cff6204
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-1
7627651
- exiv2-0.11
cff6204
d7dd163
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-2
d7dd163
- fc6 respin
d7dd163
a108d9b
* Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-1
a108d9b
- 0.10
a108d9b
7852339
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
7852339
- cleanup %%description
7852339
- set eXecute bit on installed lib.
7852339
- no_rpath patch
7852339
- deps patch (items get (re)compiled on *every* call to 'make')
7852339
7852339
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
7852339
- %%post/%%postun: /sbin/ldconfig
7852339
7852339
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
7852339
- first try