exempi-vl.spec 3.3 KB

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