File redland.spec of Package redland
#
# spec file for package redland (Version 1.0.8)
#
# 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: redland
Version: 1.0.8
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: LGPL v2.1 or later; The Apache Software License
Group: System/Libraries
Url: http://www.librdf.org
Source: http://download.librdf.org/source/redland-%{version}.tar.bz2
Summary: a set of free software libraries that provide support for the Resource Description Framework (RDF)
BuildRequires: libraptor-devel >= 1.4.15
BuildRequires: librasqal-devel >= 0.9.14
BuildRequires: db-devel pkg-config sqlite-devel
%description
Redland is a library that provides a high-level interface for RDF
(Resource Description Framework) implemented in an object-based API. It
is modular and supports different RDF parsers, serializers, storage and
query languages. Redland is designed for developers to provide RDF
support in their applications as well as a core library for RDF
developers to start with.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%package -n libredland-devel
License: LGPL v2.1 or later; The Apache Software License
Summary: Development package for programs that use Redland.
Group: Development/Libraries/C and C++
Requires: libredland0 = %{version} librasqal-devel >= 0.9.14
%description -n libredland-devel
Files needed to develop with the Redland RDF library.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%package -n libredland0
License: LGPL v2.1 or later; The Apache Software License
Summary: a set of free software libraries that provide support for the Resource Description Framework (RDF)
Group: System/Libraries
%description -n libredland0
Redland is a library that provides a high-level interface for RDF
(Resource Description Framework) implemented in an object-based API. It
is modular and supports different RDF parsers, serializers, storage and
query languages. Redland is designed for developers to provide RDF
support in their applications as well as a core library for RDF
developers to start with.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%prep
%setup -q
%build
# only compile bdb backend as it seems to be the recommended one?
%configure --enable-release --with-raptor=system --with-rasqal=system \
--with-threestore=no --with-sqlite=3 \
--without-postgresql \
--without-mysql \
--with-pic \
--disable-static \
--with-html-dir=%{_docdir}/%{name}-devel/ \
--includedir=%{_includedir}/%{name}
%{__make} %{?jobs:-j %jobs}
%install
%makeinstall docdir=%{_docdir}/%{name}-devel/
rm -f %{buildroot}%{_libdir}/librdf*.la
%check
%if %suse_version > 1030
export MALLOC_CHECK_=2
make check
unset MALLOC_CHECK_
%endif
%clean
%{__rm} -rf %{buildroot}
%post -n libredland0 -p /sbin/ldconfig
%postun -n libredland0 -p /sbin/ldconfig
%files -n libredland0
%defattr(-, root, root)
%{_libdir}/librdf*.so.*
%files -n libredland-devel
%defattr(-, root, root)
%{_bindir}/redland-config
%{_libdir}/librdf*.so
%{_libdir}/pkgconfig/redland.pc
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/Redland.i
%{_includedir}/%{name}/
%{_mandir}/man1/redland-config.1*
%{_mandir}/man3/redland.3*
%doc %{_docdir}/%{name}-devel/
%files
%defattr(-, root, root)
%{_bindir}/rdfproc
%{_bindir}/redland-db-upgrade
%{_mandir}/man1/redland-db-upgrade.1*
%{_mandir}/man1/rdfproc.1*
%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%doc LICENSE-2.0.txt NOTICE
%changelog
* Fri Jul 25 2008 dmueller@suse.de
- update to 1.0.8
* add in memory index trees
* fix mysql connect hang
* Mon Apr 07 2008 dmueller@suse.de
- disable testsuite for older distributions
- build parallel again
* Sun Apr 06 2008 crrodriguez@suse.de
- update to version 1.0.7
* 0000187: "rdf_query_results.c", line 630: void function cannot return value
* 0000189: librdf_uri_is_file_uri: wrong return value
* 0000203: API declarations for Symbian portability
* 0000205: Memory leak in rdf_query_rasqal.c
* 0000209: Null dereference + assertion failures in minimal librdf setup-cleanup
* 0000213: Multiple instances of world object make trouble
* 0000215: librdf_new_node_from_typed_counted_literal() does not respect parameter lengths
* 0000218: librdf_query_execute does not assert model parameter
* 0000229: Segmentation fault when invoking librdf_new_model_from_model()
* 0000230: on Gentoo/FreeBSD redland fails compilation due to a missing #define pthread.h
* 0000234: autogen.sh $dir quoting
* 0000235: $(EXEEXT) in tests
* 0000236: EOL issues when building svn version on cygwin
- disable static libraries
- remove "la" file
- cleanup -devel package dependencies again
* Thu Feb 28 2008 dmueller@suse.de
- add missing post/postun ldconfig calls
* Fri Feb 15 2008 dmueller@suse.de
- reduce -devel requires
* Tue Jan 15 2008 dmueller@suse.de
- build without postgres/mysql support for now, sqlite and bdb is
enough. Please report if the backend support is required
* Wed May 09 2007 wstephenson@suse.de
- update to version 1.0.6
* Added a new transactions API for graph changes, implemented for
MySQL
* Added a new query results formatter class
* Many other bug fixes addressing Issues #0000175, #0000173,
[#0000159], #0000153, #0000150 and #0000038
* Fri May 04 2007 dmueller@suse.de
- fix requires
* Thu May 03 2007 wstephenson@suse.de
- rename -devel subpackage
* Wed May 02 2007 wstephenson@suse.de
- update to version 1.0.5
* Several API additions
* Parsing methods can take a NULL base URI when it is not needed
* Added serializer methods to serialize from a stream
* Many fixes and improvements to the SQLite storage
* Export some more functions to the SWIG binding
* Many minor improvements
* Many other bug fixes addressing Issues #0000092, #0000103,
[#0000105], #0000107, #0000114, #0000116, #0000125, #0000130,
[#0000132], #0000136 and #0000139.
* Thu Jul 13 2006 mrueckert@suse.de
- specfile cleanup
* Mon Jun 26 2006 - dmacvicar@suse.de
- initial package of 1.0.4