SPECS: phorum.spec - separate admin to -setup package

glen glen at pld-linux.org
Wed Mar 8 17:11:22 CET 2006


Author: glen                         Date: Wed Mar  8 16:11:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate admin to -setup package

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

---- Diffs:

================================================================
Index: SPECS/phorum.spec
diff -u SPECS/phorum.spec:1.14 SPECS/phorum.spec:1.15
--- SPECS/phorum.spec:1.14	Wed Mar  8 17:03:04 2006
+++ SPECS/phorum.spec	Wed Mar  8 17:11:16 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Phorum - implementacja forum WWW w PHP
 Name:		phorum
 Version:	5.0.21
-Release:	0.5
+Release:	0.7
 License:	Apache-like
 Group:		Applications/WWW
 Source0:	http://www.phorum.org/downloads/%{name}-%{version}.tar.bz2
@@ -36,6 +36,22 @@
 oraz integracja z listami dyskusyjnymi czynią Phorum atrakcyjnym
 dodatkiem do każdej witryny.
 
+%package setup
+Summary:	Phorum setup package
+Summary(pl):	Pakiet do wstępnej konfiguracji Phorum
+Group:		Applications/WWW
+Requires:	%{name} = %{version}-%{release}
+
+%description setup
+Install this package to configure initial Phorum installation. You
+should uninstall this package when you're done, as it considered
+insecure to keep the setup files in place.
+
+%description setup -l pl
+Ten pakiet należy zainstalować w celu wstępnej konfiguracji Phorum po
+pierwszej instalacji. Potem należy go odinstalować, jako że
+pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -76,7 +92,22 @@
 %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}/attach.php
+%{_appdir}/common.php
+%{_appdir}/control.php
+%{_appdir}/edit.php
+%{_appdir}/file.php
+%{_appdir}/follow.php
+%{_appdir}/index.php
+%{_appdir}/list.php
+%{_appdir}/login.php
+%{_appdir}/moderation.php
+%{_appdir}/post.php
+%{_appdir}/profile.php
+%{_appdir}/read.php
+%{_appdir}/register.php
+%{_appdir}/script.php
+%{_appdir}/search.php
 %{_appdir}/mods
 %{_appdir}/portable
 %{_appdir}/smileys
@@ -86,16 +117,23 @@
 %{_appdir}/include/*.php
 %{_appdir}/include/*.js
 %{_appdir}/include/db
-%{_appdir}/include/admin
 %{_appdir}/include/controlcenter
 %{_appdir}/include/lang
 
+%files setup
+%defattr(644,root,root,755)
+%{_appdir}/admin.php
+%{_appdir}/include/admin
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/03/08 16:11:16  glen
+- separate admin to -setup package
+
 Revision 1.14  2006/03/08 16:03:04  glen
 - config in webapps dir
 
================================================================

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



More information about the pld-cvs-commit mailing list