2006-05-18 17:23:18 +00:00
|
|
|
|
2006-05-18 17:31:35 +00:00
|
|
|
Summary: Exif and Iptc metadata manipulation library
|
2006-05-18 17:23:18 +00:00
|
|
|
Name: exiv2
|
2007-07-12 15:02:46 +00:00
|
|
|
Version: 0.15
|
2007-09-18 14:38:31 +00:00
|
|
|
Release: 4%{?dist}
|
2006-05-18 17:23:18 +00:00
|
|
|
|
2007-08-11 23:50:00 +00:00
|
|
|
License: GPLv2+
|
2006-05-18 17:23:18 +00:00
|
|
|
Group: Applications/Multimedia
|
2006-06-03 10:55:16 +00:00
|
|
|
URL: http://www.exiv2.org/
|
2006-09-19 19:06:40 +00:00
|
|
|
Source0: http://www.exiv2.org/exiv2-%{version}.tar.gz
|
2006-05-18 17:23:18 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2006-09-19 19:21:34 +00:00
|
|
|
BuildRequires: zlib-devel
|
2007-04-25 12:14:26 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
# docs
|
|
|
|
BuildRequires: doxygen graphviz libxslt
|
2006-09-19 19:21:34 +00:00
|
|
|
|
2006-09-19 19:06:40 +00:00
|
|
|
Patch1: exiv2-0.11-no_rpath.patch
|
2006-05-18 17:23:18 +00:00
|
|
|
Patch2: exiv2-0.9.1-deps.patch
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
%description
|
2007-08-22 15:09:56 +00:00
|
|
|
A command line utility to access image metadata, allowing one to:
|
2006-05-18 17:23:18 +00:00
|
|
|
* print the Exif metadata of Jpeg images as summary info, interpreted values,
|
|
|
|
or the plain data for each tag
|
|
|
|
* print the Iptc metadata of Jpeg images
|
|
|
|
* print the Jpeg comment of Jpeg images
|
|
|
|
* set, add and delete Exif and Iptc metadata of Jpeg images
|
|
|
|
* adjust the Exif timestamp (that's how it all started...)
|
|
|
|
* rename Exif image files according to the Exif timestamp
|
|
|
|
* extract, insert and delete Exif metadata (including thumbnails),
|
|
|
|
Iptc metadata and Jpeg comments
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files, libraries and development documentation for %{name}
|
|
|
|
Group: Development/Libraries
|
2007-08-22 15:09:56 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2006-06-03 10:55:16 +00:00
|
|
|
Requires: pkgconfig
|
2006-05-18 17:23:18 +00:00
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Exif and Iptc metadata manipulation library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
# not *strictly* required, but runtime may expect presence of exiv2 binary
|
2007-09-18 14:38:31 +00:00
|
|
|
# we'll try removing it, and see... -- Rex
|
|
|
|
#Requires: %{name} = %{version}-%{release}
|
2007-08-22 15:09:56 +00:00
|
|
|
%description libs
|
|
|
|
A C++ library to access image metadata, supporting full read and write access
|
|
|
|
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete
|
|
|
|
methods for Exif thumbnails, classes to access Ifd and so on.
|
|
|
|
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch1 -p1 -b .no_rpath
|
|
|
|
%patch2 -p1 -b .deps
|
|
|
|
|
2007-04-25 12:14:26 +00:00
|
|
|
mkdir doc/html
|
|
|
|
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
|
2007-04-25 12:14:26 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-04-25 12:14:26 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%find_lang exiv2
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
# Unpackaged files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
# fix perms on installed lib
|
|
|
|
chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
|
2006-06-03 10:55:16 +00:00
|
|
|
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $FPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
%files
|
2006-05-18 17:23:18 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README
|
|
|
|
%{_bindir}/exiv2
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
%files libs -f exiv2.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libexiv2.so.*
|
|
|
|
|
2006-05-18 17:23:18 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/html
|
|
|
|
%{_includedir}/exiv2/
|
|
|
|
%{_libdir}/libexiv2.so
|
2006-06-03 10:55:16 +00:00
|
|
|
%{_libdir}/pkgconfig/exiv2.pc
|
2006-05-18 17:23:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2007-09-18 14:38:31 +00:00
|
|
|
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
|
|
|
|
- -libs: -Requires: %%name
|
|
|
|
|
2007-08-22 15:09:56 +00:00
|
|
|
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
|
|
|
|
- -libs subpkg to be multilib-friendlier
|
|
|
|
|
|
|
|
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
|
2007-08-11 23:50:00 +00:00
|
|
|
- License: GPLv2+
|
|
|
|
|
2007-07-12 15:02:46 +00:00
|
|
|
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
|
|
|
|
- exiv2-0.15
|
|
|
|
|
2007-04-25 12:14:26 +00:00
|
|
|
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
|
|
|
|
- exiv2-0.14
|
|
|
|
|
2006-11-28 13:43:17 +00:00
|
|
|
* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
|
|
|
|
- exiv2-0.12
|
|
|
|
|
2006-10-04 19:19:25 +00:00
|
|
|
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-3
|
|
|
|
- respin
|
|
|
|
|
2006-09-19 19:21:34 +00:00
|
|
|
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-2
|
|
|
|
- BR: zlib-devel
|
|
|
|
|
2006-09-19 19:06:40 +00:00
|
|
|
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-1
|
2006-11-28 13:43:17 +00:00
|
|
|
- exiv2-0.11
|
2006-09-19 19:06:40 +00:00
|
|
|
|
2006-08-29 19:01:37 +00:00
|
|
|
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-2
|
|
|
|
- fc6 respin
|
|
|
|
|
2006-06-03 10:55:16 +00:00
|
|
|
* Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-1
|
|
|
|
- 0.10
|
|
|
|
|
2006-05-18 17:23:18 +00:00
|
|
|
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
|
|
|
|
- cleanup %%description
|
|
|
|
- set eXecute bit on installed lib.
|
|
|
|
- no_rpath patch
|
|
|
|
- deps patch (items get (re)compiled on *every* call to 'make')
|
|
|
|
|
|
|
|
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
|
|
|
|
- %%post/%%postun: /sbin/ldconfig
|
|
|
|
|
|
|
|
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
|
|
|
|
- first try
|