exempi.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Summary: Library for easy parsing of XMP metadata
  2. Name: exempi
  3. Version: 2.1.1
  4. Release: 2%{?dist}
  5. License: BSD
  6. Group: System Environment/Libraries
  7. URL: http://libopenraw.freedesktop.org/wiki/Exempi
  8. Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: boost-devel expat-devel zlib-devel pkgconfig
  11. %description
  12. Exempi provides a library for easy parsing of XMP metadata. It is a port of
  13. Adobe XMP SDK to work on UNIX and to be build with GNU automake.
  14. It includes XMPCore and XMPFiles.
  15. %package devel
  16. Summary: Headers for developing programs that will use %{name}
  17. Group: Development/Libraries
  18. Requires: %{name} = %{version}-%{release}
  19. Requires: pkgconfig
  20. %description devel
  21. This package contains the libraries and header files needed for
  22. developing with exempi
  23. %prep
  24. %setup -q
  25. %build
  26. %configure LDFLAGS="-L%{_libdir}" CPPFLAGS="-I%{_includedir}"
  27. # Disable rpath
  28. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  29. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  30. make %{?_smp_mflags}
  31. %check
  32. make check
  33. %install
  34. rm -rf %{buildroot}
  35. make DESTDIR=%{buildroot} install
  36. rm -rf %{buildroot}%{_libdir}/*.la
  37. rm -rf %{buildroot}%{_libdir}/*.a
  38. %clean
  39. rm -rf %{buildroot}
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-, root, root, -)
  44. %doc AUTHORS ChangeLog COPYING README
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %defattr(-, root, root, -)
  48. %{_includedir}/exempi-2.0/
  49. %{_libdir}/*.so
  50. %{_libdir}/pkgconfig/*.pc
  51. %changelog
  52. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  54. * Mon May 3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-1
  55. - Update to 2.1.1
  56. - Add testsuite execution
  57. - Removed build patch for gcc-4.4 (fixed in upstream)
  58. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  60. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  62. * Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2
  63. - Add patch to build with gcc-4.4
  64. * Tue Jan 06 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1
  65. - Update to 2.1.0
  66. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.1-1
  67. - Update to 2.0.1
  68. * Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.0-1
  69. - Update to 2.0.0
  70. * Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.9-1
  71. - Update to 1.99.9
  72. * Sun Jan 13 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.7-1
  73. - Update to 1.99.7
  74. * Mon Dec 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.5-1
  75. - Update to 1.99.5
  76. * Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2
  77. - Rebuild for expat 2.0
  78. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1
  79. - Update tp 1.99.4
  80. * Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1
  81. - Initial packaging for Fedora