SPECS: roundcubemail.spec - add apache configs

blues blues at pld-linux.org
Sat Jun 17 21:10:06 CEST 2006


Author: blues                        Date: Sat Jun 17 19:10:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add apache configs

---- Files affected:
SPECS:
   roundcubemail.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/roundcubemail.spec
diff -u SPECS/roundcubemail.spec:1.2 SPECS/roundcubemail.spec:1.3
--- SPECS/roundcubemail.spec:1.2	Sat Jun 17 20:08:52 2006
+++ SPECS/roundcubemail.spec	Sat Jun 17 21:10:01 2006
@@ -1,25 +1,28 @@
 # $Revision$, $Date$
 # TODO:
-# - prepare config for apache (don't install boundled .htaccess)
 # - prepare config for lighttp
 # - add logrotate file
 # - it has PEAR boundled inside - use system ones
+# - use pear-deps system?
 # - review patches:
 #   http://sourceforge.net/forum/forum.php?forum_id=543557
+# - package: http://blog.ilohamail.org/ and remove boundled classess from it
 #
 %define		_beta	beta
 Summary:	RoundCube Webmail
 Name:		roundcubemail
 Version:	0.1
-Release:	0.%{_beta}.0.2
+Release:	0.%{_beta}.0.3
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://dl.sourceforge.net/roundcubemail/%{name}-%{version}%{_beta}.tar.gz
 # Source0-md5:	cdbcdfd419c01a4c437327c625d28da5
+Source1:	%{name}.config
 Patch0:		%{name}-config.patch
 URL:		http://www.roundcube.net/
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	php-pcre
+# Some php-database backend. Suggests?
 Requires:	webapps
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,6 +63,9 @@
 ln -sf %{_sysconfdir}/db.inc.php $RPM_BUILD_ROOT%{_appdir}/config/db.inc.php
 ln -sf %{_sysconfdir}/main.inc.php $RPM_BUILD_ROOT%{_appdir}/config/main.inc.php
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+
 %triggerin -- apache1
 %webapp_register apache %{_webapp}
 
@@ -79,8 +85,8 @@
 %defattr(644,root,root,755)
 %doc CHANGELOG INSTALL README UPGRADING SQL
 %dir %attr(750,root,http) %{_sysconfdir}
-#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
-#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.php
 %dir %{_appdir}
 %dir %{_appdir}/config
@@ -99,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/06/17 19:10:01  blues
+- add apache configs
+
 Revision 1.2  2006/06/17 18:08:52  blues
 - fix adapter fackery, more macros.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/roundcubemail.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list