Author: luzik Date: Tue Jul 22 12:36:19 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 2.2.0 - removed outdated patches (all) - removed trick with *tpl - there is no such files now - untested - rel 0.9
---- Files affected: SPECS: postfixadmin.spec (1.27 -> 1.28) ---- Diffs: ================================================================ Index: SPECS/postfixadmin.spec diff -u SPECS/postfixadmin.spec:1.27 SPECS/postfixadmin.spec:1.28 --- SPECS/postfixadmin.spec:1.27 Thu Jul 10 10:03:53 2008 +++ SPECS/postfixadmin.spec Tue Jul 22 14:36:14 2008 @@ -7,19 +7,13 @@ Summary: Web Based Management tool created for Postfix Summary(pl.UTF-8): Narzędzie WWW do zarządzania Postfiksem Name: postfixadmin -Version: 2.1.0 -Release: 4 +Version: 2.2.0 +Release: 0.9 License: freely usable and distributable with restrictions (see URL) Group: Networking/Utilities -Source0: http://dl.sourceforge.net/postfixadmin/%{name}-%{version}.tgz -# Source0-md5: 89043e52796298f44a06d65eaddaef09 +Source0: http://dl.sourceforge.net/postfixadmin/%{name}_%{version}.tar.gz +# Source0-md5: 1e3271d3851dbaae54be048be7cef3bd Source1: %{name}.conf -Patch0: %{name}-pl.patch -Patch1: %{name}-pgsql.patch -Patch2: %{name}-non_local_db.patch -Patch3: %{name}-pl_typo_fix.patch -Patch4: %{name}-preg_fix.patch -Patch5: %{name}-case_insensitive_mailbox.patch URL: http://postfixadmin.com/ BuildRequires: rpmbuild(macros) >= 1.264 Requires(postun): /usr/sbin/userdel @@ -79,38 +73,26 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p0 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_sysconfdir}/templates,%{_appdir}/{admin,images,languages,templates,users},/var/spool/vacation} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/{admin,css,images,languages,templates,users},/var/spool/vacation} install *.php $RPM_BUILD_ROOT%{_appdir} install admin/*.php $RPM_BUILD_ROOT%{_appdir}/admin +install css/*.css $RPM_BUILD_ROOT%{_appdir}/css install images/* $RPM_BUILD_ROOT%{_appdir}/images install languages/* $RPM_BUILD_ROOT%{_appdir}/languages -install templates/*.php $RPM_BUILD_ROOT%{_appdir}/templates -install stylesheet.css $RPM_BUILD_ROOT%{_appdir} +install templates/* $RPM_BUILD_ROOT%{_appdir}/templates install users/* $RPM_BUILD_ROOT%{_appdir}/users install VIRTUAL_VACATION/vacation.pl $RPM_BUILD_ROOT/var/spool/vacation # config: -install config.inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php +install config.inc.php $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 -# Many things can and should be modified by user: -for file in `ls templates/*.tpl`; do - install $file $RPM_BUILD_ROOT%{_sysconfdir}/templates - ln -s %{_sysconfdir}/$file $RPM_BUILD_ROOT%{_appdir}/templates -done - # MOTD should be empty by default? for motd in motd-admin.txt motd-users.txt motd.txt; do :> $RPM_BUILD_ROOT%{_sysconfdir}/$motd @@ -145,10 +127,8 @@ %doc *.TXT ADDITIONS motd*.txt %dir %attr(750,root,http) %{_sysconfdir} #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf -%attr(750,root,http) %dir %{_sysconfdir}/templates %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 -%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/templates/*.tpl %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motd* %dir %{_appdir} %{_appdir}/*.php @@ -156,7 +136,7 @@ %{_appdir}/admin %{_appdir}/images %{_appdir}/languages -%{_appdir}/stylesheet.css +%{_appdir}/css %{_appdir}/templates %{_appdir}/users @@ -172,6 +152,13 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.28 2008/07/22 12:36:14 luzik +- updated to 2.2.0 +- removed outdated patches (all) +- removed trick with *tpl - there is no such files now +- untested +- rel 0.9 + Revision 1.27 2008/07/10 08:03:53 blues - rel.4 - fix end-of-line in users-panel too ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfixadmin.spec?r1=1.27&r2=1.28&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
