Hello community,
here is the log from the commit of package redland for openSUSE:Factory
checked in at Tue Mar 8 13:39:47 CET 2011.
--------
--- KDE/redland/redland.changes 2010-10-19 17:08:25.000000000 +0200
+++ /mounts/work_src_done/STABLE/redland/redland.changes 2011-02-15 17:53:51.000000000 +0100
@@ -1,0 +2,16 @@
+Tue Feb 15 16:47:42 UTC 2011 - davejplater@gmail.com
+
+- Removed incomplete patch redland-perl-vendor_perl.patch until the
+ fix is ready.
+
+-------------------------------------------------------------------
+Sun Jan 30 22:44:01 UTC 2011 - davejplater@gmail.com
+
+- Perl bindings install in site_arch disabled with bcond
+
+-------------------------------------------------------------------
+Sun Jan 16 11:05:09 UTC 2011 - davejplater@gmail.com
+
+- Added perl, python, php5 and ruby bindings.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
redland-bindings-1.0.11.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ redland.spec ++++++
--- /var/tmp/diff_new_pack.DyFbCz/_old 2011-03-08 13:37:29.000000000 +0100
+++ /var/tmp/diff_new_pack.DyFbCz/_new 2011-03-08 13:37:29.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package redland (Version 1.0.12)
+# spec file for package redland
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -17,18 +17,24 @@
# norootforbuild
+%bcond_with perl
+%define bindversion 1.0.11.1
Name: redland
Version: 1.0.12
-Release: 1
+Release: 6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: LGPLv2.1+ ; ASLv..
Group: System/Libraries
Url: http://www.librdf.org
-Source: http://download.librdf.org/source/redland-%{version}.tar.bz2
+Source0: http://download.librdf.org/source/%{name}-%{version}.tar.bz2
+Source1: http://download.librdf.org/source/%{name}-bindings-%{bindversion}.tar.bz2
Summary: Libraries that provide support for the Resource Description Framework (RDF)
BuildRequires: libraptor-devel librasqal-devel
BuildRequires: db-devel pkg-config sqlite-devel
+# Build requirements for bindings
+BuildRequires: perl-base php5-devel swig
+BuildRequires: python-devel ruby-devel
%description
Redland is a library that provides a high-level interface for RDF
@@ -39,7 +45,6 @@
developers to start with.
-
Authors:
--------
Dave Beckett
@@ -54,7 +59,6 @@
Files needed to develop with the Redland RDF library.
-
Authors:
--------
Dave Beckett
@@ -74,19 +78,21 @@
developers to start with.
-
Authors:
--------
Dave Beckett
%prep
+
%setup -q
+# Unpack bindings
+%setup -q -T -D -a 1
%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-postgresql --with-virtuoso=no \
--without-mysql \
--with-pic \
--disable-static \
@@ -94,9 +100,53 @@
--includedir=%{_includedir}/%{name}
%{__make} %{?jobs:-j %jobs}
+# Build bindings
+pushd %{name}-bindings-%{bindversion}
+find ./ -name Makefile.in -delete
+rm -f configure aclocal.m4
+export USE_MAINTAINER_MODE=no
+export PYTHON_LIB="%{python_sitearch}"
+ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+CONFIG_DIR="./build" ./autogen.sh \
+ --host=%{_host} --build=%{_build} \
+ --program-prefix=%{?_program_prefix} \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_exec_prefix} \
+ --bindir=%{_bindir} \
+ --sbindir=%{_sbindir} \
+ --sysconfdir=%{_sysconfdir} \
+ --datadir=%{_datadir} \
+ --includedir=%{_includedir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --localstatedir=%{_localstatedir} \
+ --sharedstatedir=%{_sharedstatedir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --with-redland=SOURCE \
+ --with-ruby \
+%if %{with perl}
+ --with-perl \
+%endif
+ --with-python \
+ --with-php
+
+%{__make} %{?jobs:-j %jobs}
+popd
+
%install
%makeinstall docdir=%{_docdir}/%{name}-devel/
rm -f %{buildroot}%{_libdir}/librdf*.la
+# install the bindings
+pushd %{name}-bindings-%{bindversion}
+%makeinstall
+%if %{with perl}
+find %{buildroot}%{perl_sitearch}/ -name '.packlist' -delete
+find %{buildroot}%{perl_sitearch}/ -empty -delete
+%endif
+popd
%check
%if %suse_version > 1030
@@ -140,4 +190,129 @@
%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%doc LICENSE-2.0.txt NOTICE
+# Package bindings.
+%if %{with perl}
+
+%package -n perl-redland
+License: LGPLv2.1+ ; ASLv..
+Summary: Perl bindings for programs that use Redland
+Group: Development/Languages/Perl
+Requires: perl-base = %{perl_version} libredland0 = %{version}
+
+%description -n perl-redland
+Redland librdf Language bindings provide high-level interfaces for
+RDF (Resource Description Framework) implemented on top of the
+Redland librdf library which provides an object-based RDF API,
+supports for syntaxes and triple stores.
+Perl language bindings for the Redland RDF library.
+
+Authors:
+--------
+ Dave Beckett
+
+%files -n perl-redland
+%defattr(-, root, root)
+%dir %{perl_sitearch}/RDF
+%dir %{perl_sitearch}/auto
+%dir %{perl_sitearch}/auto/RDF
+%dir %{perl_sitearch}/auto/RDF/Redland
+%dir %{perl_sitearch}/auto/RDF/Redland/CORE
+%{perl_archlib}/perllocal.pod
+%{perl_sitearch}/RDF/Redland.pm
+%{perl_sitearch}/RDF/Redland/*.pm
+%{perl_sitearch}/RDF/Redland/
+%{perl_sitearch}/auto/RDF/Redland/CORE/CORE.so
+%{_mandir}/man3/RDF::Redland.3pm.gz
+%{_mandir}/man3/RDF::Redland::BlankNode.3pm.gz
+%{_mandir}/man3/RDF::Redland::Iterator.3pm.gz
+%{_mandir}/man3/RDF::Redland::LiteralNode.3pm.gz
+%{_mandir}/man3/RDF::Redland::Model.3pm.gz
+%{_mandir}/man3/RDF::Redland::Node.3pm.gz
+%{_mandir}/man3/RDF::Redland::Parser.3pm.gz
+%{_mandir}/man3/RDF::Redland::Query.3pm.gz
+%{_mandir}/man3/RDF::Redland::QueryResults.3pm.gz
+%{_mandir}/man3/RDF::Redland::RSS.3pm.gz
+%{_mandir}/man3/RDF::Redland::Serializer.3pm.gz
+%{_mandir}/man3/RDF::Redland::Statement.3pm.gz
+%{_mandir}/man3/RDF::Redland::Storage.3pm.gz
+%{_mandir}/man3/RDF::Redland::Stream.3pm.gz
+%{_mandir}/man3/RDF::Redland::URI.3pm.gz
+%{_mandir}/man3/RDF::Redland::URINode.3pm.gz
+%{_mandir}/man3/RDF::Redland::XMLLiteralNode.3pm.gz
+%endif
+
+%package -n python-redland
+License: LGPLv2.1+ ; ASLv..
+Summary: Python bindings for programs that use Redland
+Group: Development/Languages/Python
+Requires: libredland0 = %{version} python-base = %{py_ver}
+
+%description -n python-redland
+Redland librdf Language bindings provide high-level interfaces for
+RDF (Resource Description Framework) implemented on top of the
+Redland librdf library which provides an object-based RDF API,
+supports for syntaxes and triple stores.
+Python language bindings for the Redland RDF library.
+
+Authors:
+--------
+ Dave Beckett
+
+%files -n python-redland
+%defattr(-, root, root)
+%{python_sitearch}/RDF.py
+%{python_sitearch}/Redland.so
+
+%define phpversion %(php-config --version)
+
+%package -n php5-redland
+License: LGPLv2.1+ ; ASLv..
+Summary: Php5 bindings for programs that use Redland
+Group: Development/Languages/Other
+Requires: php5 => %{phpversion} libredland0 = %{version}
+
+%description -n php5-redland
+Redland librdf Language bindings provide high-level interfaces for
+RDF (Resource Description Framework) implemented on top of the
+Redland librdf library which provides an object-based RDF API,
+supports for syntaxes and triple stores.
+Php5 language bindings for the Redland RDF library.
+
+Authors:
+--------
+ Dave Beckett
+
+%files -n php5-redland
+%defattr(-, root, root)
+%{_libdir}/php5/extensions/%{name}.so
+
+%package -n ruby-redland
+License: LGPLv2.1+ ; ASLv..
+Summary: Ruby bindings for programs that use Redland
+Group: Development/Languages/Ruby
+Requires: libredland0 = %{version}
+
+%description -n ruby-redland
+Redland librdf Language bindings provide high-level interfaces for
+RDF (Resource Description Framework) implemented on top of the
+Redland librdf library which provides an object-based RDF API,
+supports for syntaxes and triple stores.
+Ruby language bindings for the Redland RDF library.
+
+Authors:
+--------
+ Dave Beckett
+
+%files -n ruby-redland
+%defattr(-, root, root)
+%dir %{rb_libdir}/rdf
+%dir %{rb_libdir}/rdf/redland
+%dir %{rb_libdir}/rdf/redland/schemas
+%{rb_libdir}/rdf/%{name}.rb
+%{rb_libdir}/rdf/%{name}/*.rb
+%{rb_libdir}/rdf/redland/schemas/foaf.rb
+%{rb_libdir}/rdf/redland/schemas/owl.rb
+%{rb_libdir}/rdf/redland/schemas/rdfs.rb
+%{rb_archdir}/%{name}.so
+
%changelog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org