rasqal-vl.spec 4.0 KB

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