SPECS: phorum.spec - banner for fast setup instructions

glen glen at pld-linux.org
Wed Mar 8 17:46:54 CET 2006


Author: glen                         Date: Wed Mar  8 16:46:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- banner for fast setup instructions

---- Files affected:
SPECS:
   phorum.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/phorum.spec
diff -u SPECS/phorum.spec:1.17 SPECS/phorum.spec:1.18
--- SPECS/phorum.spec:1.17	Wed Mar  8 17:41:03 2006
+++ SPECS/phorum.spec	Wed Mar  8 17:46:49 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Phorum - implementacja forum WWW w PHP
 Name:		phorum
 Version:	5.0.21
-Release:	0.13
+Release:	0.15
 License:	Apache-like
 Group:		Applications/WWW
 Source0:	http://www.phorum.org/downloads/%{name}-%{version}.tar.bz2
@@ -76,6 +76,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post setup
+if [ "$1" = 1 ]; then
+	%banner -e %{name} <<-EOF
+	Setup is simple as:
+	1. creating mysql database:
+	mysqladmin create phorum5
+	2. granting privs and editing %{_sysconfdir}/config.php
+	3. opening http://localhost/phorum/admin.php
+EOF
+fi
+
 %triggerin -- apache1
 %webapp_register apache %{_webapp}
 
@@ -136,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2006/03/08 16:46:49  glen
+- banner for fast setup instructions
+
 Revision 1.17  2006/03/08 16:41:03  glen
 - cache dir
 
================================================================

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



More information about the pld-cvs-commit mailing list