exempi-vl.spec 3.7 KB

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