|
|
48c46a |
|
|
|
48c46a |
Summary: Exif and Iptc metadata manipulation library
|
|
|
48c46a |
Name: exiv2
|
|
|
48c46a |
Version: 0.26
|
|
|
48c46a |
Release: 3%{?dist}
|
|
|
48c46a |
|
|
|
48c46a |
License: GPLv2+
|
|
|
48c46a |
URL: http://www.exiv2.org/
|
|
|
48c46a |
Source0: http://www.exiv2.org/builds/exiv2-%{version}-trunk.tar.gz
|
|
|
48c46a |
|
|
|
48c46a |
## upstream patches (lookaside cache)
|
|
|
48c46a |
Patch6: 0006-1296-Fix-submitted.patch
|
|
|
48c46a |
|
|
|
48c46a |
Patch10: exiv2-CVE-2017-17723.patch
|
|
|
48c46a |
Patch11: exiv2-CVE-2017-17725.patch
|
|
|
48c46a |
Patch12: exiv2-CVE-2017-5772.patch
|
|
|
48c46a |
|
|
|
48c46a |
## upstreamable patches
|
|
|
48c46a |
Patch100: exiv2-doxygen.patch
|
|
|
48c46a |
|
|
|
48c46a |
BuildRequires: expat-devel
|
|
|
48c46a |
BuildRequires: gettext
|
|
|
48c46a |
BuildRequires: pkgconfig
|
|
|
48c46a |
BuildRequires: pkgconfig(libcurl)
|
|
|
48c46a |
BuildRequires: zlib-devel
|
|
|
48c46a |
# docs
|
|
|
48c46a |
BuildRequires: doxygen graphviz libxslt
|
|
|
48c46a |
|
|
|
48c46a |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
48c46a |
|
|
|
48c46a |
|
|
|
48c46a |
%description
|
|
|
48c46a |
A command line utility to access image metadata, allowing one to:
|
|
|
48c46a |
* print the Exif metadata of Jpeg images as summary info, interpreted values,
|
|
|
48c46a |
or the plain data for each tag
|
|
|
48c46a |
* print the Iptc metadata of Jpeg images
|
|
|
48c46a |
* print the Jpeg comment of Jpeg images
|
|
|
48c46a |
* set, add and delete Exif and Iptc metadata of Jpeg images
|
|
|
48c46a |
* adjust the Exif timestamp (that's how it all started...)
|
|
|
48c46a |
* rename Exif image files according to the Exif timestamp
|
|
|
48c46a |
* extract, insert and delete Exif metadata (including thumbnails),
|
|
|
48c46a |
Iptc metadata and Jpeg comments
|
|
|
48c46a |
|
|
|
48c46a |
%package devel
|
|
|
48c46a |
Summary: Header files, libraries and development documentation for %{name}
|
|
|
48c46a |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
48c46a |
%description devel
|
|
|
48c46a |
%{summary}.
|
|
|
48c46a |
|
|
|
48c46a |
%package libs
|
|
|
48c46a |
Summary: Exif and Iptc metadata manipulation library
|
|
|
48c46a |
%description libs
|
|
|
48c46a |
A C++ library to access image metadata, supporting full read and write access
|
|
|
48c46a |
to the Exif and Iptc metadata, Exif MakerNote support, extract and delete
|
|
|
48c46a |
methods for Exif thumbnails, classes to access Ifd and so on.
|
|
|
48c46a |
|
|
|
48c46a |
%package doc
|
|
|
48c46a |
Summary: Api documentation for %{name}
|
|
|
48c46a |
BuildArch: noarch
|
|
|
48c46a |
%description doc
|
|
|
48c46a |
%{summary}.
|
|
|
48c46a |
|
|
|
48c46a |
|
|
|
48c46a |
%prep
|
|
|
48c46a |
%autosetup -n %{name}-trunk -p1
|
|
|
48c46a |
|
|
|
48c46a |
%build
|
|
|
48c46a |
# exiv2: embedded copy of exempi should be compiled with BanAllEntityUsage
|
|
|
48c46a |
# https://bugzilla.redhat.com/show_bug.cgi?id=888769
|
|
|
48c46a |
export CPPFLAGS="-DBanAllEntityUsage=1"
|
|
|
48c46a |
|
|
|
48c46a |
%configure \
|
|
|
48c46a |
--disable-rpath \
|
|
|
48c46a |
--disable-static
|
|
|
48c46a |
|
|
|
48c46a |
# rpath
|
|
|
48c46a |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
48c46a |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
48c46a |
|
|
|
48c46a |
make %{?_smp_mflags}
|
|
|
48c46a |
make doc -k ||:
|
|
|
48c46a |
|
|
|
48c46a |
%install
|
|
|
48c46a |
rm -rf %{buildroot}
|
|
|
48c46a |
|
|
|
48c46a |
make install DESTDIR=%{buildroot}
|
|
|
48c46a |
|
|
|
48c46a |
%find_lang exiv2
|
|
|
48c46a |
|
|
|
48c46a |
## Unpackaged files
|
|
|
48c46a |
rm -fv %{buildroot}%{_libdir}/libexiv2.la
|
|
|
48c46a |
|
|
|
48c46a |
## fix perms on installed lib
|
|
|
48c46a |
ls -l %{buildroot}%{_libdir}/libexiv2.so.*
|
|
|
48c46a |
chmod 755 %{buildroot}%{_libdir}/libexiv2.so.*
|
|
|
48c46a |
|
|
|
48c46a |
|
|
|
48c46a |
%find_lang exiv2 --with-man
|
|
|
48c46a |
|
|
|
48c46a |
## unpackaged files
|
|
|
48c46a |
rm -fv %{buildroot}%{_libdir}/libexiv2.la
|
|
|
48c46a |
|
|
|
48c46a |
%check
|
|
|
48c46a |
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
|
|
48c46a |
test "$(pkg-config --modversion exiv2)" = "%{version}"
|
|
|
48c46a |
test -x %{buildroot}%{_libdir}/libexiv2.so
|
|
|
48c46a |
|
|
|
48c46a |
|
|
|
48c46a |
%files -f exiv2.lang
|
|
|
48c46a |
%license COPYING
|
|
|
48c46a |
%doc doc/ChangeLog
|
|
|
48c46a |
# README is mostly installation instructions
|
|
|
48c46a |
#doc README
|
|
|
48c46a |
%{_bindir}/exiv2
|
|
|
48c46a |
%{_mandir}/man1/exiv2*.1*
|
|
|
48c46a |
|
|
|
48c46a |
%post libs -p /sbin/ldconfig
|
|
|
48c46a |
%postun libs -p /sbin/ldconfig
|
|
|
48c46a |
|
|
|
48c46a |
%files libs
|
|
|
48c46a |
%{_libdir}/libexiv2.so.26*
|
|
|
48c46a |
|
|
|
48c46a |
%files devel
|
|
|
48c46a |
%{_includedir}/exiv2/
|
|
|
48c46a |
%{_libdir}/libexiv2.so
|
|
|
48c46a |
%{_libdir}/pkgconfig/exiv2.pc
|
|
|
48c46a |
|
|
|
48c46a |
%files doc
|
|
|
48c46a |
%doc doc/html
|
|
|
48c46a |
|
|
|
48c46a |
%changelog
|
|
|
48c46a |
* Fri Feb 23 2018 Jan Grulich <jgrulich@redhat.com> - 0.26-3
|
|
|
48c46a |
- Fix uncontrolled recursion in image.cpp:Exiv2::Image::printIFDStructure() which can allow a
|
|
|
48c46a |
remote attacker to cause a denial of service via a crafted tif file
|
|
|
48c46a |
Resolves: bz#1548410
|
|
|
48c46a |
|
|
|
48c46a |
* Thu Feb 22 2018 Jan Grulich <jgrulich@redhat.com> - 0.26-2
|
|
|
48c46a |
- Fix heap-based buffer over-read in Exiv2::Image::byteSwap4 in image.cpp
|
|
|
48c46a |
Resolves: bz#1547207
|
|
|
48c46a |
|
|
|
48c46a |
Fix heap-based buffer over-read in Exiv2::getULong function in types.cpp
|
|
|
48c46a |
Resolves: bz#1545232
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Aug 29 2017 Jan Grulich <jgrulich@redhat.com> - 0.26-1
|
|
|
48c46a |
- Update to 0.26
|
|
|
48c46a |
Resolves: bz#1420227
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.23-6
|
|
|
48c46a |
- Mass rebuild 2014-01-24
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.23-5
|
|
|
48c46a |
- Mass rebuild 2013-12-27
|
|
|
48c46a |
|
|
|
48c46a |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
|
|
|
48c46a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Aug 14 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-3
|
|
|
48c46a |
- empty html doc dir (#848025)
|
|
|
48c46a |
|
|
|
48c46a |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
|
|
|
48c46a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Apr 24 2012 Rex Dieter <rdieter@fedoraproject.org> 0.23-1
|
|
|
48c46a |
- exiv2-0.23
|
|
|
48c46a |
- abi bump
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-5
|
|
|
48c46a |
- Rebuilt for c++ ABI breakage
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-4
|
|
|
48c46a |
- better rpath handling
|
|
|
48c46a |
- revert locale change, move back to -libs
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Jan 16 2012 Rex Dieter <rdieter@fedoraproject.org> 0.22-3
|
|
|
48c46a |
- move locale files to main pkg (from -libs)
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
|
|
48c46a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> 0.22-1
|
|
|
48c46a |
- exiv2-0.22
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Sep 27 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-3
|
|
|
48c46a |
- New Tamron 70-300 mm lens improperly recognized (#708403)
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Sep 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-2
|
|
|
48c46a |
- gthumb crashes because of bug in exiv2 0.21.1 (#741429)
|
|
|
48c46a |
|
|
|
48c46a |
* Sat Feb 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21.1-1
|
|
|
48c46a |
- exiv2-0.21.1
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
|
|
|
48c46a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
48c46a |
|
|
|
48c46a |
* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> 0.21-2
|
|
|
48c46a |
- Move ldconfig scriptlet calls to -libs (#672361)
|
|
|
48c46a |
|
|
|
48c46a |
* Wed Dec 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.21-1
|
|
|
48c46a |
- exiv2-0.21
|
|
|
48c46a |
|
|
|
48c46a |
* Sun May 30 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.20-1
|
|
|
48c46a |
- exiv2-0.20
|
|
|
48c46a |
|
|
|
48c46a |
* Wed Dec 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.19-1
|
|
|
48c46a |
- exiv2-0.19 (#552275)
|
|
|
48c46a |
|
|
|
48c46a |
* Sun Dec 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-3
|
|
|
48c46a |
- -libs unconditional
|
|
|
48c46a |
- tighten deps using %%?_isa
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Aug 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-2
|
|
|
48c46a |
- (again) drop -fvisibility-inlines-hidden (#496050)
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.2-1
|
|
|
48c46a |
- exiv2-0.18.2
|
|
|
48c46a |
- drop visibility patch
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Apr 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.18.1-1
|
|
|
48c46a |
- exiv2-0.18.1
|
|
|
48c46a |
- drop -fvisibility-inlines-hidden (#496050)
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
|
|
|
48c46a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
48c46a |
|
|
|
48c46a |
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> 0.18-1
|
|
|
48c46a |
- exiv2-0.18
|
|
|
48c46a |
|
|
|
48c46a |
* Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.2-2
|
|
|
48c46a |
- rebuild for pkgconfig deps
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Jun 23 2008 Rex Dieter <rdieter@fedoraproject.org> 0.17.1-1
|
|
|
48c46a |
- exiv2-0.17.1
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
|
|
|
48c46a |
- respin (gcc43)
|
|
|
48c46a |
- gcc43 patch
|
|
|
48c46a |
|
|
|
48c46a |
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
|
|
|
48c46a |
- eviv2-0.16
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Dec 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.3.pre1
|
|
|
48c46a |
- CVE-2007-6353 (#425924)
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Nov 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.2.pre1
|
|
|
48c46a |
- -libs subpkg toggle (f8+)
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Nov 13 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-0.1.pre1
|
|
|
48c46a |
- exiv2-0.16-pre1
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Sep 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-4
|
|
|
48c46a |
- -libs: -Requires: %%name
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-3
|
|
|
48c46a |
- -libs subpkg to be multilib-friendlier (f8+)
|
|
|
48c46a |
|
|
|
48c46a |
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-2
|
|
|
48c46a |
- License: GPLv2+
|
|
|
48c46a |
|
|
|
48c46a |
* Thu Jul 12 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.15-1
|
|
|
48c46a |
- exiv2-0.15
|
|
|
48c46a |
|
|
|
48c46a |
* Mon Apr 02 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.14-1
|
|
|
48c46a |
- exiv2-0.14
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
|
|
|
48c46a |
- exiv2-0.12
|
|
|
48c46a |
|
|
|
48c46a |
* Wed Oct 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-3
|
|
|
48c46a |
- respin
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-2
|
|
|
48c46a |
- BR: zlib-devel
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.11-1
|
|
|
48c46a |
- exiv2-0.11
|
|
|
48c46a |
|
|
|
48c46a |
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-2
|
|
|
48c46a |
- fc6 respin
|
|
|
48c46a |
|
|
|
48c46a |
* Sat Jun 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.10-1
|
|
|
48c46a |
- 0.10
|
|
|
48c46a |
|
|
|
48c46a |
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
|
|
|
48c46a |
- cleanup %%description
|
|
|
48c46a |
- set eXecute bit on installed lib.
|
|
|
48c46a |
- no_rpath patch
|
|
|
48c46a |
- deps patch (items get (re)compiled on *every* call to 'make')
|
|
|
48c46a |
|
|
|
48c46a |
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
|
|
|
48c46a |
- %%post/%%postun: /sbin/ldconfig
|
|
|
48c46a |
|
|
|
48c46a |
* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
|
|
|
48c46a |
- first try
|