libexif/libexif.spec

166 lines
4.6 KiB
RPMSpec
Raw Normal View History

Summary: Library for extracting extra information from image files
Name: libexif
2008-02-06 02:13:19 +00:00
Version: 0.6.16
Release: 2%{?dist}
Group: System Environment/Libraries
2007-08-08 03:50:46 +00:00
License: LGPLv2+
URL: http://libexif.sourceforge.net/
2007-02-05 01:52:31 +00:00
Source0: libexif-%{version}.tar.bz2
2007-02-05 03:15:57 +00:00
Source1: libexif-docs.tar.gz
2007-12-16 04:03:49 +00:00
Patch1: cve-2007-6351.patch
Patch2: cve-2007-6352.patch
2008-02-06 02:13:19 +00:00
Patch3: olympus-byte-order.patch
2007-02-05 01:48:33 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen, pkgconfig
%description
Most digital cameras produce EXIF files, which are JPEG files with
extra tags that contain information about the image. The EXIF library
allows you to parse an EXIF file and read the data from those tags.
%package devel
Summary: Files needed for libexif application development
Group: Development/Libraries
2007-02-05 01:48:33 +00:00
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
2007-02-05 01:48:33 +00:00
The libexif-devel package contains the libraries and header files
for writing programs that use libexif.
%prep
%setup -q
2007-12-16 04:03:49 +00:00
%patch1 -p1 -b .cve-2007-6351
%patch2 -p1 -b .cve-2007-6352
2008-02-06 02:13:19 +00:00
%patch3 -p1 -b .olympus-byte-order
2007-12-16 04:03:49 +00:00
2007-02-05 03:15:57 +00:00
# to avoid multilib conflicts, we toss in pre-generated docs
# and neuter make all in the docs dir
tar xzf %{SOURCE1}
%build
2007-02-05 03:15:57 +00:00
%configure --disable-static --disable-docs
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
2007-02-05 01:48:33 +00:00
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
2007-02-05 01:48:33 +00:00
2007-02-05 03:02:46 +00:00
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libexif
cp -R doc/doxygen-output/libexif-api.html .
2006-05-24 03:26:27 +00:00
2008-02-05 17:59:32 +00:00
iconv -f latin1 -t utf-8 < COPYING > COPYING.utf8; cp COPYING.utf8 COPYING
iconv -f latin1 -t utf-8 < README > README.utf8; cp README.utf8 README
2005-03-29 03:03:04 +00:00
%find_lang libexif-12
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2005-03-29 03:03:04 +00:00
%files -f libexif-12.lang
%defattr(-,root,root,-)
2008-02-05 17:59:32 +00:00
%doc COPYING README NEWS
%{_libdir}/libexif.so.*
%files devel
%defattr(-,root,root,-)
2007-02-05 03:02:46 +00:00
%doc libexif-api.html
%{_includedir}/libexif
%{_libdir}/*.so
%{_libdir}/pkgconfig/libexif.pc
%changelog
* Thu Dec 11 2008 Caolán McNamara <caolanm@redhat.com> - 0.6.16-2
- rebuild to get a pkgconfig(libexif) provides
2008-02-06 02:13:19 +00:00
* Tue Feb 5 2008 Matthias Clasen <mclasen@redhat.com> - 0.6.16-1
- Update to 0.6.16
- Drop obsolete patch
2008-02-05 17:59:32 +00:00
* Tue Feb 5 2008 Matthias Clasen <mclasen@redhat.com> - 0.6.15-6
- Convert doc files to utf-8 (#240838)
2007-12-16 04:03:49 +00:00
* Sat Dec 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-5
- Add patch for CVE-2007-6351. Fixes bug #425641
- Add patch for CVE-2007-6352. Fixes bug #425641
2007-08-29 04:57:53 +00:00
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.6.15-4
- Rebuild for selinux ppc32 issue.
2007-08-08 03:50:46 +00:00
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-3
- Update the license field
2007-06-13 16:12:43 +00:00
* Wed Jun 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-2
- Add patch for CVE-2007-4168. Fix bug #243892
2007-05-31 01:40:37 +00:00
* Wed May 30 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-1
- Update to 0.6.15
- Drop obsolete patch
2007-05-24 17:32:17 +00:00
* Thu May 24 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.13-4
- Add patch for CVE-2007-2645.
2007-02-05 01:48:33 +00:00
* Sun Feb 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
- Package review cleanups
2007-02-05 03:15:57 +00:00
- Avoid multilib conflicts by using pregenerated docs
2007-02-05 01:48:33 +00:00
2006-07-27 01:11:06 +00:00
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.13-2
- Rebuild
2006-07-12 06:49:07 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.13-1.1
- rebuild
2006-05-24 02:10:57 +00:00
* Tue May 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.13-1
- Update to 0.6.13
- Drop upstreamed patches
- Don't ship static libraries
2006-02-11 03:55:46 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.12-3.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 12:36:09 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.12-3.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:41:32 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-05-06 18:29:45 +00:00
* Fri May 6 2005 Matthias Clasen <mclasen@redhat.com>
- Prevent infinite recursion (#156365)
2005-04-25 02:49:04 +00:00
* Sun Apr 24 2005 Matthias Clasen <mclasen@redhat.com>
- Fix MakerNote handling (#153282)
2005-03-28 21:36:16 +00:00
* Mon Mar 28 2005 Matthias Clasen <mclasen@redhat.com>
- Update to 0.6.12
* Tue Mar 8 2005 Marco Pesenti Gritti <mpg@redhat.com>
- Add libexif-0.5.12-buffer-overflow.patch
2005-03-02 16:01:23 +00:00
* Wed Mar 2 2005 Matthias Clasen <mclasen@redhat.com>
- Rebuild with gcc4
* Wed Nov 9 2004 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Use %%find_lang macro.
- Add %%doc files, including mandatory copy of the LGPL license.
- Use %{?_smp_mflags}
- Improve the descriptions
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Dec 22 2003 Matt Wilson <msw@redhat.com>
- Initial build.