--- rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec 2007/12/26 13:41:03 1.9 +++ rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec 2008/03/08 02:47:49 1.10 @@ -2,7 +2,7 @@ Summary: Lets users configure procmail o %define name smeserver-mailsorting Name: %{name} %define version 1.2 -%define release 11 +%define release 12 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -12,6 +12,7 @@ Source: %{name}-%{version}.tar.gz Patch0: smeserver-mailsorting-1.2-maildropdups.patch Patch1: smeserver-mailsorting-1.2-esLocale.patch Patch2: smeserver-mailsorting-1.2-frLocale3.patch +Patch3: smeserver-mailsorting-1.2-pootle.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0, @@ -25,6 +26,9 @@ SME Server enhancement to enable procmai Optionally provides user panels where users can create mail rules for themselves %changelog +* Sat Mar 07 2008 Stephen Noble - 1.2.12 +- prepare en lexicons for pootle translations + * Tue Dec 25 2007 Stephen Noble 1.2-11 - french translation fix @@ -111,6 +115,7 @@ Optionally provides user panels where us %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build perl createlinks @@ -139,24 +144,16 @@ rm -rf %{name}-%{version} %post #new installs if [ $1 = 1 ] ; then - - /etc/e-smith/events/actions/navigation-conf 2>/dev/null - - echo ' ' - echo 'to enable procmail or maildrop for all users' - echo 'for Procmail' - echo "config setprop qmail FilterType procmail" - echo 'or for maildrop' - echo "config setprop qmail FilterType maildrop" - echo 'then' - echo 'signal-event mailsorting-conf' echo ' ' + echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration' fi #upgrades (and new installs) /bin/touch /home/e-smith/db/processmail /sbin/e-smith/signal-event mailsorting-conf -/sbin/e-smith/signal-event conf-userpanel +if [ -d /etc/e-smith/events/conf-userpanel ] ; then + /sbin/e-smith/signal-event conf-userpanel +fi %postun #uninstall