/[smecontribs]/rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec
ViewVC logotype

Diff of /rpms/smeserver-mailsorting/contribs7/smeserver-mailsorting.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by slords, Sun Dec 23 21:11:36 2007 UTC Revision 1.10 by dungog, Sat Mar 8 02:47:49 2008 UTC
# Line 2  Summary: Lets users configure procmail o Line 2  Summary: Lets users configure procmail o
2  %define name smeserver-mailsorting  %define name smeserver-mailsorting
3  Name: %{name}  Name: %{name}
4  %define version 1.2  %define version 1.2
5  %define release 9  %define release 12
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 11  Group: SMEserver/addon Line 11  Group: SMEserver/addon
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Patch0: smeserver-mailsorting-1.2-maildropdups.patch  Patch0: smeserver-mailsorting-1.2-maildropdups.patch
13  Patch1: smeserver-mailsorting-1.2-esLocale.patch  Patch1: smeserver-mailsorting-1.2-esLocale.patch
14    Patch2: smeserver-mailsorting-1.2-frLocale3.patch
15    Patch3: smeserver-mailsorting-1.2-pootle.patch
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
18  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
# Line 24  SME Server enhancement to enable procmai Line 26  SME Server enhancement to enable procmai
26  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
27    
28  %changelog  %changelog
29    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2.12
30    - prepare en lexicons for pootle translations
31    
32    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
33    - french translation fix
34    
35    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10
36    - add french translation, thanks Sylvain Gomez
37    
38  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9
39  - add spanish translation, thanks Normando Hall [SME 3503]  - add spanish translation, thanks Normando Hall [SME 3503]
40    
# Line 103  Optionally provides user panels where us Line 114  Optionally provides user panels where us
114  %setup  %setup
115  %patch0 -p1  %patch0 -p1
116  %patch1 -p1  %patch1 -p1
117    %patch2 -p1
118    %patch3 -p1
119    
120  %build  %build
121  perl createlinks  perl createlinks
122    
123    LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
124    
125    for lexicon in $LEXICONS
126    do
127        /sbin/e-smith/validate-lexicon $lexicon
128    done
129    
130  %install  %install
131  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
132  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
# Line 124  rm -rf %{name}-%{version} Line 144  rm -rf %{name}-%{version}
144  %post  %post
145  #new installs  #new installs
146  if [ $1 = 1 ] ; then  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'  
147   echo ' '   echo ' '
148     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
149  fi  fi
150    
151  #upgrades (and new installs)  #upgrades (and new installs)
152  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
153  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
154  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
155       /sbin/e-smith/signal-event conf-userpanel
156    fi
157    
158  %postun  %postun
159  #uninstall  #uninstall


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed