rasqal-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. Name: rasqal
  2. Summary: RDF Query Library
  3. Version: 0.9.32
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPLv2+ or ASL 2.0
  7. URL: http://librdf.org/rasqal/
  8. Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: libxml2-devel
  11. BuildRequires: mpfr-devel
  12. BuildRequires: libuuid-devel
  13. BuildRequires: libgcrypt-devel
  14. BuildRequires: raptor2-devel >= 2.0.7
  15. %description
  16. Rasqal is a free software / Open Source C library that handles Resource
  17. Description Framework (RDF) query language syntaxes, query construction
  18. and execution of queries returning results as bindings, boolean, RDF
  19. graphs/triples or syntaxes. The supported query languages are SPARQL
  20. Query 1.0, SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the
  21. Experimental SPARQL extensions (LAQRS). Rasqal can write binding query
  22. results in the SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables,
  23. RDF/XML and Turtle / N3 and read them in SPARQL XML, CSV, TSV, RDF/XML
  24. and Turtle / N3.
  25. %package devel
  26. Summary: Libraries, includes etc to develop with the Rasqal RDF query library
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: raptor2-devel >= 2.0.7
  30. %description devel
  31. Libraries, includes etc to develop with the Rasqal RDF query language library.
  32. %prep
  33. %setup -q
  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 --enable-release --enable-silent-rules --disable-static
  40. make %{?_smp_mflags}
  41. %install
  42. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. # unpackaged files
  45. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  46. %check
  47. if [ -x %{_bindir}/rapper ]; then
  48. %ifarch ppc64 s390x
  49. make -k check ||:
  50. %else
  51. make -k check
  52. %endif
  53. else
  54. echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped"
  55. fi
  56. %clean
  57. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files
  61. %defattr(-, root, root)
  62. %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
  63. %doc LICENSE-2.0.txt NOTICE
  64. %doc *.html
  65. %{_libdir}/librasqal*.so.*
  66. %{_bindir}/roqet
  67. %{_mandir}/man1/roqet.1*
  68. %{_mandir}/man3/librasqal.3*
  69. %files devel
  70. %defattr(-, root, root)
  71. %doc docs/README.html
  72. %{_bindir}/rasqal-config
  73. %{_libdir}/librasqal*.so
  74. %{_libdir}/pkgconfig/rasqal.pc
  75. %{_includedir}/*
  76. %{_mandir}/man1/rasqal-config.1*
  77. %doc %{_datadir}/gtk-doc/html
  78. %changelog
  79. * Fri Sep 12 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.32-1
  80. - new upstream release
  81. * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.30-1
  82. - new upstream release
  83. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.29-1
  84. - new upstream release
  85. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.28-1
  86. - new upstream release
  87. * Fri Nov 04 2011 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.26-2
  88. - rebuilt with mpfr-3.1.0
  89. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1
  90. - new upstream release
  91. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1
  92. - new upstream release
  93. - rebuilt with rpm-4.8.1
  94. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1
  95. - new upstream release
  96. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1
  97. - new upstream release
  98. - built with new toolchain
  99. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1
  100. - new upstream release
  101. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1
  102. - fix release
  103. - drop .a
  104. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2
  105. - drop .la
  106. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1
  107. - new upstream release
  108. * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1
  109. - initial release for VineSeed
  110. * Thu Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  111. - Update Source:
  112. - Use %%makeinstall
  113. * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  114. - Use %%configure.
  115. * Thu Jul 28 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  116. - Updated for gtk-doc locations
  117. * Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk>
  118. - License now LGPL/Apache 2
  119. - Added LICENSE-2.0.txt and NOTICE
  120. * Wed May 5 2004 <Dave.Beckett@bristol.ac.uk>
  121. - Ship roqet and roqet.1
  122. * Sat May 1 2004 <Dave.Beckett@bristol.ac.uk>
  123. - Requires raptor 1.3.0
  124. * Tue Feb 24 2004 <Dave.Beckett@bristol.ac.uk>
  125. - Requires raptor
  126. * Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk>
  127. - Initial packaging