Name: rasqal Version: 0.9.12 Release: 3%{?dist} Summary: Rasqal RDF Query Library Group: System Environment/Libraries License: LGPL or Apache Software License 2.0 URL: http://librdf.org/rasqal/ Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: raptor >= 1.4.9 BuildRequires: raptor-devel >= 1.4.9 BuildRequires: gtk-doc # to avoid /usr/lib64 rpath on x86_64 BuildRequires: libtool %description Rasqal is a library providing full support for querying Resource Description Framework (RDF) including parsing query syntaxes, constructing the queries, executing them and returning result formats. It currently handles the RDF Data Query Language (RDQL) and SPARQL Query language. %package devel Summary: Development files for the Rasqal RDF libraries Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: raptor-devel >= 1.4.8 %description devel Libraries, includes etc to develop with the Rasqal RDF query language library. %prep %setup -q %build # disable-static does not work if we override to use the system's libtool %configure --enable-release --with-raptor=system --disable-static # avoid getting /usr/lib64 rpath on x86_64 build make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} %check make check %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_mandir}/man1 install -d $RPM_BUILD_ROOT%{_mandir}/man3 make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; # remove .a files that we now get because of overriding libtool find $RPM_BUILD_ROOT -name \*.a -exec rm {} \; %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README %doc LICENSE-2.0.txt NOTICE %doc *.html %{_bindir}/roqet %{_libdir}/librasqal*.so.* %{_mandir}/man1/roqet.1* %{_mandir}/man3/librasqal.3* %files devel %defattr(-,root,root,-) %doc docs/README.html %{_libdir}/librasqal*.so %{_includedir}/* %{_bindir}/rasqal-config %{_mandir}/man1/rasqal-config.1* %{_libdir}/pkgconfig/rasqal.pc %{_datadir}/gtk-doc/html %changelog * Fri Nov 17 2006 Thomas Vander Stichele - 0.9.12-3 - rpmlint cleanup * Thu Oct 26 2006 Thomas Vander Stichele - 0.9.12-2 - Surrender and use DESTDIR install * Sat Jun 17 2006 Thomas Vander Stichele - 0.9.12-2 - fixed x86_64 rpath issue with an ugly hack - removed OPTIMIZE from make invocation - added smp flags - added make check - updated license * Sun May 14 2006 Thomas Vander Stichele - 0.9.12-1 - new upstream release * Fri Apr 07 2006 Thomas Vander Stichele - 0.9.11-1: packaged for Fedora Extras * Wed Aug 11 2005 Dave Beckett - Update Source: - Use makeinstall macro * Wed Aug 10 2005 Dave Beckett - Use configure macro. * Fri Jul 28 2005 Dave Beckett - Updated for gtk-doc locations * Fri Oct 22 2004 - License now LGPL/Apache 2 - Added LICENSE-2.0.txt and NOTICE * Wed May 5 2004 - Ship roqet and roqet.1 * Sat May 1 2004 - Requires raptor 1.3.0 * Mon Feb 24 2004 - Requires raptor * Mon Aug 11 2003 - Initial packaging