gunnar: server/kolabd/kolabd kolabd.spec.in,1.13,1.14

cvs at kolab.org cvs at kolab.org
Sun Aug 5 07:42:23 CEST 2007


Author: gunnar

Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv507/kolabd/kolabd

Modified Files:
	kolabd.spec.in 
Log Message:
Fixed all the PHP requirements for a complete Horde installation.

Index: kolabd.spec.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolabd.spec.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- kolabd.spec.in	2 Aug 2007 10:34:38 -0000	1.13
+++ kolabd.spec.in	5 Aug 2007 05:42:21 -0000	1.14
@@ -45,6 +45,9 @@
 Source0:      kolabd-%{version}.tar.bz2
 #Source1:      rc.kolabd
 
+#   package options
+%option       with_horde              no
+
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
@@ -56,9 +59,18 @@
 PreReq:       amavisd
 PreReq:       clamav >= 0.90
 PreReq:       imap, imap::with_annotate = yes
-PreReq:       php, php::with_zlib = yes, php::with_bdb = yes, php::with_gettext = yes, php::with_imap = yes, php::with_imap_annotate = yes, php::with_openldap = yes, php::with_pear = yes, php::with_xml = yes, php::with_dom = yes, php::with_ssl = yes, php::with_mbstring = yes, php::with_mm = yes
 PreReq:       apache2, apache2::with_mod_dav = yes, apache2::with_mod_ssl = yes, apache2::with_mod_ldap = yes
+
+%if "%{with_horde}" == "yes"
+# FIXME (optional)
+# what about php::with_tidy = yes (for Horde Imp)
+PreReq:       php, php::with_pear = yes, php::with_gettext = yes, php::with_dom = yes, php::with_mcrypt = yes, php::with_iconv = yes, php::with_mbstring = yes, php::with_mbregex = yes, php::with_gd = yes, php::with_imap = yes, php::with_ssl = yes, php::with_ctype = yes, php::with_openldap = yes, php::with_mhash = yes, php::with_zlib = yes, php::with_bdb = yes, php::with_imap_annotate = yes, php::with_pear = yes, php::with_xml = yes, php::with_mm = yes
+PreReq:       apache2-php, apache2-php::with_gettext = yes, apache2-php::with_dom = yes, apache2-php::with_mcrypt = yes, apache2-php::with_iconv = yes, apache2-php::with_mbstring = yes, apache2-php::with_mbregex = yes, apache2-php::with_gd = yes, apache2-php::with_imap = yes, apache2-php::with_ssl = yes, apache2-php::with_ctype = yes, apache2-php::with_openldap = yes, apache2-php::with_mhash = yes, apache2-php::with_zlib = yes, apache2-php::with_bdb = yes, apache2-php::with_imap_annotate = yes, apache2-php::with_pear = yes, apache2-php::with_xml = yes, apache2-php::with_mm = yes
+%else
+PreReq:       php, php::with_zlib = yes, php::with_bdb = yes, php::with_gettext = yes, php::with_imap = yes, php::with_imap_annotate = yes, php::with_openldap = yes, php::with_pear = yes, php::with_xml = yes, php::with_dom = yes, php::with_ssl = yes, php::with_mbstring = yes, php::with_mm = yes
 PreReq:       apache2-php, apache2-php::with_zlib = yes, apache2-php::with_bdb = yes, apache2-php::with_gettext = yes, apache2-php::with_imap = yes, apache2-php::with_imap_annotate = yes, apache2-php::with_openldap = yes, apache2-php::with_pear = yes, apache2-php::with_xml = yes, apache2-php::with_dom = yes, apache2-php::with_ssl = yes, apache2-php::with_mbstring = yes, apache2-php::with_mm = yes
+%endif
+
 PreReq:       imapd, imapd::with_group = yes, imapd::with_group_igncase = yes, imapd::with_ldap = yes, imapd::with_annotate = yes, imapd::with_atvdom = yes, imapd::with_morelogging = yes, imapd::with_kolab = yes
 PreReq:       proftpd, proftpd::with_ldap = yes
 PreReq:       perl-ssl





More information about the commits mailing list