SPECS: egroupware.spec - created virtual DB packages to let user c...

glen glen at pld-linux.org
Thu Aug 25 18:21:15 CEST 2005


Author: glen                         Date: Thu Aug 25 16:21:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created virtual DB packages to let user choose just one database

---- Files affected:
SPECS:
   egroupware.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/egroupware.spec
diff -u SPECS/egroupware.spec:1.7 SPECS/egroupware.spec:1.8
--- SPECS/egroupware.spec:1.7	Thu Aug 25 12:11:52 2005
+++ SPECS/egroupware.spec	Thu Aug 25 18:21:09 2005
@@ -6,7 +6,7 @@
 Summary(pl):	eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
 Name:		egroupware
 Version:	1.0.0.009
-Release:	0.9
+Release:	0.12
 Epoch:		0
 License:	GPL
 Group:		Applications/WWW
@@ -14,10 +14,8 @@
 # Source0-md5:	2ed2f3041ab4ff235f56ed23dfa7274b
 Source1:	%{name}.conf
 URL:		http://www.egroupware.org/
+Requires:	%{name}(DB_Driver)
 Requires:	php >= 3:4.1.2
-Requires:	php-mysql
-Requires:	php-pgsql
-#Requires:	php(pgsql||mysql) <- that would be neat
 Requires:	php-pcre
 Requires:	php-gd
 Requires:	php-mbstring
@@ -40,6 +38,33 @@
 adresową, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
 telefoniczne), zarządzanie treścią, forum, zakładki, wiki.
 
+%package db-mysql
+Summary:	eGroupware DB Driver for MySQL
+Group:		Applications/WWW
+Provides:	%{name}(DB_Driver) = %{version}-%{release}
+Requires:	php-mysql
+
+%description db-mysql
+This virtual package provides MySQL database backend for eGroupware.
+
+%package db-pgsql
+Summary:	eGroupware DB Driver for PostgreSQL
+Group:		Applications/WWW
+Provides:	%{name}(DB_Driver) = %{version}-%{release}
+Requires:	php-pgsql
+
+%description db-pgsql
+This virtual package provides PostgreSQL database backend for eGroupware.
+
+%package db-mssql
+Summary:	eGroupware DB Driver for MS SQL
+Group:		Applications/WWW
+Provides:	%{name}(DB_Driver) = %{version}-%{release}
+Requires:	php-mssql
+
+%description db-mssql
+This virtual package provides MS SQL database backend for eGroupware.
+
 %prep
 %setup -q -n %{name}
 
@@ -138,12 +163,24 @@
 %{_appdir}/fudforum/setup
 %{_appdir}/fudforum/templates
 
+%files db-mysql
+%defattr(644,root,root,755)
+
+%files db-pgsql
+%defattr(644,root,root,755)
+
+%files db-mssql
+%defattr(644,root,root,755)
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/08/25 16:21:09  glen
+- created virtual DB packages to let user choose just one database
+
 Revision 1.7  2005/08/25 10:11:52  glen
 - permission changes, check_install.php passed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/egroupware.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list