SPECS: postfixadmin.spec - apache config added
blues
blues at pld-linux.org
Fri Jan 5 12:29:43 CET 2007
Author: blues Date: Fri Jan 5 11:29:43 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- apache config added
---- Files affected:
SPECS:
postfixadmin.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/postfixadmin.spec
diff -u SPECS/postfixadmin.spec:1.5 SPECS/postfixadmin.spec:1.6
--- SPECS/postfixadmin.spec:1.5 Fri Jan 5 12:00:56 2007
+++ SPECS/postfixadmin.spec Fri Jan 5 12:29:38 2007
@@ -1,17 +1,18 @@
# $Revision$, $Date$
# TODO
-# - webapps support: apache1, apache2, lighttpd
+# - webapps support: apache1, lighttpd
# - *motd.txt should marked as config and placed in /etc ?
+# - maybe split into 3 subpackages: admin, users, common?
Summary: Web Based Management tool created for Postfix
Summary(pl): Narzędzie WWW do zarządzania Postfiksem
Name: postfixadmin
Version: 2.1.0
-Release: 0.2
+Release: 0.3
License: freely usable and distributable with restrictions (see URL)
Group: Networking/Utilities
Source0: http://high5.net/page7_files/%{name}-%{version}.tgz
# Source0-md5: 89043e52796298f44a06d65eaddaef09
-#Source1: %{name}.conf
+Source1: %{name}.conf
URL: http://high5.net/postfixadmin/
BuildRequires: rpmbuild(macros) >= 1.264
Requires: php(pcre)
@@ -68,15 +69,23 @@
install config.inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
ln -sf %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config.inc.php
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+
%clean
rm -rf $RPM_BUILD_ROOT
+%triggerin -- apache-base
+%webapp_register httpd %{_webapp}
+
+%triggerun -- apache-base
+%webapp_unregister httpd %{_webapp}
+
%files
%defattr(644,root,root,755)
%doc *.TXT ADDITIONS VIRTUAL_VACATION
%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,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.php
%dir %{_appdir}
%{_appdir}/*.php
@@ -119,6 +128,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2007/01/05 11:29:38 blues
+- apache config added
+
Revision 1.5 2007/01/05 11:00:56 blues
- lang markings
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/postfixadmin.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list