- Separate the MySQL and PostgreSQL plugins into their own subpackages

f41
Orcan Ogetbil 15 years ago
parent f3e1eeb9e3
commit 6b973fe7c2

@ -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 <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.10-5
- Separate the MySQL and PostgreSQL plugins into their own subpackages
* Sat Feb 13 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.0.10-4
- Fix DSO linking error RHBZ#564859
- Link to our own libltdl

Loading…
Cancel
Save