/[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.19 by slords, Mon Apr 28 23:21:44 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-mailsorting.spec,v 1.18 2008/04/27 17:26:49 snetram Exp $
2    # Authority: dungog
3    # Name: Stephen Noble
4    
5  Summary: Lets users configure procmail or maildrop rules.  Summary: Lets users configure procmail or maildrop rules.
6  %define name smeserver-mailsorting  %define name smeserver-mailsorting
7  Name: %{name}  Name: %{name}
8  %define version 1.2  %define version 1.2
9  %define release 11  %define release 19
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 12  Source: %{name}-%{version}.tar.gz Line 16  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-mailsorting-1.2-maildropdups.patch  Patch0: smeserver-mailsorting-1.2-maildropdups.patch
17  Patch1: smeserver-mailsorting-1.2-esLocale.patch  Patch1: smeserver-mailsorting-1.2-esLocale.patch
18  Patch2: smeserver-mailsorting-1.2-frLocale3.patch  Patch2: smeserver-mailsorting-1.2-frLocale3.patch
19    Patch3: smeserver-mailsorting-1.2-pootle.patch
20    Patch4: smeserver-mailsorting-1.2-locale-2008-03-11.patch
21    Patch5: smeserver-mailsorting-1.2-locale-2008-03-14.patch
22    Patch6: smeserver-mailsorting-1.2-geekmode.patch
23    Patch7: smeserver-mailsorting-1.2-locale-2008-04-01.patch
24    Patch8: smeserver-mailsorting-1.2-locale-2008-04-22.patch
25    Patch9: smeserver-mailsorting-1.2-add2general.patch
26  BuildArchitectures: noarch  BuildArchitectures: noarch
27  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
28  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
29  Requires: perl-Unicode-IMAPUtf7  Requires: perl-Unicode-IMAPUtf7
30    Requires: e-smith-formmagick >= 1.4.0-12
31  #Requires:  smeserver-userpanel, userpanel causes endless problems  #Requires:  smeserver-userpanel, userpanel causes endless problems
32  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
33  AutoReqProv: no  AutoReqProv: no
# Line 25  SME Server enhancement to enable procmai Line 37  SME Server enhancement to enable procmai
37  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
38    
39  %changelog  %changelog
40    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
41    - Add common <base> tags to e-smith-formmagick's general
42    
43    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-18
44    - Added 22 April 2008 locale patch
45    
46    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
47    - Update to UTF-8 translations
48    
49    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
50    - block generation of procmail/maildrop rules [SME: 4051]
51    
52    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
53    - update locale 2008-03-14
54    
55    * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
56    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
57    
58    * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
59    - Add 2008-03-11 locale patch
60    
61    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
62    - prepare en lexicons for pootle translations
63    
64  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
65  - french translation fix  - french translation fix
66    
# Line 111  Optionally provides user panels where us Line 147  Optionally provides user panels where us
147  %patch0 -p1  %patch0 -p1
148  %patch1 -p1  %patch1 -p1
149  %patch2 -p1  %patch2 -p1
150    %patch3 -p1
151    %patch4 -p1
152    %patch5 -p1
153    %patch6 -p1
154    %patch7 -p1
155    %patch8 -p1
156    %patch9 -p1
157    
158  %build  %build
159  perl createlinks  perl createlinks
160    
161  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
   
162  for lexicon in $LEXICONS  for lexicon in $LEXICONS
163  do  do
164      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
# Line 139  rm -rf %{name}-%{version} Line 181  rm -rf %{name}-%{version}
181  %post  %post
182  #new installs  #new installs
183  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'  
184   echo ' '   echo ' '
185     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
186  fi  fi
187    
188  #upgrades (and new installs)  #upgrades (and new installs)
189  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
190  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
191  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
192       /sbin/e-smith/signal-event conf-userpanel
193    fi
194    
195  %postun  %postun
196  #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