SPECS: joomla.spec - new config file added

rotom rotom at pld-linux.org
Wed May 2 18:56:37 CEST 2007


Author: rotom                        Date: Wed May  2 16:56:37 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new config file added

---- Files affected:
SPECS:
   joomla.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/joomla.spec
diff -u SPECS/joomla.spec:1.19 SPECS/joomla.spec:1.20
--- SPECS/joomla.spec:1.19	Thu Apr  5 21:40:10 2007
+++ SPECS/joomla.spec	Wed May  2 18:56:32 2007
@@ -13,10 +13,10 @@
 # Source1-md5:	7e9075c6d7b9520898d56ee123d50484
 # http://www.joomla.pl/index.php/component/option,com_remository/Itemid,15/func,select/id,6/
 Source2:	%{name}-http.conf
+Source3:	%{name}-lighttpd.conf
 Patch0:		%{name}-config.patch
 Patch1:		%{name}-install.patch
 URL:		http://www.joomla.org/
-Requires:	apache >= 2.0
 Requires:	php(gd)
 Requires:	php(mysql)
 Requires:	php(pcre)
@@ -71,6 +71,7 @@
 ln -sf %{_sysconfdir}/configuration.php $RPM_BUILD_ROOT%{_joomladir}/configuration.php
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,14 +79,21 @@
 %triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
+%triggerin -- lighttpd
+%webapp_register lighttpd %{_webapp}
+
 %triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
+%triggerun -- lighttpd 
+%webapp_unregister lighttpd %{_webapp}
+
 %files
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}
 %attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/configuration.php
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
 %dir %{_joomladir}
 %{_joomladir}/*
 %defattr(644,root,http,775)
@@ -98,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/05/02 16:56:32  rotom
+- new config file added
+
 Revision 1.19  2007/04/05 19:40:10  rotom
 - Source0 changed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/joomla.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list