From a04f1ba734e5181b085de868b2b44344a6b4d8b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 11 Oct 2005 07:12:57 +0000 Subject: [PATCH] - create virtual db driver packages, -pl needs review Changed files: drupal.spec -> 1.30 --- drupal.spec | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/drupal.spec b/drupal.spec index c1322eb..173329d 100644 --- a/drupal.spec +++ b/drupal.spec @@ -2,7 +2,7 @@ Summary: Open source content management platform 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 @@ -28,7 +28,7 @@ Requires: apache(mod_alias) 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) @@ -96,6 +96,38 @@ This package contains script which invokes cron hooks for Drupal. %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 @@ -222,6 +254,12 @@ fi %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 -- 2.43.0