raptor2-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Name: raptor2
  2. Summary: RDF Systax Library
  3. Version: 2.0.14
  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. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: curl-devel
  12. BuildRequires: gtk-doc
  13. BuildRequires: libxml2-devel
  14. BuildRequires: libxslt-devel
  15. BuildRequires: yajl-devel >= 2.0.0
  16. # when /usr/bin/rappor moved here -- rex
  17. Conflicts: raptor < 1.4.21-3%{?_dist_release}
  18. %description
  19. Raptor is a free software / Open Source C library that provides
  20. a set of parsers and serializers that generate Resource
  21. Description Framework (RDF) triples by parsing syntaxes or
  22. serialize the triples into a syntax. The supported parsing
  23. syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG,
  24. Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including
  25. all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for
  26. HTML, XHTML and XML. The serializing syntaxes are RDF/XML
  27. (regular, abbreviated, XMP), Turtle 2013, N-Quads, N-Triples 1.1,
  28. Atom 1.0, RSS 1.0, GraphViz DOT, HTML and JSON.
  29. %package devel
  30. Summary: Development files for %{name}
  31. Summary(ja): %{name} の開発用ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. %description devel
  35. %{summary}.
  36. %prep
  37. %setup -q
  38. # hack to nuke rpaths
  39. %if "%{_libdir}" != "/usr/lib"
  40. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  41. %endif
  42. %build
  43. %configure --disable-static --enable-release --enable-silent-rules
  44. make %{?_smp_mflags}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make DESTDIR=$RPM_BUILD_ROOT install
  48. ## unpackaged files
  49. rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
  50. %check
  51. make check
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %doc AUTHORS ChangeLog NEWS README
  58. %doc COPYING* LICENSE.txt LICENSE-2.0.txt
  59. %{_libdir}/libraptor2.so.0*
  60. %{_bindir}/rapper
  61. %{_mandir}/man1/rapper*
  62. %files devel
  63. %doc UPGRADING.html
  64. %{_includedir}/raptor2/
  65. %{_libdir}/libraptor2.so
  66. %{_libdir}/pkgconfig/raptor2.pc
  67. %{_mandir}/man3/libraptor2*
  68. %dir %{_datadir}/gtk-doc
  69. %dir %{_datadir}/gtk-doc/html/
  70. %{_datadir}/gtk-doc/html/raptor2/
  71. %changelog
  72. * Thu Sep 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.14-1
  73. - new upstream release
  74. * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.11-1
  75. - new upstream release
  76. * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-1
  77. - new upstream release
  78. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.9-1
  79. - new upstream release
  80. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.8-1
  81. - new upstream release
  82. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.5-1
  83. - new upstream release
  84. - added BR: libxml2-devel
  85. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3
  86. - Initial build for Vine Linux
  87. * Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2
  88. - include rapper here
  89. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
  90. - 2.0.4
  91. * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3
  92. - upstream patch to fix build against newer libcurl
  93. * Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2
  94. - -devel: drop Group: tag
  95. - add lot's of %%doc's
  96. - License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer)
  97. * Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1
  98. - first try