6392af
Summary:	Library for extracting extra information from image files
6392af
Name:		libexif
00b59c
Version:	0.6.22
7ef8d3
Release:	5%{?dist}
6392af
Group:		System Environment/Libraries
6392af
License:	LGPLv2+
00b59c
URL:		https://libexif.github.io/
00b59c
%global tarball_version %(echo %{version} | sed -e 's|\\.|_|g')
00b59c
Source0:	https://github.com/libexif/libexif/archive/libexif-%{tarball_version}-release.tar.gz
00b59c
Source1:        strip-gettext-nondeterminism
00b59c
00b59c
# https://bugzilla.redhat.com/show_bug.cgi?id=1847753
00b59c
# https://bugzilla.redhat.com/show_bug.cgi?id=1847761
00b59c
Patch0:         CVE-2020-0181-CVE-2020-0198.patch
6392af
7ef8d3
# https://github.com/libexif/libexif/commit/9266d14b5ca4e29b970fa03272318e5f99386e06
7ef8d3
Patch1:         CVE-2020-0452.patch
7ef8d3
6392af
BuildRequires:	autoconf
6392af
BuildRequires:	automake
6392af
BuildRequires:	doxygen
6392af
BuildRequires:	gettext-devel
6392af
BuildRequires:	libtool
6392af
BuildRequires:	pkgconfig
6392af
00b59c
# For strip-gettext-nondeterminism
00b59c
BuildRequires:  perl(Time::Piece)
00b59c
6392af
%description
6392af
Most digital cameras produce EXIF files, which are JPEG files with
6392af
extra tags that contain information about the image. The EXIF library
6392af
allows you to parse an EXIF file and read the data from those tags.
6392af
6392af
%package devel
6392af
Summary:	Files needed for libexif application development
6392af
Group:		Development/Libraries
6392af
Requires:	%{name}%{?_isa} = %{version}-%{release}
6392af
Requires:	pkgconfig
6392af
6392af
%description devel
6392af
The libexif-devel package contains the libraries and header files
6392af
for writing programs that use libexif.
6392af
6392af
%package doc
6392af
Summary:	The EXIF Library API documentation
6392af
Group:		Development/Libraries
6392af
Requires:	%{name}%{?_isa} = %{version}-%{release}
6392af
6392af
%description doc
6392af
API Documentation for programmers wishing to use libexif in their programs.
6392af
6392af
%prep
00b59c
%autosetup -n libexif-libexif-%{tarball_version}-release -p1
6392af
6392af
%build
6392af
autoreconf -fiv
6392af
%configure --disable-static
6392af
make %{?_smp_mflags}
6392af
6392af
%install
6392af
make DESTDIR=%{buildroot} install
6392af
find %{buildroot} -name "*.la" -exec rm -v {} \;
6392af
rm -rf %{buildroot}%{_datadir}/doc/libexif
6392af
cp -R doc/doxygen-output/libexif-api.html .
6392af
iconv -f latin1 -t utf-8 < COPYING > COPYING.utf8; cp COPYING.utf8 COPYING
6392af
iconv -f latin1 -t utf-8 < README > README.utf8; cp README.utf8 README
00b59c
find %{buildroot} -type f -name '*.mo' -exec %{SOURCE1} {} \;
6392af
%find_lang libexif-12
6392af
6392af
%check
6392af
make check
6392af
6392af
%ldconfig_scriptlets
6392af
6392af
%files -f libexif-12.lang
6392af
%doc COPYING README NEWS
00b59c
%{_libdir}/libexif.so.12*
6392af
6392af
%files devel
6392af
%{_includedir}/libexif
6392af
%{_libdir}/*.so
6392af
%{_libdir}/pkgconfig/libexif.pc
6392af
6392af
%files doc
6392af
%doc libexif-api.html
6392af
6392af
%changelog
7ef8d3
* Mon Dec 07 2020 Richard Hughes <rhughes@redhat.com> - 0.6.22-5
7ef8d3
- Fix CVE-2020-0452
7ef8d3
- Resolves: #1902593
7ef8d3
00b59c
* Thu Jun 25 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 0.6.22-4
00b59c
- Add patch for CVE-2020-0181/CVE-2020-0198
00b59c
- Resolves: #1847753
00b59c
- Resolves: #1847761
00b59c
00b59c
* Thu Jun 04 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 0.6.22-3
00b59c
- Also remove timezone from the .mo files
00b59c
- Related: #1841320
00b59c
00b59c
* Wed Jun 03 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 0.6.22-2
00b59c
- Remove timestamps from the .mo files to avoid multilib conflicts
00b59c
- Related: #1841320
00b59c
00b59c
* Mon Jun 01 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 0.6.22-1
00b59c
- Upgrade to 0.6.22
00b59c
- Resolves: #1841320
fe46e9
6392af
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-16
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6392af
6392af
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.21-15
6392af
- Switch to %%ldconfig_scriptlets
6392af
6392af
* Sun Dec 17 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 0.6.21-14
6392af
- Patch for CVE-2016-6328 (#1484032)
6392af
6392af
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-13
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6392af
6392af
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-12
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6392af
6392af
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-11
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6392af
6392af
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.21-10
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6392af
6392af
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-9
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6392af
6392af
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-8
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6392af
6392af
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-7
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6392af
6392af
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-6
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6392af
6392af
* Mon Apr 29 2013 Petr Šabata <contyk@redhat.com> - 0.6.21-5
6392af
- Run the test suite, thanks to Ville Skyttä <ville.skytta@iki.fi> (#928539)
6392af
6392af
* Wed Mar 27 2013 Petr Šabata <contyk@redhat.com> - 0.6.21-4
6392af
- Run autoreconf for aarch64
6392af
6392af
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-3
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6392af
6392af
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.21-2
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6392af
6392af
* Fri Jul 13 2012 Petr Šabata <contyk@redhat.com> - 0.6.21-1
6392af
- 0.6.21 bump
6392af
- A security bugfixing release (CVE-2012-2812, CVE-2012-2813, CVE-2012-2814,
6392af
  CVE-2012-2836, CVE-2012-2837, CVE-2012-2840, CVE-2012-2841 & CVE-2012-2845)
6392af
- Drop the pre-generated docs and introduce a doc subpackage
6392af
6392af
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.20-2
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6392af
6392af
* Fri Mar 18 2011 Petr Sabata <psabata@redhat.com> - 0.6.20-1
6392af
- 0.6.20 bump
6392af
- Repackaging prehistoric libexif-docs, introducing version string in filename
6392af
- Buildroot cleanup
6392af
6392af
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.19-2
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6392af
6392af
* Wed May 26 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.6.19-1
6392af
- libexif 0.6.19
6392af
- fixes #589283
6392af
6392af
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.16-4
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6392af
6392af
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.16-3
6392af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6392af
6392af
* Thu Dec 11 2008 Caolán McNamara <caolanm@redhat.com> - 0.6.16-2
6392af
- rebuild to get a pkgconfig(libexif) provides
6392af
6392af
* Tue Feb  5 2008 Matthias Clasen <mclasen@redhat.com> - 0.6.16-1
6392af
- Update to 0.6.16
6392af
- Drop obsolete patch
6392af
6392af
* Tue Feb  5 2008 Matthias Clasen <mclasen@redhat.com> - 0.6.15-6
6392af
- Convert doc files to utf-8 (#240838)
6392af
6392af
* Sat Dec 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-5
6392af
- Add patch for CVE-2007-6351. Fixes bug #425641
6392af
- Add patch for CVE-2007-6352. Fixes bug #425641
6392af
6392af
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.6.15-4
6392af
- Rebuild for selinux ppc32 issue.
6392af
6392af
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-3
6392af
- Update the license field
6392af
6392af
* Wed Jun 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-2
6392af
- Add patch for CVE-2007-4168. Fix bug #243892
6392af
6392af
* Wed May 30 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.15-1
6392af
- Update to 0.6.15
6392af
- Drop obsolete patch
6392af
6392af
* Thu May 24 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.13-4
6392af
- Add patch for CVE-2007-2645.
6392af
6392af
* Sun Feb  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
6392af
- Package review cleanups
6392af
- Avoid multilib conflicts by using pregenerated docs
6392af
6392af
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.13-2
6392af
- Rebuild
6392af
6392af
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.13-1.1
6392af
- rebuild
6392af
6392af
* Tue May 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.6.13-1
6392af
- Update to 0.6.13
6392af
- Drop upstreamed patches
6392af
- Don't ship static libraries
6392af
6392af
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.12-3.2.1
6392af
- bump again for double-long bug on ppc(64)
6392af
6392af
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.12-3.2
6392af
- rebuilt for new gcc4.1 snapshot and glibc changes
6392af
6392af
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
6392af
- rebuilt
6392af
6392af
* Fri May  6 2005 Matthias Clasen <mclasen@redhat.com>
6392af
- Prevent infinite recursion (#156365)
6392af
6392af
* Sun Apr 24 2005 Matthias Clasen <mclasen@redhat.com>
6392af
- Fix MakerNote handling (#153282)
6392af
6392af
* Mon Mar 28 2005 Matthias Clasen <mclasen@redhat.com>
6392af
- Update to 0.6.12
6392af
6392af
* Tue Mar  8 2005 Marco Pesenti Gritti <mpg@redhat.com>
6392af
- Add libexif-0.5.12-buffer-overflow.patch 
6392af
6392af
* Wed Mar  2 2005 Matthias Clasen <mclasen@redhat.com> 
6392af
- Rebuild with gcc4
6392af
6392af
* Tue Nov  9 2004 Matthias Saou <matthias.saou@est.une.marmotte.net>
6392af
- Use %%find_lang macro.
6392af
- Add %%doc files, including mandatory copy of the LGPL license.
6392af
- Use %%{?_smp_mflags}
6392af
- Improve the descriptions
6392af
6392af
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
6392af
- rebuilt
6392af
6392af
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
6392af
- rebuilt
6392af
6392af
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
6392af
- rebuilt
6392af
6392af
* Mon Dec 22 2003 Matt Wilson <msw@redhat.com> 
6392af
- Initial build.