SPECS: postfixadmin.spec - unify, deps

glen glen at pld-linux.org
Tue Dec 19 23:39:41 CET 2006


Author: glen                         Date: Tue Dec 19 22:39:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify, deps

---- Files affected:
SPECS:
   postfixadmin.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/postfixadmin.spec
diff -u SPECS/postfixadmin.spec:1.1 SPECS/postfixadmin.spec:1.2
--- SPECS/postfixadmin.spec:1.1	Tue Dec 19 22:56:56 2006
+++ SPECS/postfixadmin.spec	Tue Dec 19 23:39:36 2006
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - %%lang for language files
 Summary:	Web Based Management tool created for Postfix
 Name:		postfixadmin
 Version:	2.1.0
@@ -9,19 +11,21 @@
 # Source0-md5:	89043e52796298f44a06d65eaddaef09
 #Source1:	%{name}.conf
 URL:		http://high5.net/postfixadmin/
-#Requires:	php(pcre)
-#Requires:	webserver(php)
-#BuildArch:	noarch
+BuildRequires:	rpmbuild(macros) >= 1.264
+Requires:	php(pcre)
+Requires:	webserver(php)
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _appdir         %{_datadir}/%{name}
-%define         _webapps        /etc/webapps
-%define         _webapp         %{name}
-%define         _sysconfdir     %{_webapps}/%{_webapp}
+%define		_appdir		%{_datadir}/%{name}
+%define		_webapps	/etc/webapps
+%define		_webapp		%{name}
+%define		_sysconfdir	%{_webapps}/%{_webapp}
 
 %description
-Postfix Admin is a Web Based Management tool created for Postfix.
-It is a PHP based application that handles Postfix Style Virtual Domains and Users that are stored in MySQL.
+Postfix Admin is a Web Based Management tool created for Postfix. It
+is a PHP based application that handles Postfix Style Virtual Domains
+and Users that are stored in MySQL.
 
 Postfix Admin supports:
 - Virtual Mailboxes / Virtual Aliases / Forwarders.
@@ -31,7 +35,6 @@
 - Backup MX.
 - Packaged with over 25 languages... (Thank you all for sending them!)
 
-
 %prep
 %setup -q
 
@@ -46,9 +49,9 @@
 install templates/* $RPM_BUILD_ROOT%{_appdir}/templates
 install users/* $RPM_BUILD_ROOT%{_appdir}/users
 
-# Config:
-install config.inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.inc.php
-ln -sf %{_sysconfdir}/config.inc.php $RPM_BUILD_ROOT%{_appdir}/config.inc.php
+# config:
+install config.inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
+ln -sf %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config.inc.php
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -74,6 +77,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/12/19 22:39:36  glen
+- unify, deps
+
 Revision 1.1  2006/12/19 21:56:56  blues
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/postfixadmin.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list