Blame SPECS/libexif.spec

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