SPECS: phorum.spec - config in webapps dir

glen glen at pld-linux.org
Wed Mar 8 17:03:10 CET 2006


Author: glen                         Date: Wed Mar  8 16:03:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- config in webapps dir

---- Files affected:
SPECS:
   phorum.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/phorum.spec
diff -u SPECS/phorum.spec:1.13 SPECS/phorum.spec:1.14
--- SPECS/phorum.spec:1.13	Wed Mar  8 14:12:24 2006
+++ SPECS/phorum.spec	Wed Mar  8 17:03:04 2006
@@ -3,12 +3,13 @@
 Summary(pl):	Phorum - implementacja forum WWW w PHP
 Name:		phorum
 Version:	5.0.21
-Release:	0.2
+Release:	0.5
 License:	Apache-like
 Group:		Applications/WWW
 Source0:	http://www.phorum.org/downloads/%{name}-%{version}.tar.bz2
 # Source0-md5:	9793ba89aa3ab074163e1c61e4cea25c
 Source1:	%{name}-apache.conf
+Patch0:		%{name}-paths.patch
 URL:		http://www.phorum.org/
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	php >= 3:4.3.0
@@ -37,7 +38,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 rm {cache,portable,include,mods}/.htaccess
+rm -rf include/db/upgrade/mysql/200{3,4}* # Not supported in PLD
+mv include/db/config.php.sample .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -48,6 +52,7 @@
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install -p config.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +75,7 @@
 %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,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.php
 %{_appdir}/*.php
 %{_appdir}/mods
 %{_appdir}/portable
@@ -90,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/03/08 16:03:04  glen
+- config in webapps dir
+
 Revision 1.13  2006/03/08 13:12:24  glen
 - update to 5.0.21
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/phorum.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list