raptor-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. Name: raptor
  2. Summary: RDF Parser Toolkit for Redland
  3. Version: 1.4.21
  4. Release: 3%{?_dist_release}
  5. License: LGPLv2+ or ASL 2.0
  6. Group: System Environment/Libraries
  7. URL: http://librdf.org/raptor/
  8. Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
  9. # Make the raptor-config file multilib friendly (RHBZ#477342)
  10. Patch0: raptor-config-multilib.patch
  11. ## upstream patches
  12. Patch100: raptor-1.4.21-curl.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: curl-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libxslt-devel
  17. %description
  18. Raptor is the RDF Parser Toolkit for Redland that provides a set of
  19. Resource Description Framework (RDF) parsers and serializers,
  20. generating RDF triples from the following syntaxes: RDF/XML,
  21. N-Triples, Turtle, several XML RSS tag soup formats, Atom 0.3 and
  22. Atom 1.0 and serializing RDF triples to syntaxes: RDF/XML, RSS 1.0,
  23. Atom 1.0, N-Triples, Adobe XMP, Turtle and GraphViz DOT.
  24. %package devel
  25. Summary: Libraries, includes etc to develop with Raptor RDF parser library
  26. Group: Development/Libraries
  27. Requires: raptor = %{version}-%{release}
  28. %description devel
  29. Libraries, includes etc to develop with Raptor RDF parser and
  30. serializer library.
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .multilib
  34. %patch100 -p1 -b .curl
  35. # Fix encoding
  36. iconv -f ISO-8859-1 -t UTF8 NEWS > NEWS.tmp
  37. touch -r NEWS NEWS.tmp
  38. mv -f NEWS.tmp NEWS
  39. # hack to nuke rpaths
  40. %if "%{_libdir}" != "/usr/lib"
  41. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  42. %endif
  43. %build
  44. %configure --enable-release --disable-static
  45. make %{?_smp_mflags}
  46. %install
  47. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  50. # include %{_bindir}/rapper in raptor2
  51. rm -f $RPM_BUILD_ROOT%{_bindir}/rapper
  52. rm -fv $RPM_BUILD_ROOT%{_mandir}/man1/rapper.1*
  53. %clean
  54. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-, root, root)
  59. %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE-2.0.txt LICENSE.html
  60. %doc LICENSE.txt NEWS NEWS.html NOTICE README README.html RELEASE.html
  61. %doc *.html
  62. #{_bindir}/rapper
  63. %{_libdir}/libraptor*.so.*
  64. #{_mandir}/man1/rapper.1*
  65. %files devel
  66. %defattr(-, root, root)
  67. %{_bindir}/raptor-config
  68. %{_libdir}/libraptor*.so
  69. %{_libdir}/pkgconfig/raptor.pc
  70. %{_includedir}/*
  71. %{_mandir}/man1/raptor-config.1*
  72. %{_mandir}/man3/libraptor.3*
  73. %doc %{_datadir}/gtk-doc/html/raptor/*
  74. %changelog
  75. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-3
  76. - omit rapper, include in raptor2 instead
  77. - upstream patch to fix build against newer libcurl
  78. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-2
  79. - rebuilt with rpm-4.8.1
  80. * Sun Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-1
  81. - new upstream release
  82. - built with new toolchain
  83. * Thu Aug 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.19-1
  84. - new upstream release
  85. * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-2
  86. - rebuild with openldap-2.4.11
  87. - add BR: openldap-devel
  88. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-1
  89. - new upstream release
  90. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-1
  91. - fix release
  92. - drop .a
  93. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl2
  94. - drop .la
  95. * Fri Oct 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl1
  96. - new upstream release
  97. - add BuildPrereq: expat-devel
  98. * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.15-0vl1
  99. - initial release for VineSeed
  100. * Fri Jan 5 2007 Dave Beckett <dave@dajobe.org>
  101. - Document Turtle and DOT serializers
  102. * Wed Feb 15 2006 Dave Beckett <dave@dajobe.org>
  103. - Add libxslt and libxslt-devel for GRDDL
  104. * Wed Dec 20 2005 Dave Beckett <dave@dajobe.org>
  105. - Update description of parsers and serializers.
  106. * Wed Nov 9 2005 Dave Beckett <dave@dajobe.org>
  107. - Add gtk-doc documentation
  108. * Wed Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  109. - Update Source:
  110. - Use %makeinstall
  111. * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  112. - Use %configure and %{_make}
  113. * Thu Sep 9 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
  114. - License now LGPL/Apache 2
  115. - Added LICENSE-2.0.txt and NOTICE
  116. * Tue May 11 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
  117. - Added RELEASE.html
  118. * Thu Apr 17 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
  119. - Added pkgconfig raptor.pc, raptor-config
  120. - Requires curl
  121. * Mon Jan 13 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
  122. - rdfdump now rapper
  123. * Fri Dec 20 2002 Dave Beckett <Dave.Beckett@bristol.ac.uk>
  124. - Updated to have two RPMs for raptor and raptor-devel. Depend on
  125. libxml2 as XML parser.