File soprano.spec of Package soprano-backend-sesame
#
# spec file for package soprano (Version 2.1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: soprano
Url: http://soprano.sourceforge.net/
%if %suse_version > 1020
BuildRequires: fdupes
%endif
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: C++/Qt based interface library for RDF
# COMMON1-BEGIN
BuildRequires: cmake kde4-filesystem libqt4-devel libraptor-devel libredland-devel
BuildRequires: clucene-core-devel doxygen raptor
Version: 2.1.1
Release: 9
Source: soprano-%{version}.tar.bz2
Patch0: jni-include-fix.diff
# COMMON1-END
Requires: libsoprano4 = %{version}
Recommends: soprano_backend = %version
Suggests: soprano-backend-redland
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Soprano is an open and pluggable RDF resource framework which is build
on top of QT4. It provides RDF storage, RDF parsing, serialization,
inference, and full text indexing in a nice C++ API. The main target of
Soprano are desktop applications as it is being developed as a
subroject of Nepomuk, the semantic desktop initiative.
Authors:
--------
Daniele Galdi <daniele.galdi@gmail.com>
Sebastian Trueg <trueg@kde.org>
%prep
# COMMON2-BEGIN
%setup -q -n soprano-%version
%patch0
# COMMON2-END
%package -n libsoprano-devel
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: C++/Qt based interface library for RDF
Requires: libsoprano4 = %version
Requires: %name = %version
%if %suse_version > 1020
Requires: libqt4-devel >= %( echo `rpm -q --queryformat '%{VERSION}' libqt4-devel`)
%else
Requires: qt-devel >= %( echo `rpm -q --queryformat '%{VERSION}' qt-devel`)
%endif
Requires: clucene-core-devel >= %( echo `rpm -q --queryformat '%{VERSION}' clucene-core-devel`)
Requires: libraptor-devel libredland-devel
%description -n libsoprano-devel
Soprano is a RDF QT/C++ interface library using redland as a backend
Authors:
--------
Daniele Galdi <daniele.galdi@gmail.com>
Sebastian Trueg <trueg@kde.org>
%package -n libsoprano4
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: C++/Qt based interface library for RDF
%description -n libsoprano4
Soprano is an open and pluggable RDF resource framework which is build
on top of QT4. It provides RDF storage, RDF parsing, serialization,
inference, and full text indexing in a nice C++ API. The main target of
Soprano are desktop applications as it is being developed as a
subroject of Nepomuk, the semantic desktop initiative.
Authors:
--------
Daniele Galdi <daniele.galdi@gmail.com>
Sebastian Trueg <trueg@kde.org>
%package backend-redland
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: C++/Qt based interface library for RDF
Provides: soprano_backend = %version
Requires: libsoprano4 = %version
%description backend-redland
Soprano is a RDF QT/C++ interface library using redland as a backend
Authors:
--------
Daniele Galdi <daniele.galdi@gmail.com>
Sebastian Trueg <trueg@kde.org>
%build
%cmake_kde4 -d build -- -DCMAKE_SKIP_RPATH=OFF
%make_jobs
%install
cd build
%makeinstall
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT/usr/include
%endif
%post -n libsoprano4 -p /sbin/ldconfig
%postun -n libsoprano4 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS TODO
/usr/bin/onto2vocabularyclass
/usr/bin/sopranocmd
/usr/bin/sopranod
/usr/share/dbus-1/interfaces/org.soprano.Model.xml
/usr/share/dbus-1/interfaces/org.soprano.NodeIterator.xml
/usr/share/dbus-1/interfaces/org.soprano.QueryResultIterator.xml
/usr/share/dbus-1/interfaces/org.soprano.Server.xml
/usr/share/dbus-1/interfaces/org.soprano.StatementIterator.xml
%dir /usr/share/soprano
%dir /usr/share/soprano/rules
%dir /usr/share/soprano/plugins
/usr/share/soprano/rules/*
/usr/share/soprano/plugins/nquadparser.desktop
/usr/share/soprano/plugins/nquadserializer.desktop
/usr/share/soprano/plugins/raptorparser.desktop
/usr/share/soprano/plugins/raptorserializer.desktop
%dir %_libdir/soprano
%_libdir/soprano/libsoprano_nquadparser.so
%_libdir/soprano/libsoprano_nquadserializer.so
%_libdir/soprano/libsoprano_raptorparser.so
%_libdir/soprano/libsoprano_raptorserializer.so
%files -n libsoprano4
%defattr(-,root,root)
%_libdir/libsopranoclient.so.1
%_libdir/libsopranoclient.so.1.0.0
%_libdir/libsopranoserver.so.1
%_libdir/libsopranoserver.so.1.0.0
%_libdir/libsoprano.so.4
%_libdir/libsoprano.so.4.1.0
%_libdir/libsopranoindex.so.1
%_libdir/libsopranoindex.so.1.0.0
%files -n libsoprano-devel
%defattr(-,root,root)
/usr/include/soprano
/usr/include/Soprano
%_libdir/libsoprano.so
%_libdir/libsopranoindex.so
%_libdir/libsopranoclient.so
%_libdir/libsopranoserver.so
%_libdir/pkgconfig/soprano.pc
%files backend-redland
%defattr(-,root,root)
%_libdir/soprano/libsoprano_redlandbackend.so
/usr/share/soprano/plugins/redlandbackend.desktop
%changelog
* Tue Oct 14 2008 dmueller@suse.de
- correct spec file splitting again, was ordered incorrect
* Tue Oct 14 2008 dmueller@suse.de
- fix include handling for jni includes to fix ppc build
* Mon Sep 29 2008 dmueller@suse.de
- split sesame backend into seperate spec file to reduce build
dependencies
* Tue Sep 09 2008 dmueller@suse.de
- fix build for old distros
* Thu Aug 28 2008 dmueller@suse.de
- add missing runtime dependency
* Wed Aug 27 2008 dmueller@suse.de
- update to 2.1.1:
* http://soprano.sourceforge.net/node/26
* Wed Aug 27 2008 dmueller@suse.de
- need rpath for sesame2 backend
* Wed Jul 23 2008 dmueller@suse.de
- update to 2.1:
* http://soprano.sourceforge.net/node/25
* Tue Jul 22 2008 dmueller@suse.de
- fix requires again
* Mon Jul 21 2008 dmueller@suse.de
- split backends into separate packages
* Sat Jul 19 2008 dmueller@suse.de
- compile for older distros
* Fri Jul 18 2008 dmueller@suse.de
- enable sesame2 backend
* Fri Apr 25 2008 dmueller@suse.de
- update to final 2.0.98 (alpha1) release
* Wed Apr 16 2008 dmueller@suse.de
- update to 2.0.98 to fix the communication issues
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Mar 31 2008 dmueller@suse.de
- update from SVN
* Tue Mar 25 2008 dmueller@suse.de
- update to 2.0.97:
* new dbus interface
* Tue Mar 11 2008 dmueller@suse.de
- update to 2.0.3:
* Fixed a string caching bug in LiteralValue which resulted in
invalid string representations when assigning a QDate, QTime,
QDateTime, or QByteArray via operator=
* Use the CLucene StandardAnalyser by default instead of the
SimpleAnalyser. This fixes indexing of numbers.
* Mon Feb 18 2008 dmueller@suse.de
- update to 2.0.2:
* MutexModel in ReadWriteMultiThreading mode now allows multiple
read operations from the same thread at the same time even if a
write operation is waiting. This fixes a deadlock in the Nepomuk
Strigi backend from KDE.
* Fixed method statementCount in Sesame2 backend
* Redland backend: Always encode strings as xls:string rather
than rdfs:Literal values to match the Soprano guidelines.
* Always set a dummy base URI in the raptor serializer
* Fixed formatting of dateTime values.
* Fixed NRL namespace
* Fixed NAO namespace
* Fixed plugin loading on MAC OS/X
* Thu Feb 14 2008 dmueller@suse.de
- fix devel package requires
* Mon Jan 14 2008 dmueller@suse.de
- fix lockfile generation
* Sun Jan 13 2008 stbinner@suse.de
- add version dependency on libsoprano4 (#353512)
* Mon Jan 07 2008 dmueller@suse.de
- update to 2.0.0 final:
* Parser and serializer plugins for:
- raptor (rdf+xml, turtle, trig, nTriples)
- nQuads
* Hierarchical architecture which allows to stack multiple
filter models on top of an RDF storage.
* Thu Dec 20 2007 dmueller@suse.de
- update to svn750895:
* API additions for better performance
* Tue Dec 18 2007 stbinner@suse.de
- fix plugin loading on 64bit architectures
* Mon Dec 17 2007 stbinner@suse.de
- readd redland as build requirement
* Mon Dec 10 2007 dmueller@suse.de
- update to 1.99 (rc2):
* xesam interface, new ontology interface
* Tue Nov 06 2007 dmueller@suse.de
- update to 1.97.1 (beta4):
* small API cleanup, more installed CamelCased headers
* Tue Nov 06 2007 dmueller@suse.de
- fix installation of index headers
* Tue Oct 30 2007 dmueller@suse.de
- enable cluclene based indexing backend
* Tue Oct 16 2007 dmueller@suse.de
- remove fdupes for older distributions
* Wed Oct 10 2007 dmueller@suse.de
- rename library package
* Wed Oct 10 2007 dmueller@suse.de
- update to 1.95.0-beta2:
* removes redland dependency, uses raptor now directly
* new query API
* Mon Sep 03 2007 schwab@suse.de
- Fix broken compiler flags.
* Sat Jun 02 2007 dmueller@suse.de
- update to 0.9.0:
* crash fix
* Fri May 11 2007 dmueller@suse.de
- update to current SVN:
* small API change
* Fri May 04 2007 dmueller@suse.de
- update to 3.90.1:
* no actual code change
- fix packaging to match Library Policy
* Fri May 04 2007 dmueller@suse.de
- adapt libredland-devel rename
* Thu May 03 2007 dmueller@suse.de
- Initial package (trunk SVN)