exempi-vl.spec 3.8 KB

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