exempi-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. Summary: Library for easy parsing of XMP metadata
  2. Summary(ja): XMP メタデータを簡単にパースするライブラリ
  3. Name: exempi
  4. Version: 2.5.2
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: http://libopenraw.freedesktop.org/wiki/Exempi
  11. Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: expat-devel zlib-devel pkgconfig
  14. BuildRequires: libboost-devel
  15. BuildRequires: libboost-test
  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: programming
  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. %debug_package
  29. %prep
  30. %setup -q
  31. %build
  32. libtoolize -vi
  33. NOCONFIGURE=1 ./autogen.sh
  34. %global build_cflags %(echo "%{build_cflags} -I%{_includedir} -DBanAllEntityUsage=1")
  35. %configure
  36. # Disable rpath
  37. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  38. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  39. make %{?_smp_mflags}
  40. %check
  41. make check
  42. %install
  43. rm -rf %{buildroot}
  44. make DESTDIR=%{buildroot} install
  45. rm -rf %{buildroot}%{_libdir}/*.la
  46. rm -rf %{buildroot}%{_libdir}/*.a
  47. %clean
  48. rm -rf %{buildroot}
  49. %files
  50. %defattr(-, root, root, -)
  51. %license COPYING
  52. %doc AUTHORS ChangeLog README
  53. %{_bindir}/exempi
  54. %{_libdir}/*.so.*
  55. %{_mandir}/man1/exempi.1*
  56. %files devel
  57. %defattr(-, root, root, -)
  58. %{_includedir}/exempi-2.0/
  59. %{_libdir}/*.so
  60. %{_libdir}/pkgconfig/*.pc
  61. %changelog
  62. * Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.2-1
  63. - updated to 2.5.2.
  64. - dropped ldconfig scriptlets.
  65. * Fri Apr 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.5-1
  66. - updated to 2.4.5.
  67. * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  68. - updated to 2.3.0.
  69. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
  70. - update to 2.2.2
  71. * Fri Jan 3 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-1
  72. - update to 2.2.1
  73. - add exempi(1) manpage
  74. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  75. - new upstream release
  76. * Mon Jun 13 2011 IWAI, Masaharu <iwai@alib.jp> 2.1.1-1
  77. - initial build for Vine Linux
  78. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  80. * Mon May 3 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1.1-1
  81. - Update to 2.1.1
  82. - Add testsuite execution
  83. - Removed build patch for gcc-4.4 (fixed in upstream)
  84. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-4
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  86. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  88. * Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2
  89. - Add patch to build with gcc-4.4
  90. * Tue Jan 06 2009 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1
  91. - Update to 2.1.0
  92. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.1-1
  93. - Update to 2.0.1
  94. * Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 2.0.0-1
  95. - Update to 2.0.0
  96. * Fri Feb 08 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.9-1
  97. - Update to 1.99.9
  98. * Sun Jan 13 2008 Deji Akingunola <dakingun@gmail.com> - 1.99.7-1
  99. - Update to 1.99.7
  100. * Mon Dec 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.5-1
  101. - Update to 1.99.5
  102. * Wed Sep 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-2
  103. - Rebuild for expat 2.0
  104. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.4-1
  105. - Update tp 1.99.4
  106. * Tue Jul 10 2007 Deji Akingunola <dakingun@gmail.com> - 1.99.3-1
  107. - Initial packaging for Fedora