raptor2-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Name: raptor2
  2. Summary: RDF Parser Toolkit for Redland
  3. Version: 2.0.10
  4. Release: 1%{?_dist_release}
  5. License: GPLv2+ or LGPLv2+ or ASL 2.0
  6. Group: System Environment/Libraries
  7. URL: http://librdf.org/raptor/
  8. Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz
  9. ## upstreamable patches
  10. # make docs not conflict with raptor(1), DOC_MODULE=raptor2
  11. Patch50: raptor2-2.0.3-raptor2_doc.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: curl-devel
  14. BuildRequires: gtk-doc
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libxslt-devel
  17. BuildRequires: yajl-devel >= 2.0.0
  18. # when /usr/bin/rappor moved here -- rex
  19. Conflicts: raptor < 1.4.21-3%{?_dist_release}
  20. %description
  21. Raptor is the RDF Parser Toolkit for Redland that provides
  22. a set of standalone RDF parsers, generating triples from RDF/XML
  23. or N-Triples.
  24. %package devel
  25. Summary: Development files for %{name}
  26. Summary(ja): %{name} の開発用ファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: curl-devel >= 7.12.0
  30. Requires: libxml2-devel >= 2.6.8
  31. %description devel
  32. %{summary}.
  33. %prep
  34. %setup -q
  35. #patch50 -p1 -b .raptor2_doc
  36. # hack to nuke rpaths
  37. %if "%{_libdir}" != "/usr/lib"
  38. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  39. %endif
  40. %build
  41. %configure --disable-static --enable-release
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make DESTDIR=$RPM_BUILD_ROOT install
  46. ## unpackaged files
  47. rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
  48. %check
  49. make check
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %doc AUTHORS ChangeLog NEWS README
  56. %doc COPYING* LICENSE.txt LICENSE-2.0.txt
  57. %{_libdir}/libraptor2.so.0*
  58. %{_bindir}/rapper
  59. %{_mandir}/man1/rapper*
  60. %files devel
  61. %doc UPGRADING.html
  62. %{_includedir}/raptor2/
  63. %{_libdir}/libraptor2.so
  64. %{_libdir}/pkgconfig/raptor2.pc
  65. %{_mandir}/man3/libraptor2*
  66. %dir %{_datadir}/gtk-doc
  67. %dir %{_datadir}/gtk-doc/html/
  68. %{_datadir}/gtk-doc/html/raptor2/
  69. %changelog
  70. * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-1
  71. - new upstream release
  72. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.9-1
  73. - new upstream release
  74. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.8-1
  75. - new upstream release
  76. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.5-1
  77. - new upstream release
  78. - added BR: libxml2-devel
  79. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3
  80. - Initial build for Vine Linux
  81. * Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2
  82. - include rapper here
  83. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
  84. - 2.0.4
  85. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3
  86. - upstream patch to fix build against newer libcurl
  87. * Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2
  88. - -devel: drop Group: tag
  89. - add lot's of %%doc's
  90. - License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer)
  91. * Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1
  92. - first try