exempi-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Summary: Library for easy parsing of XMP metadata
  2. Summary: XMP メタデータを簡単にパースするライブラリ
  3. Name: exempi
  4. Version: 2.2.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.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. * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-1
  60. - update to 2.2.1
  61. - add exempi(1) manpage
  62. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  63. - new upstream release
  64. * Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 2.1.1-1
  65. - initial build for Vine Linux
  66. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  68. * Mon May 3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-1
  69. - Update to 2.1.1
  70. - Add testsuite execution
  71. - Removed build patch for gcc-4.4 (fixed in upstream)
  72. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2
  77. - Add patch to build with gcc-4.4
  78. * Tue Jan 06 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1
  79. - Update to 2.1.0
  80. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.1-1
  81. - Update to 2.0.1
  82. * Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.0-1
  83. - Update to 2.0.0
  84. * Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.9-1
  85. - Update to 1.99.9
  86. * Sun Jan 13 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.7-1
  87. - Update to 1.99.7
  88. * Mon Dec 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.5-1
  89. - Update to 1.99.5
  90. * Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2
  91. - Rebuild for expat 2.0
  92. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1
  93. - Update tp 1.99.4
  94. * Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1
  95. - Initial packaging for Fedora