]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- create virtual db driver packages, -pl needs review
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Oct 2005 07:12:57 +0000 (07:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal.spec -> 1.30

drupal.spec

index c1322eb5f16da1c8b12bf15a0d425fd4b38316b0..173329dfe4f082950fda5b1b62a4155f2e9b3d9c 100644 (file)
@@ -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
 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
 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 >= 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)
 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.
 
 %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
 %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
 
 %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
 %files xmlrpc
 %defattr(644,root,root,755)
 %{_appdir}/htdocs/xmlrpc.php
This page took 0.066584 seconds and 4 git commands to generate.