SPECS: drupal.spec - create virtual db driver packages, -pl needs ...

glen glen at pld-linux.org
Tue Oct 11 09:13:03 CEST 2005


Author: glen                         Date: Tue Oct 11 07:13:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create virtual db driver packages, -pl needs review

---- Files affected:
SPECS:
   drupal.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.29 SPECS/drupal.spec:1.30
--- SPECS/drupal.spec:1.29	Tue Oct 11 09:06:55 2005
+++ SPECS/drupal.spec	Tue Oct 11 09:12:57 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	4.6.3
-Release:	0.23
+Release:	0.25
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://drupal.org/files/projects/%{name}-%{version}.tar.gz
@@ -29,7 +29,7 @@
 Requires:	php >= 3:4.3.3
 Requires:	php-mysql
 Requires:	php-pcre
-#Requires:	php-pgsql
+Requires:	%{name}(DB_Driver)
 Requires:	php-xml
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -97,6 +97,38 @@
 %description cron -l pl
 Ten pakiet zawiera skrypt wywołujący uchwyty crona dla Drupala.
 
+%package db-mysql
+Summary:	Drupal DB Driver for MySQL
+Summary(pl):	Sterownik bazy danych Drupal dla MySQL-a
+Group:		Applications/WWW
+Requires:	php-mysql
+Provides:	%{name}(DB_Driver) = %{version}-%{release}
+
+%description db-mysql
+This virtual package provides MySQL database backend for Drupal.
+
+%description db-mysql -l pl
+Ten wirtualny pakiet dostarcza backend bazy danych MySQL dla
+Drupal.
+
+%package db-pgsql
+Summary:	Drupal DB Driver for PostgreSQL
+Summary(pl):	Sterownik bazy danych eGroupware dla Dripala
+Group:		Applications/WWW
+Requires:	php-pgsql
+Provides:	%{name}(DB_Driver) = %{version}-%{release}
+
+%description db-pgsql
+This virtual package provides PostgreSQL database backend for
+Drupala.
+
+NOTE: This driver is not tested in PLD, and not all modules have
+database schema for PostgreSQL. Use this driver at your own risk!
+
+%description db-pgsql -l pl
+Ten wirtualny pakiet dostarcza backend bazy danych PostgreSQL dla
+Drupala.
+
 %package xmlrpc
 Summary:	XMLRPC server for Drupal
 Summary(pl):	Serwer XMLRPC dla Drupala
@@ -223,6 +255,12 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
 %{_appdir}/cron.php
 
+%files db-mysql
+%defattr(644,root,root,755)
+
+%files db-pgsql
+%defattr(644,root,root,755)
+
 %files xmlrpc
 %defattr(644,root,root,755)
 %{_appdir}/htdocs/xmlrpc.php
@@ -233,6 +271,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2005/10/11 07:12:57  glen
+- create virtual db driver packages, -pl needs review
+
 Revision 1.29  2005/10/11 07:06:55  glen
 - hide cron warnings patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.29&r2=1.30&f=u




More information about the pld-cvs-commit mailing list