File rasqal.spec of Package rasqal

#
# spec file for package rasqal (Version 0.9.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           rasqal
Version:        0.9.16
Release:        1
#
License:        LGPL v2.1 or later; The Apache Software License
Group:          Development/Libraries/C and C++
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  bison flex gtk-doc libraptor-devel >= 1.4.9 libxml2-devel pcre-devel pkg-config
#
Url:            http://librdf.org/rasqal/
Source:         http://download.librdf.org/source/%{name}-%{version}.tar.bz2
#
Summary:        Rasqal RDF Parser Toolkit for Redland

%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.



Authors:
--------
    Dave Beckett <dave@dajobe.org>

%package -n librasqal1
License:        LGPL v2.1 or later; The Apache Software License
Summary:        Rasqal RDF Parser Toolkit for Redland
Group:          System/Libraries

%description -n librasqal1
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.



Authors:
--------
    Dave Beckett <dave@dajobe.org>

%package -n librasqal-devel
License:        LGPL v2.1 or later; The Apache Software License
Summary:        Development package for the Rasqal RDF query library
Group:          Development/Languages/C and C++
Requires:       librasqal1 = %{version} libraptor-devel >= 1.4.9

%description -n librasqal-devel
This package contains the files needed to develop with the Rasqal RDF
query language library.



Authors:
--------
    Dave Beckett <dave@dajobe.org>

%prep
%setup -q

%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
autoreconf -fi
%configure --enable-release --with-raptor=system \
  --with-html-dir=%{_docdir}/%{name}-devel/ \
  --includedir=%{_includedir}/%{name} \
  --disable-static \
  --disable-gtk-doc \
  --with-pic \
  --with-regex-library=pcre
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall docdir=%{_docdir}/%{name}
%{__rm} -f %{buildroot}%{_libdir}/*.la

%clean
%{__rm} -rf %{buildroot}

%post -n librasqal1 -p /sbin/ldconfig

%postun -n librasqal1 -p /sbin/ldconfig

%files -n librasqal1
%defattr(-, root, root)
%{_libdir}/lib*.so.1*

%files -n librasqal-devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_mandir}/man1/rasqal-config.1*
%{_mandir}/man3/librasqal.3*
%{_libdir}/pkgconfig/rasqal.pc
%{_includedir}/%{name}/
%{_bindir}/rasqal-config
%doc %{_docdir}/%{name}-devel/

%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%doc LICENSE-2.0.txt NOTICE
%doc *.html
%{_bindir}/roqet
%{_mandir}/man1/roqet.1*

%changelog
* Fri Jul 25 2008 dmueller@suse.de
- update to version 0.9.16:
  * Added a rasqal_world object used for all constructor functions
  * Removed deprecated functions and macros
  * Fixed some memory leaks and made some low-memory resiliance fixes
  * Query result sets can be read/written from sparql XML results format
  * Improved error syntax error reporting
* Sat Jan 05 2008 dmueller@suse.de
- update buildrequires
* Sat Dec 15 2007 stbinner@suse.de
- Update to version 0.9.15
  * Many updates for supporting W3C SPARQL Proposed Recommendation.
  Passes over 92%% of the DAWG SPARQL Test Suite.
  * Many query engine improvements.
  * Substantial improvements to datatypes support and evaluation.
  * Many improvements and fixes for use in low-memory situations
  * Several new APIs were added including a new XSD decimal class
* Sun Aug 26 2007 crrodriguez@suse.de
- build needs -fno-strict-aliasing.
- PCRE is the recommended regex library and the default but
  package neither required pcre-devel nor the autodetection worked.
- add missing calls to ldconfig.
- remove unneeded static libraries and libtool archives.
* Fri May 04 2007 dmueller@suse.de
- Fix package requires
* Thu May 03 2007 wstephenson@suse.de
- name -devel subpackage correctly
* Wed May 02 2007 wstephenson@suse.de
- Update to version 0.9.14
  * Added syntax and API support (but no query engine support)
  for experimental extensions to SPARQL called LAQRS:
  LAQRS Adds to Querying RDF in SPARQL.
  * Fixed issues: Issue#0000152, Issue#0000156, Issue#0000160,
  Issue#0000167, Issue#0000182, from the Redland Issue Tracker.
- Version 0.9.13
  * Added a new rasqal_query_results_formatter class.
  * Many internal query engine changes, mostly to separate query
  and query_results internals so that eventually the run-time
  execution context is entirely separated from the static query structure.
  * Added query features system with one initial feature RASQAL_FEATURE_NO_NET.
* Thu Jul 13 2006 - mrueckert@suse.de
- spec file cleanup
* Thu Jun 26 2006 - dmacvicar@suse.de
- initial package of 0.9.12