raptor2-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: raptor2
  2. Summary: RDF Parser Toolkit for Redland
  3. Version: 2.0.5
  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. %description devel
  30. %{summary}.
  31. %prep
  32. %setup -q
  33. #patch50 -p1 -b .raptor2_doc
  34. # hack to nuke rpaths
  35. %if "%{_libdir}" != "/usr/lib"
  36. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  37. %endif
  38. %build
  39. %configure --disable-static --enable-release
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR=$RPM_BUILD_ROOT install
  44. ## unpackaged files
  45. rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
  46. %check
  47. make check
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %doc AUTHORS ChangeLog NEWS README
  54. %doc COPYING* LICENSE.txt LICENSE-2.0.txt
  55. %{_libdir}/libraptor2.so.0*
  56. %{_bindir}/rapper
  57. %{_mandir}/man1/rapper*
  58. %files devel
  59. %doc UPGRADING.html
  60. %{_includedir}/raptor2/
  61. %{_libdir}/libraptor2.so
  62. %{_libdir}/pkgconfig/raptor2.pc
  63. %{_mandir}/man3/libraptor2*
  64. %dir %{_datadir}/gtk-doc
  65. %dir %{_datadir}/gtk-doc/html/
  66. %{_datadir}/gtk-doc/html/raptor2/
  67. %changelog
  68. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.5-1
  69. - new upstream release
  70. - added BR: libxml2-devel
  71. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3
  72. - Initial build for Vine Linux
  73. * Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2
  74. - include rapper here
  75. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
  76. - 2.0.4
  77. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3
  78. - upstream patch to fix build against newer libcurl
  79. * Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2
  80. - -devel: drop Group: tag
  81. - add lot's of %%doc's
  82. - License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer)
  83. * Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1
  84. - first try