Summary: Library for easy parsing of XMP metadata Name: exempi Version: 2.2.0 Release: 9%{?dist} License: BSD Group: System Environment/Libraries URL: http://libopenraw.freedesktop.org/wiki/Exempi Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Patch0: CVE-2017-18233.patch Patch1: CVE-2017-18234.patch Patch2: CVE-2017-18236.patch Patch3: CVE-2017-18238.patch Patch4: CVE-2018-7730.patch BuildRequires: boost-devel expat-devel zlib-devel pkgconfig Provides: bundled(md5-polstra) %description Exempi provides a library for easy parsing of XMP metadata. It is a port of Adobe XMP SDK to work on UNIX and to be build with GNU automake. It includes XMPCore and XMPFiles. %package devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the libraries and header files needed for developing with exempi. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build # BanEntityUsage needed for #888765 %configure CPPFLAGS="-I%{_includedir} -fno-strict-aliasing -DBanAllEntityUsage=1" # Disable rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} V=1 %check make check %install make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_libdir}/*.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS ChangeLog COPYING README %{_bindir}/exempi %{_libdir}/*.so.* %files devel %{_includedir}/exempi-2.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Dec 05 2018 Nikola Forró - 2.2.0-9 - Fix CVE-2017-18233 resolves: #1574865 - Fix CVE-2017-18234 resolves: #1656011 - Fix CVE-2017-18236 resolves: #1574905 - Fix CVE-2017-18238 resolves: #1572270 - Fix CVE-2018-7730 resolves: #1572631 * Fri Jan 24 2014 Daniel Mach - 2.2.0-8 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 2.2.0-7 - Mass rebuild 2013-12-27 * Wed Jan 30 2013 Stanislav Ochotnicky - 2.2.0-6 - Get rid of unnecessary LDFLAGS definition overwriting RPM flags * Wed Jan 02 2013 Stanislav Ochotnicky - 2.2.0-5 - Make sure we respect RPM_OPT_FLAGS and simplify configure (#889554) * Wed Dec 19 2012 Stanislav Ochotnicky - 2.2.0-4 - Add BanAllEntityUsage into macro definitions (#888765) * Thu Aug 16 2012 Mikolaj Izdebski - 2.2.0-3 - Add bundled(md5-polstra) provides - Update to current guidelines * Thu Jul 19 2012 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 22 2012 Deji Akingunola - 2.2.0-1 - Update to version 2.2.0 * Fri Jan 13 2012 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon May 3 2010 Stanislav Ochotnicky - 2.1.1-1 - Update to 2.1.1 - Add testsuite execution - Removed build patch for gcc-4.4 (fixed in upstream) * Fri Jul 24 2009 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 2.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 04 2009 Deji Akingunola - 2.1.0-2 - Add patch to build with gcc-4.4 * Tue Jan 06 2009 Deji Akingunola - 2.1.0-1 - Update to 2.1.0 * Sat May 17 2008 Deji Akingunola - 2.0.1-1 - Update to 2.0.1 * Wed Apr 02 2008 Deji Akingunola - 2.0.0-1 - Update to 2.0.0 * Fri Feb 08 2008 Deji Akingunola - 1.99.9-1 - Update to 1.99.9 * Sun Jan 13 2008 Deji Akingunola - 1.99.7-1 - Update to 1.99.7 * Mon Dec 03 2007 Deji Akingunola - 1.99.5-1 - Update to 1.99.5 * Wed Sep 05 2007 Deji Akingunola - 1.99.4-2 - Rebuild for expat 2.0 * Wed Aug 22 2007 Deji Akingunola - 1.99.4-1 - Update tp 1.99.4 * Tue Jul 10 2007 Deji Akingunola - 1.99.3-1 - Initial packaging for Fedora