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