rasqal-vl.spec 4.1 KB

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