96aea1
Summary:	Library for easy parsing of XMP metadata
96aea1
Name:		exempi
96aea1
Version:	2.4.5
96aea1
Release:	2%{?dist}
96aea1
License:	BSD
96aea1
Group:		System Environment/Libraries
96aea1
URL:		http://libopenraw.freedesktop.org/wiki/Exempi
96aea1
Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
96aea1
Patch0:		CVE-2018-12648.patch
96aea1
BuildRequires:	gcc-c++
96aea1
BuildRequires:	boost-devel expat-devel zlib-devel pkgconfig
96aea1
# Work around for aarch64 support (https://bugzilla.redhat.com/show_bug.cgi?id=925327)
96aea1
BuildRequires:	autoconf automake libtool
96aea1
Provides:	bundled(md5-polstra)
96aea1
96aea1
%description
96aea1
Exempi provides a library for easy parsing of XMP metadata. It is a port of 
96aea1
Adobe XMP SDK to work on UNIX and to be build with GNU automake.
96aea1
It includes XMPCore and XMPFiles.
96aea1
96aea1
%package devel
96aea1
Summary:	Headers for developing programs that will use %{name}
96aea1
Group:		Development/Libraries
96aea1
Requires:	%{name} = %{version}-%{release}
96aea1
Requires:	pkgconfig
96aea1
96aea1
%description devel
96aea1
This package contains the libraries and header files needed for
96aea1
developing with exempi.
96aea1
96aea1
%prep
96aea1
%setup -q
96aea1
%patch0 -p1
96aea1
96aea1
%build
96aea1
libtoolize -vi
96aea1
./autogen.sh
96aea1
# BanEntityUsage needed for #888765
96aea1
%configure CPPFLAGS="-I%{_includedir} -fno-strict-aliasing -DBanAllEntityUsage=1"
96aea1
96aea1
# Disable rpath
96aea1
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
96aea1
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
96aea1
96aea1
make %{?_smp_mflags} V=1
96aea1
96aea1
%check
96aea1
make check
96aea1
96aea1
%install
96aea1
make DESTDIR=%{buildroot} install
96aea1
96aea1
rm -rf %{buildroot}%{_libdir}/*.la
96aea1
rm -rf %{buildroot}%{_libdir}/*.a
96aea1
96aea1
%post -p /sbin/ldconfig
96aea1
96aea1
%postun -p /sbin/ldconfig
96aea1
96aea1
%files
96aea1
%doc AUTHORS ChangeLog COPYING README
96aea1
%{_bindir}/exempi
96aea1
%{_libdir}/*.so.*
96aea1
%{_mandir}/man1/exempi.1*
96aea1
96aea1
%files devel
96aea1
%{_includedir}/exempi-2.0/
96aea1
%{_libdir}/*.so
96aea1
%{_libdir}/pkgconfig/*.pc
96aea1
96aea1
%changelog
96aea1
* Wed Sep 26 2018 Nikola Forró <nforro@redhat.com> - 2.4.5-2
96aea1
- Fix CVE-2018-12648
96aea1
  Resolves #1594644
96aea1
96aea1
* Tue Mar 13 2018 Nikola Forró <nforro@redhat.com> - 2.4.5-1
96aea1
- Update to version 2.4.5
96aea1
  Resolves #1553140
96aea1
96aea1
* Tue Feb 20 2018 Nikola Forró <nforro@redhat.com> - 2.4.4-2
96aea1
- Add missing gcc-c++ build dependency
96aea1
96aea1
* Tue Feb 06 2018 Nikola Forró <nforro@redhat.com> - 2.4.4-1
96aea1
- Update to version 2.4.4
96aea1
  Resolves #1541818
96aea1
96aea1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-7
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
96aea1
96aea1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-6
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
96aea1
96aea1
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 2.4.2-5
96aea1
- Rebuilt for Boost 1.64
96aea1
96aea1
* Thu Jun 1 2017 Owen Taylor <otaylor@redhat.com> - 2.4.2-4
96aea1
- Make manpage installation agnostic of compression
96aea1
  https://fedoraproject.org/wiki/Packaging:Guidelines#Manpages
96aea1
96aea1
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
96aea1
96aea1
* Mon Feb 06 2017 Kalev Lember <klember@redhat.com> - 2.4.2-2
96aea1
- Rebuilt for Boost 1.63
96aea1
96aea1
* Mon Jan 30 2017 Nikola Forró <nforro@redhat.com> - 2.4.2-1
96aea1
- Update to version 2.4.2
96aea1
  Resolves #1417497
96aea1
96aea1
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 2.4.1-3
96aea1
- Rebuilt for Boost 1.63
96aea1
96aea1
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 2.4.1-2
96aea1
- Rebuilt for Boost 1.63
96aea1
96aea1
* Tue Jan 24 2017 Nikola Forró <nforro@redhat.com> - 2.4.1-1
96aea1
- Update to version 2.4.1
96aea1
  Resolves #1415672
96aea1
96aea1
* Mon Jan 09 2017 Nikola Forró <nforro@redhat.com> - 2.4.0-1
96aea1
- Update to version 2.4.0
96aea1
  Resolves #1411059
96aea1
96aea1
* Thu Mar 17 2016 Nikola Forró <nforro@redhat.com> - 2.3.0-1
96aea1
- Update to version 2.3.0
96aea1
  Resolves #1318279
96aea1
96aea1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-15
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
96aea1
96aea1
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 2.2.1-14
96aea1
- Rebuilt for Boost 1.60
96aea1
96aea1
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 2.2.1-13
96aea1
- Rebuilt for Boost 1.59
96aea1
96aea1
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-12
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
96aea1
96aea1
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 2.2.1-11
96aea1
- rebuild for Boost 1.58
96aea1
96aea1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-10
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
96aea1
96aea1
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.1-9
96aea1
- Rebuilt for GCC 5 C++11 ABI change
96aea1
96aea1
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 2.2.1-8
96aea1
- Rebuild for boost 1.57.0
96aea1
96aea1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-7
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
96aea1
96aea1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
96aea1
96aea1
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 2.2.1-5
96aea1
- Rebuild for boost 1.55.0
96aea1
96aea1
* Fri Jan 10 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-4
96aea1
- Run libtoolize before autogen.sh
96aea1
- Resolves: rhbz#1051186
96aea1
96aea1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
96aea1
96aea1
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 2.2.1-2
96aea1
- Rebuild for boost 1.54.0
96aea1
96aea1
* Mon Jul 22 2013 Deji Akingunola <dakingun@gmail.com> - 2.2.1-1
96aea1
- Update to version 2.2.1
96aea1
96aea1
* Wed Jan 30 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.0-6
96aea1
- Get rid of unnecessary LDFLAGS definition overwriting RPM flags
96aea1
96aea1
* Wed Jan 02 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.0-5
96aea1
- Make sure we respect RPM_OPT_FLAGS and simplify configure (#889554)
96aea1
96aea1
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.0-4
96aea1
- Add BanAllEntityUsage into macro definitions (#888765)
96aea1
96aea1
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.0-3
96aea1
- Add bundled(md5-polstra) provides
96aea1
- Update to current guidelines
96aea1
96aea1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
96aea1
96aea1
* Wed Feb 22 2012 Deji Akingunola <dakingun@gmail.com> - 2.2.0-1
96aea1
- Update to version 2.2.0
96aea1
96aea1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
96aea1
96aea1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96aea1
96aea1
* Mon May  3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-1
96aea1
- Update to 2.1.1
96aea1
- Add testsuite execution
96aea1
- Removed build patch for gcc-4.4 (fixed in upstream)
96aea1
96aea1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
96aea1
96aea1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
96aea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
96aea1
96aea1
* Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2
96aea1
- Add patch to build with gcc-4.4
96aea1
96aea1
* Tue Jan 06 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1
96aea1
- Update to 2.1.0
96aea1
    
96aea1
* Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.1-1
96aea1
- Update to 2.0.1
96aea1
96aea1
* Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.0-1
96aea1
- Update to 2.0.0
96aea1
96aea1
* Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.9-1
96aea1
- Update to 1.99.9
96aea1
96aea1
* Sun Jan 13 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.7-1
96aea1
- Update to 1.99.7
96aea1
96aea1
* Mon Dec 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.5-1
96aea1
- Update to 1.99.5
96aea1
96aea1
* Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2
96aea1
- Rebuild for expat 2.0
96aea1
96aea1
* Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1
96aea1
- Update tp 1.99.4
96aea1
96aea1
* Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1
96aea1
- Initial packaging for Fedora