exempi-vl.spec 3.6 KB

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