0af968
0af968
Summary: Exif and Iptc metadata manipulation library
0af968
Name:	 exiv2
0af968
Version: 0.23
0af968
Release: 4%{?dist}
0af968
0af968
License: GPLv2+
0af968
Group:	 Applications/Multimedia
0af968
URL: 	 http://www.exiv2.org/
0af968
Source0: http://www.exiv2.org/exiv2-%{version}%{?pre:-%{pre}}.tar.gz
0af968
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0af968
0af968
## upstream patches
0af968
0af968
BuildRequires: expat-devel
0af968
BuildRequires: gettext
0af968
BuildRequires: pkgconfig
0af968
BuildRequires: zlib-devel
0af968
# docs
0af968
BuildRequires: doxygen graphviz libxslt
0af968
0af968
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
0af968
0af968
0af968
%description
0af968
A command line utility to access image metadata, allowing one to:
0af968
* print the Exif metadata of Jpeg images as summary info, interpreted values,
0af968
  or the plain data for each tag
0af968
* print the Iptc metadata of Jpeg images
0af968
* print the Jpeg comment of Jpeg images
0af968
* set, add and delete Exif and Iptc metadata of Jpeg images
0af968
* adjust the Exif timestamp (that's how it all started...)
0af968
* rename Exif image files according to the Exif timestamp
0af968
* extract, insert and delete Exif metadata (including thumbnails),
0af968
  Iptc metadata and Jpeg comments
0af968
0af968
%package devel
0af968
Summary: Header files, libraries and development documentation for %{name}
0af968
Group:	 Development/Libraries
0af968
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
0af968
Requires: pkgconfig
0af968
%description devel
0af968
%{summary}.
0af968
0af968
%package libs
0af968
Summary: Exif and Iptc metadata manipulation library
0af968
Group: System Environment/Libraries
0af968
%description libs
0af968
A C++ library to access image metadata, supporting full read and write access
0af968
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete 
0af968
methods for Exif thumbnails, classes to access Ifd and so on.
0af968
0af968
0af968
%prep
0af968
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
0af968
0af968
0af968
%build
0af968
%configure \
0af968
  --disable-rpath \
0af968
  --disable-static 
0af968
0af968
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
0af968
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
0af968
0af968
make %{?_smp_mflags} 
0af968
0af968
make doc
0af968
0af968
%install
0af968
rm -rf %{buildroot} 
0af968
0af968
make install DESTDIR=%{buildroot}
0af968
0af968
%find_lang exiv2
0af968
0af968
## Unpackaged files
0af968
rm -fv %{buildroot}%{_libdir}/libexiv2.la
0af968
0af968
## fix perms on installed lib
0af968
ls -l     %{buildroot}%{_libdir}/libexiv2.so.*
0af968
chmod 755 %{buildroot}%{_libdir}/libexiv2.so.*
0af968
0af968
0af968
%check
0af968
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
0af968
test "$(pkg-config --modversion exiv2)" = "%{version}"
0af968
test -x %{buildroot}%{_libdir}/libexiv2.so
0af968
0af968
0af968
%clean
0af968
rm -rf %{buildroot} 
0af968
0af968
0af968
%files 
0af968
%defattr(-,root,root,-)
0af968
%doc COPYING README
0af968
%{_bindir}/exiv2
0af968
%{_mandir}/man1/*
0af968
0af968
%post libs -p /sbin/ldconfig
0af968
%postun libs -p /sbin/ldconfig
0af968
0af968
%files libs -f exiv2.lang
0af968
%defattr(-,root,root,-)
0af968
%{_libdir}/libexiv2.so.12*
0af968
0af968
%files devel
0af968
%defattr(-,root,root,-)
0af968
# last checked, this came in at ~39mb, consider some noarch -doc subpkg -- rex
0af968
%doc doc/html
0af968
%{_includedir}/exiv2/
0af968
%{_libdir}/libexiv2.so
0af968
%{_libdir}/pkgconfig/exiv2.pc
0af968
0af968
0af968
%changelog
0af968
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
0af968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0af968
0af968
* Tue Aug 14 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-3
0af968
- empty html doc dir (#848025)
0af968
0af968
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
0af968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0af968
0af968
* Tue Apr 24 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-1
0af968
- exiv2-0.23
0af968
- abi bump
0af968
0af968
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-5
0af968
- Rebuilt for c++ ABI breakage
0af968
0af968
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-4
0af968
- better rpath handling
0af968
- revert locale change, move back to -libs
0af968
0af968
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-3
0af968
- move locale files to main pkg (from -libs)
0af968
0af968
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
0af968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0af968
0af968
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> 0.22-1
0af968
- exiv2-0.22
0af968
0af968
* Tue Sep 27 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-3
0af968
- New Tamron 70-300 mm lens improperly recognized (#708403)
0af968
0af968
* Mon Sep 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-2
0af968
- gthumb crashes because of bug in exiv2 0.21.1 (#741429)
0af968
0af968
* Sat Feb 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-1
0af968
- exiv2-0.21.1
0af968
0af968
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
0af968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0af968
0af968
* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21-2
0af968
- Move ldconfig scriptlet calls to -libs (#672361)
0af968
0af968
* Wed Dec 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.21-1
0af968
- exiv2-0.21
0af968
0af968
* Sun May 30 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.20-1
0af968
- exiv2-0.20
0af968
0af968
* Wed Dec 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.19-1
0af968
- exiv2-0.19 (#552275)
0af968
0af968
* Sun Dec 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-3
0af968
- -libs unconditional
0af968
- tighten deps using %%?_isa
0af968
0af968
* Fri Aug 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
0af968
- (again) drop -fvisibility-inlines-hidden (#496050)
0af968
0af968
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-1
0af968
- exiv2-0.18.2
0af968
- drop visibility patch
0af968
0af968
* Fri Apr 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.1-1
0af968
- exiv2-0.18.1
0af968
- drop -fvisibility-inlines-hidden (#496050)
0af968
0af968
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
0af968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0af968
0af968
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.18-1
0af968
- exiv2-0.18
0af968
0af968
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.2-2
0af968
- rebuild for pkgconfig deps
0af968
0af968
* Mon Jun 23 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.1-1
0af968
- exiv2-0.17.1
0af968
0af968
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
0af968
- respin (gcc43)
0af968
- gcc43 patch
0af968
0af968
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
0af968
- eviv2-0.16
0af968
0af968
* Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.3.pre1
0af968
- CVE-2007-6353 (#425924)
0af968
0af968
* Mon Nov 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.2.pre1
0af968
- -libs subpkg toggle (f8+)
0af968
0af968
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.1.pre1
0af968
- exiv2-0.16-pre1
0af968
0af968
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
0af968
- -libs: -Requires: %%name
0af968
0af968
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
0af968
- -libs subpkg to be multilib-friendlier (f8+)
0af968
0af968
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
0af968
- License: GPLv2+
0af968
0af968
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
0af968
- exiv2-0.15
0af968
0af968
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
0af968
- exiv2-0.14
0af968
0af968
* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
0af968
- exiv2-0.12
0af968
0af968
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-3
0af968
- respin
0af968
0af968
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-2
0af968
- BR: zlib-devel
0af968
0af968
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-1
0af968
- exiv2-0.11
0af968
0af968
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-2
0af968
- fc6 respin
0af968
0af968
* Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-1
0af968
- 0.10
0af968
0af968
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
0af968
- cleanup %%description
0af968
- set eXecute bit on installed lib.
0af968
- no_rpath patch
0af968
- deps patch (items get (re)compiled on *every* call to 'make')
0af968
0af968
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
0af968
- %%post/%%postun: /sbin/ldconfig
0af968
0af968
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
0af968
- first try