SPECS: redland.spec - updated to 1.0.7 - updated link patch, added...

qboosh qboosh at pld-linux.org
Sun Jan 6 22:12:42 CET 2008


Author: qboosh                       Date: Sun Jan  6 21:12:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.7
- updated link patch, added storage-file patch
- use new modular build option, less devel deps

---- Files affected:
SPECS:
   redland.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/redland.spec
diff -u SPECS/redland.spec:1.42 SPECS/redland.spec:1.43
--- SPECS/redland.spec:1.42	Thu Jan  3 20:03:38 2008
+++ SPECS/redland.spec	Sun Jan  6 22:12:37 2008
@@ -6,13 +6,14 @@
 Summary:	Redland - a library that provides a high-level interface for RDF
 Summary(pl.UTF-8):	Redland - biblioteka udostępniająca wysokopoziomowy interfejs do RDF
 Name:		redland
-Version:	1.0.6
-Release:	4
-License:	LGPL v2.1+ or GPL v2+ or Apache v2
+Version:	1.0.7
+Release:	1
+License:	LGPL v2.1+ or GPL v2+ or Apache 2.0
 Group:		Libraries
 Source0:	http://download.librdf.org/source/%{name}-%{version}.tar.gz
-# Source0-md5:	901bf87252658c8b247dc6eda00f8724
+# Source0-md5:	4c066d3dcf6c25f8fb8c9007e73f293c
 Patch0:		%{name}-link.patch
+Patch1:		%{name}-storage-file.patch
 URL:		http://librdf.org/
 %if %{with threestore}
 BuildRequires:	3store-devel >= 2.0
@@ -22,18 +23,19 @@
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	db-devel
 BuildRequires:	gtk-doc
-BuildRequires:	libraptor-devel >= 1.4.15
+BuildRequires:	libltdl-devel
+BuildRequires:	libraptor-devel >= 1.4.16
 BuildRequires:	libtool
 BuildRequires:	mysql-devel >= 3.23.58
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig
 BuildRequires:	postgresql-devel
-BuildRequires:	rasqal-devel >= 1:0.9.14
+BuildRequires:	rasqal-devel >= 1:0.9.15
 BuildRequires:	rpmbuild(macros) >= 1.98
 BuildRequires:	sed >= 4.0
 BuildRequires:	sqlite3-devel >= 3
-Requires:	libraptor >= 1.4.15
-Requires:	rasqal >= 1:0.9.14
+Requires:	libraptor >= 1.4.16
+Requires:	rasqal >= 1:0.9.15
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,16 +62,10 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Redland RDF
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-%if %{with threestore}
-Requires:	3store-devel >= 2.0
-Requires:	3store-devel < 3.0
-%endif
 Requires:	db-devel
-Requires:	libraptor-devel >= 1.4.15
-Requires:	mysql-devel >= 3.23.58
-Requires:	postgresql-devel
-Requires:	rasqal-devel >= 1:0.9.14
-Requires:	sqlite3-devel >= 3
+Requires:	libltdl-devel
+Requires:	libraptor-devel >= 1.4.16
+Requires:	rasqal-devel >= 1:0.9.15
 
 %description devel
 Headers for Redland RDF library.
@@ -89,22 +85,62 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka Redland RDF.
 
-%package -n python-redland
-Summary:	Python bindings for Redland RDF library
-Summary(pl.UTF-8):	Pythonowy interfejs do biblioteki Redland RDF
-Group:		Libraries/Python
+%package storage-mysql
+Summary:	MySQL storage plugin for Redland RDF library
+Summary(pl.UTF-8):	Wtyczka przechowywania danych w bazie MySQL dla biblioteki Redland RDF
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description storage-mysql
+MySQL storage plugin for Redland RDF library.
+
+%description storage-mysql -l pl.UTF-8
+Wtyczka przechowywania danych w bazie MySQL dla biblioteki Redland
+RDF.
+
+%package storage-postgresql
+Summary:	PostgreSQL storage plugin for Redland RDF library
+Summary(pl.UTF-8):	Wtyczka przechowywania danych w bazie PostgreSQL dla biblioteki Redland RDF
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description storage-postgresql
+PostgreSQL storage plugin for Redland RDF library.
+
+%description storage-postgresql -l pl.UTF-8
+Wtyczka przechowywania danych w bazie PostgreSQL dla biblioteki
+Redland RDF.
+
+%package storage-sqlite
+Summary:	SQLite storage plugin for Redland RDF library
+Summary(pl.UTF-8):	Wtyczka przechowywania danych w bazie SQLite dla biblioteki Redland RDF
+Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
-%pyrequires_eq	python
 
-%description -n python-redland
-Python bindings for Redland RDF library
+%description storage-sqlite
+SQLite storage plugin for Redland RDF library.
+
+%description storage-sqlite -l pl.UTF-8
+Wtyczka przechowywania danych w bazie SQLite dla biblioteki Redland
+RDF.
+
+%package storage-tstore
+Summary:	3store storage plugin for Redland RDF library
+Summary(pl.UTF-8):	Wtyczka przechowywania danych w bazie 3store dla biblioteki Redland RDF
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
-%description -n python-redland -l pl.UTF-8
-Pythonowy interfejs do biblioteki Redland RDF
+%description storage-tstore
+3store storage plugin for Redland RDF library.
+
+%description storage-tstore -l pl.UTF-8
+Wtyczka przechowywania danych w bazie 3store dla biblioteki Redland
+RDF.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 sed -i -e 's,bdbc_prefix/lib$,bdbc_prefix/%{_lib},' configure.ac
 
@@ -116,10 +152,11 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	--enable-modular \
 	--with-html-dir=%{_gtkdocdir} \
-	--with-threestore=%{!?with_threestore:no}%{?with_threestore:yes} \
 	--with-raptor=system \
-	--with-rasqal=system
+	--with-rasqal=system \
+	--with%{!?with_threestore:out}-threestore
 
 %{__make}
 
@@ -129,6 +166,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/redland/*.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -142,6 +181,8 @@
 %attr(755,root,root) %{_bindir}/redland-db-upgrade
 %attr(755,root,root) %{_libdir}/librdf.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/librdf.so.0
+%dir %{_libdir}/redland
+%attr(755,root,root) %{_libdir}/redland/librdf_storage_file.so
 %dir %{_datadir}/redland
 %{_datadir}/redland/mysql-v*.ttl
 %{_mandir}/man1/rdfproc.1*
@@ -166,12 +207,35 @@
 %defattr(644,root,root,755)
 %{_libdir}/librdf.a
 
+%files storage-mysql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/redland/librdf_storage_mysql.so
+
+%files storage-postgresql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/redland/librdf_storage_postgresql.so
+
+%files storage-sqlite
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/redland/librdf_storage_sqlite.so
+
+%if %{with threestore}
+%files storage-tstore
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/redland/librdf_storage_tstore.so
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2008-01-06 21:12:37  qboosh
+- updated to 1.0.7
+- updated link patch, added storage-file patch
+- use new modular build option, less devel deps
+
 Revision 1.42  2008-01-03 19:03:38  qboosh
 - keyutils is krb5 dependency
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/redland.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list