rasqal-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: rasqal
  2. Summary: RDF Query Library
  3. Version: 0.9.28
  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. * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.28-1
  76. - new upstream release
  77. * Fri Nov 04 2011 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.26-2
  78. - rebuilt with mpfr-3.1.0
  79. * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1
  80. - new upstream release
  81. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1
  82. - new upstream release
  83. - rebuilt with rpm-4.8.1
  84. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1
  85. - new upstream release
  86. * Sun Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1
  87. - new upstream release
  88. - built with new toolchain
  89. * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1
  90. - new upstream release
  91. * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1
  92. - fix release
  93. - drop .a
  94. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2
  95. - drop .la
  96. * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1
  97. - new upstream release
  98. * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1
  99. - initial release for VineSeed
  100. * Wed Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  101. - Update Source:
  102. - Use %%makeinstall
  103. * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  104. - Use %%configure.
  105. * Fri Jul 28 2005 Dave Beckett <dave.beckett@bristol.ac.uk>
  106. - Updated for gtk-doc locations
  107. * Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk>
  108. - License now LGPL/Apache 2
  109. - Added LICENSE-2.0.txt and NOTICE
  110. * Wed May 5 2004 <Dave.Beckett@bristol.ac.uk>
  111. - Ship roqet and roqet.1
  112. * Sat May 1 2004 <Dave.Beckett@bristol.ac.uk>
  113. - Requires raptor 1.3.0
  114. * Mon Feb 24 2004 <Dave.Beckett@bristol.ac.uk>
  115. - Requires raptor
  116. * Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk>
  117. - Initial packaging