SPECS: egroupware.spec - created setup subpackage - added header.i...
glen
glen at pld-linux.org
Sun Sep 11 15:14:17 CEST 2005
Author: glen Date: Sun Sep 11 13:14:17 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- created setup subpackage
- added header.inc.php to package
---- Files affected:
SPECS:
egroupware.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/egroupware.spec
diff -u SPECS/egroupware.spec:1.11 SPECS/egroupware.spec:1.12
--- SPECS/egroupware.spec:1.11 Sun Sep 4 13:00:26 2005
+++ SPECS/egroupware.spec Sun Sep 11 15:14:12 2005
@@ -6,13 +6,14 @@
Summary(pl): eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
Name: egroupware
Version: 1.0.0.009
-Release: 0.13
+Release: 0.16
Epoch: 0
License: GPL
Group: Applications/WWW
Source0: http://dl.sourceforge.net/egroupware/eGroupWare-%{version}.tar.bz2
# Source0-md5: 2ed2f3041ab4ff235f56ed23dfa7274b
Source1: %{name}.conf
+Patch0: %{name}-setup.patch
URL: http://www.egroupware.org/
Requires: %{name}(DB_Driver)
Requires: php >= 3:4.1.2
@@ -39,6 +40,22 @@
adresową, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
telefoniczne), zarządzanie treścią, forum, zakładki, wiki.
+%package setup
+Summary: eGroupware setup package
+Summary(pl): Pakiet do wstępnej konfiguracji eGroupware
+Group: Applications/WWW
+PreReq: %{name} = %{epoch}:%{version}-%{release}
+
+%description setup
+Install this package to configure initial eGroupware 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 eGroupware po
+pierwszej instalacji. Potem należy go odinstalować, jako że
+pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
+
%package db-mysql
Summary: eGroupware DB Driver for MySQL
Summary(pl): Sterownik bazy danych eGroupware dla MySQL-a
@@ -84,6 +101,7 @@
%prep
%setup -q -n %{name}
+%patch0 -p1
# remove CVS control files
find -name CVS -print0 | xargs -0 rm -rf
@@ -105,11 +123,14 @@
phpsysinfo polls preferences projects registration setup sitemgr stocks tts \
wiki $RPM_BUILD_ROOT%{_appdir}
-#needed by install script
-install header.inc.php.template $RPM_BUILD_ROOT%{_appdir}
+> $RPM_BUILD_ROOT%{_sysconfdir}/header.php
+ln -s %{_sysconfdir}/header.php $RPM_BUILD_ROOT%{_appdir}/header.inc.php
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+# needed by setup script
+install header.inc.php.template $RPM_BUILD_ROOT%{_appdir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -129,10 +150,10 @@
%defattr(644,root,root,755)
%attr(710,root,http) %dir %{_sysconfdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/header.php
%doc doc/*
%dir %{_appdir}
%{_appdir}/*.php
-%{_appdir}/header.inc.php.template
%{_appdir}/addressbook
%{_appdir}/admin
%{_appdir}/backup
@@ -160,7 +181,6 @@
%{_appdir}/preferences
%{_appdir}/projects
%{_appdir}/registration
-%{_appdir}/setup
%{_appdir}/sitemgr
%{_appdir}/stocks
%{_appdir}/tts
@@ -184,6 +204,11 @@
%{_appdir}/fudforum/setup
%{_appdir}/fudforum/templates
+%files setup
+%defattr(644,root,root,755)
+%{_appdir}/header.inc.php.template
+%{_appdir}/setup
+
%files db-mysql
%defattr(644,root,root,755)
@@ -199,6 +224,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2005/09/11 13:14:12 glen
+- created setup subpackage
+- added header.inc.php to package
+
Revision 1.11 2005/09/04 11:00:26 czarny
- added missing header.inc.php.template needed by install script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/egroupware.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list