exiv2/exiv2.spec

224 lines
5.9 KiB
RPMSpec
Raw Normal View History

2006-05-18 17:31:35 +00:00
Summary: Exif and Iptc metadata manipulation library
Name: exiv2
2011-02-26 20:15:47 +00:00
Version: 0.21.1
Release: 1%{?dist}
2007-08-11 23:50:00 +00:00
License: GPLv2+
Group: Applications/Multimedia
2006-06-03 10:55:16 +00:00
URL: http://www.exiv2.org/
2007-11-13 16:57:58 +00:00
Source0: http://www.exiv2.org/exiv2-%{version}%{?pre:-%{pre}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-11-13 16:57:58 +00:00
BuildRequires: chrpath
BuildRequires: expat-devel
2007-04-25 12:14:26 +00:00
BuildRequires: gettext
2008-12-12 21:00:32 +00:00
BuildRequires: pkgconfig
2007-11-13 16:57:58 +00:00
BuildRequires: zlib-devel
2007-04-25 12:14:26 +00:00
# docs
2007-11-13 16:57:58 +00:00
#BuildRequires: doxygen graphviz libxslt
2006-09-19 19:21:34 +00:00
2010-01-04 15:19:44 +00:00
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
2007-11-26 18:13:01 +00:00
%description
A command line utility to access image metadata, allowing one to:
* 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
2010-01-04 15:19:44 +00:00
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
2006-06-03 10:55:16 +00:00
Requires: pkgconfig
%description devel
%{summary}.
%package libs
Summary: Exif and Iptc metadata manipulation library
Group: System Environment/Libraries
%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.
%prep
2007-11-13 16:57:58 +00:00
%setup -q -n %{name}-%{version}%{?pre:-%{pre}}
2007-04-25 12:14:26 +00:00
mkdir doc/html
%build
2007-11-13 16:57:58 +00:00
%configure \
--disable-rpath \
--disable-static
2007-04-25 12:14:26 +00:00
make %{?_smp_mflags}
%install
2007-11-13 16:57:58 +00:00
rm -rf %{buildroot}
2007-11-13 16:57:58 +00:00
make install DESTDIR=%{buildroot}
2007-04-25 12:14:26 +00:00
%find_lang exiv2
2010-05-31 11:06:36 +00:00
## Unpackaged files
2011-01-01 19:45:44 +00:00
rm -fv %{buildroot}%{_libdir}/libexiv2.la
2010-05-31 11:06:36 +00:00
## fix perms on installed lib
2011-02-26 20:15:47 +00:00
ls -l %{buildroot}%{_libdir}/libexiv2.so.*
2011-01-01 19:45:44 +00:00
chmod 755 %{buildroot}%{_libdir}/libexiv2.so.*
2006-06-03 10:55:16 +00:00
2010-05-31 11:06:36 +00:00
## nuke rpaths
chrpath --list %{buildroot}%{_bindir}/exiv2 && \
2007-11-13 16:57:58 +00:00
chrpath --delete %{buildroot}%{_bindir}/exiv2
2007-11-26 18:13:01 +00:00
2010-05-31 11:06:36 +00:00
%check
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
test "$(pkg-config --modversion exiv2)" = "%{version}"
%clean
2007-11-13 16:57:58 +00:00
rm -rf %{buildroot}
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
2010-01-04 15:19:44 +00:00
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/exiv2
%{_mandir}/man1/*
%files libs -f exiv2.lang
%defattr(-,root,root,-)
2011-01-01 19:45:44 +00:00
%{_libdir}/libexiv2.so.10*
%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
%changelog
2011-02-26 20:15:47 +00:00
* Sat Feb 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-1
- exiv2-0.21.1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21-2
- Move ldconfig scriptlet calls to -libs (#672361)
2011-01-01 19:45:44 +00:00
* Wed Dec 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.21-1
- exiv2-0.21
2010-05-31 11:06:36 +00:00
* Sun May 30 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.20-1
- exiv2-0.20
2010-01-04 15:19:44 +00:00
* Wed Dec 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.19-1
- exiv2-0.19 (#552275)
* Sun Dec 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-3
- -libs unconditional
- tighten deps using %%?_isa
* Fri Aug 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
- (again) drop -fvisibility-inlines-hidden (#496050)
2009-07-24 20:21:40 +00:00
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-1
- exiv2-0.18.2
- drop visibility patch
* Fri Apr 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.1-1
- exiv2-0.18.1
- drop -fvisibility-inlines-hidden (#496050)
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-12-18 18:30:50 +00:00
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.18-1
- exiv2-0.18
2008-12-12 21:00:32 +00:00
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.2-2
- rebuild for pkgconfig deps
2008-06-25 13:07:45 +00:00
* Mon Jun 23 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.1-1
- exiv2-0.17.1
2008-02-11 13:18:18 +00:00
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
- respin (gcc43)
2008-02-11 14:19:11 +00:00
- gcc43 patch
2008-02-11 13:18:18 +00:00
2008-01-13 21:28:39 +00:00
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
- eviv2-0.16
2007-12-17 16:44:26 +00:00
* Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.3.pre1
2007-12-17 17:03:23 +00:00
- CVE-2007-6353 (#425924)
2007-12-17 16:44:26 +00:00
2007-11-26 18:13:01 +00:00
* Mon Nov 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.2.pre1
- -libs subpkg toggle (f8+)
2007-11-13 16:57:58 +00:00
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.1.pre1
- exiv2-0.16-pre1
2007-09-18 14:38:31 +00:00
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
- -libs: -Requires: %%name
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
2007-11-26 18:13:01 +00:00
- -libs subpkg to be multilib-friendlier (f8+)
* 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
* 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