Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:GA
redland
redland.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File redland.spec of Package redland
# # spec file for package redland # # Copyright (c) 2013 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/ # %bcond_with perl Name: redland %define lname librdf0 Version: 1.0.16 Release: 0 Summary: Libraries that provide support for the Resource Description Framework (RDF) License: LGPL-2.1+ and Apache-2.0 Group: System/Libraries Url: http://www.librdf.org Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz %if 0%{?suse_version} >= 1210 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: redland-ocloexec.patch %endif Patch2: redland-db6.diff BuildRequires: autoconf BuildRequires: db-devel BuildRequires: librasqal-devel BuildRequires: pkg-config BuildRequires: postgresql-devel BuildRequires: sqlite-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %package -n libredland-devel Summary: Development package for programs that use Redland Group: Development/Libraries/C and C++ Requires: %lname = %version %description -n libredland-devel Files needed to develop with the Redland RDF library. %package -n %lname Summary: Libraries that provide support for the Resource Description Framework (RDF) Group: System/Libraries %requires_ge librasqal1 # Added for 13.1 time Obsoletes: libredland0 < %version-%release Provides: libredland0 = %version-%release %description -n %lname 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. %package -n redland-storage-postgresql Summary: Redland storage module for PostgresSQL Group: System/Libraries Requires: redland %description -n redland-storage-postgresql This store provides storage using the PostgreSQL open source database including contexts. %prep %setup -q %if 0%{?suse_version} >= 1210 %patch1 -p1 %endif # # If multiple libdb-X.Y.so are installed, redland's logic in configure.ac picks # the library by the numbers it knows (and it may not know future versions!), # but will use any available headers. This can lead to it choosing some random # libdb-X.Y.so that does not match up with the headers, for linking. # %patch -P 2 -p1 %build autoconf # 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 \ --with-postgresql --with-virtuoso=no \ --without-mysql \ --with-pic \ --disable-static \ --with-html-dir=%{_docdir}/%{name}-devel/ \ --includedir=%{_includedir}/%{name} make %{?_smp_mflags} %install make install DESTDIR="%buildroot" docdir=%{_docdir}/%{name}-devel/ rm -f %{buildroot}%{_libdir}/librdf*.la rm -f %{buildroot}%{_libdir}/redland/librdf_storage_postgresql.la %check %if 0%{?suse_version} > 1030 export MALLOC_CHECK_=2 make check unset MALLOC_CHECK_ %endif %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-, root, root) %{_libdir}/librdf.so.* %files -n libredland-devel %defattr(-, root, root) %{_bindir}/redland-config %{_libdir}/librdf.so %{_libdir}/pkgconfig/redland.pc %dir %{_libdir}/redland %{_libdir}/redland/librdf_storage_sqlite.la %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/Redland.i %{_includedir}/%{name}/ %{_mandir}/man1/redland-config.1* %{_mandir}/man3/redland.3* %doc %{_docdir}/%{name}-devel/ %files -n redland-storage-postgresql %defattr(-, root, root) %{_libdir}/redland/librdf_storage_postgresql.so %files %defattr(-, root, root) %{_bindir}/rdfproc %{_bindir}/redland-db-upgrade %{_libdir}/redland/librdf_storage_sqlite.so %{_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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor