/[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.9 by dungog, Wed Dec 26 13:41:03 2007 UTC Revision 1.13 by dungog, Fri Mar 14 09:47:13 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 11  %define release 15
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 12  Source: %{name}-%{version}.tar.gz Line 12  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  Patch2: smeserver-mailsorting-1.2-frLocale3.patch
15    Patch3: smeserver-mailsorting-1.2-pootle.patch
16    Patch4: smeserver-mailsorting-1.2-locale-2008-03-11.patch
17    Patch5: smeserver-mailsorting-1.2-locale-2008-03-14.patch
18    
19  BuildArchitectures: noarch  BuildArchitectures: noarch
20  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
21  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
22  Requires: perl-Unicode-IMAPUtf7  Requires: perl-Unicode-IMAPUtf7
23    Requires: e-smith-formmagick >= 1.4.0-10
24  #Requires:  smeserver-userpanel, userpanel causes endless problems  #Requires:  smeserver-userpanel, userpanel causes endless problems
25  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
26  AutoReqProv: no  AutoReqProv: no
# Line 25  SME Server enhancement to enable procmai Line 30  SME Server enhancement to enable procmai
30  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
31    
32  %changelog  %changelog
33    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
34    - update locale 2008-03-14
35    
36    * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
37    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
38    
39    * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
40    - Add 2008-03-11 locale patch
41    
42    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
43    - prepare en lexicons for pootle translations
44    
45  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
46  - french translation fix  - french translation fix
47    
# Line 111  Optionally provides user panels where us Line 128  Optionally provides user panels where us
128  %patch0 -p1  %patch0 -p1
129  %patch1 -p1  %patch1 -p1
130  %patch2 -p1  %patch2 -p1
131    %patch3 -p1
132    %patch4 -p1
133    %patch5 -p1
134    
135  %build  %build
136  perl createlinks  perl createlinks
137    
138  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
   
139  for lexicon in $LEXICONS  for lexicon in $LEXICONS
140  do  do
141      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
# Line 139  rm -rf %{name}-%{version} Line 158  rm -rf %{name}-%{version}
158  %post  %post
159  #new installs  #new installs
160  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'  
161   echo ' '   echo ' '
162     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
163  fi  fi
164    
165  #upgrades (and new installs)  #upgrades (and new installs)
166  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
167  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
168  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
169       /sbin/e-smith/signal-event conf-userpanel
170    fi
171    
172  %postun  %postun
173  #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