From 6b973fe7c2eaefe1577418c4943e0120cff442c2 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Sat, 8 May 2010 11:38:27 +0000 Subject: [PATCH] - Separate the MySQL and PostgreSQL plugins into their own subpackages --- redland.spec | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/redland.spec b/redland.spec index 896e3d9..043beac 100644 --- a/redland.spec +++ b/redland.spec @@ -1,6 +1,6 @@ Name: redland Version: 1.0.10 -Release: 4%{?dist} +Release: 5%{?dist} Summary: RDF Application Framework Group: System Environment/Libraries @@ -46,6 +46,24 @@ Requires: rasqal-devel %description devel Header files for development with Redland. +%package mysql +Summary: MySQL storage support for Redland +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description mysql +This package provides Redland's storage support for graphs in memory and +persistently with MySQL files or URIs. + +%package pgsql +Summary: PostgreSQL storage support for Redland +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description pgsql +This package provides Redland's storage support for graphs in memory and +persistently with PostgreSQL files or URIs. + %prep %setup -q @@ -87,9 +105,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README -%doc LICENSE-2.0.txt NOTICE -%doc *.html +%doc AUTHORS COPYING COPYING.LIB LICENSE.txt NEWS README +%doc LICENSE-2.0.txt NOTICE TODO +%doc FAQS.html LICENSE.html NEWS.html README.html TODO.html %{_libdir}/librdf.so.0* %{_bindir}/rdfproc %{_bindir}/redland-db-upgrade @@ -100,14 +118,20 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/rdfproc.1* %{_mandir}/man3/redland.3* %dir %{_libdir}/redland -# these could be split out now -%{_libdir}/redland/librdf_storage_mysql.so -%{_libdir}/redland/librdf_storage_postgresql.so %{_libdir}/redland/librdf_storage_sqlite.so %{_libdir}/redland/librdf_storage_virtuoso.so +%files mysql +%defattr(-,root,root,-) +%{_libdir}/redland/librdf_storage_mysql.so + +%files pgsql +%defattr(-,root,root,-) +%{_libdir}/redland/librdf_storage_postgresql.so + %files devel %defattr(-,root,root,-) +%doc ChangeLog RELEASE.html %{_bindir}/redland-config %{_datadir}/redland/Redland.i %{_datadir}/gtk-doc/html/redland/ @@ -125,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat May 08 2010 Orcan Ogetbil - 1.0.10-5 +- Separate the MySQL and PostgreSQL plugins into their own subpackages + * Sat Feb 13 2010 Orcan Ogetbil - 1.0.10-4 - Fix DSO linking error RHBZ#564859 - Link to our own libltdl