rasqal-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. Name: rasqal
  2. Summary: RDF Query Library
  3. Version: 0.9.26
  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: pcre-devel
  13. BuildRequires: raptor2-devel
  14. # for the testsuite
  15. BuildRequires: perl-XML-DOM
  16. %description
  17. Rasqal is a library providing full support for querying Resource
  18. Description Framework (RDF) including parsing query syntaxes, constructing
  19. the queries, executing them and returning result formats. It currently
  20. handles the RDF Data Query Language (RDQL) and SPARQL Query language.
  21. %package devel
  22. Summary: Libraries, includes etc to develop with the Rasqal RDF query library
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: raptor2-devel
  26. %description devel
  27. Libraries, includes etc to develop with the Rasqal RDF query language library.
  28. %prep
  29. %setup -q
  30. # hack to nuke rpaths
  31. %if "%{_libdir}" != "/usr/lib"
  32. sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
  33. %endif
  34. %build
  35. %configure --enable-release --enable-silent-rules --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. # unpackaged files
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  42. %check
  43. if [ -x %{_bindir}/rapper ]; then
  44. %ifarch ppc64 s390x
  45. make -k check ||:
  46. %else
  47. make -k check
  48. %endif
  49. else
  50. echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped"
  51. fi
  52. %clean
  53. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %defattr(-, root, root)
  58. %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
  59. %doc LICENSE-2.0.txt NOTICE
  60. %doc *.html
  61. %{_libdir}/librasqal*.so.*
  62. %{_bindir}/roqet
  63. %{_mandir}/man1/roqet.1*
  64. %{_mandir}/man3/librasqal.3*
  65. %files devel
  66. %defattr(-, root, root)
  67. %doc docs/README.html
  68. %{_bindir}/rasqal-config
  69. %{_libdir}/librasqal*.so
  70. %{_libdir}/pkgconfig/rasqal.pc
  71. %{_includedir}/*
  72. %{_mandir}/man1/rasqal-config.1*
  73. %doc %{_datadir}/gtk-doc/html
  74. %changelog
  75. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1
  76. - new upstream release
  77. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1
  78. - new upstream release
  79. - rebuilt with rpm-4.8.1
  80. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1
  81. - new upstream release
  82. * Sun Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1
  83. - new upstream release
  84. - built with new toolchain
  85. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1
  86. - new upstream release
  87. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1
  88. - fix release
  89. - drop .a
  90. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2
  91. - drop .la
  92. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1
  93. - new upstream release
  94. * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1
  95. - initial release for VineSeed
  96. * Wed Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  97. - Update Source:
  98. - Use %%makeinstall
  99. * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  100. - Use %%configure.
  101. * Fri Jul 28 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  102. - Updated for gtk-doc locations
  103. * Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk>
  104. - License now LGPL/Apache 2
  105. - Added LICENSE-2.0.txt and NOTICE
  106. * Wed May 5 2004 <Dave.Beckett@bristol.ac.uk>
  107. - Ship roqet and roqet.1
  108. * Sat May 1 2004 <Dave.Beckett@bristol.ac.uk>
  109. - Requires raptor 1.3.0
  110. * Mon Feb 24 2004 <Dave.Beckett@bristol.ac.uk>
  111. - Requires raptor
  112. * Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk>
  113. - Initial packaging