/[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.20 by snetram, Mon May 5 19:22:37 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-mailsorting.spec,v 1.19 2008/04/28 23:21:44 slords 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 10
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    Patch10: smeserver-mailsorting-1.2-locale-2008-05-05.patch
27  BuildArchitectures: noarch  BuildArchitectures: noarch
28  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
29  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
30  Requires: perl-Unicode-IMAPUtf7  Requires: perl-Unicode-IMAPUtf7
31    Requires: e-smith-formmagick >= 1.4.0-12
32  #Requires:  smeserver-userpanel, userpanel causes endless problems  #Requires:  smeserver-userpanel, userpanel causes endless problems
33  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
34  AutoReqProv: no  AutoReqProv: no
# Line 25  SME Server enhancement to enable procmai Line 38  SME Server enhancement to enable procmai
38  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
39    
40  %changelog  %changelog
41    * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
42    - Apply 5 May 2008 locale patch
43    
44    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
45    - Add common <base> tags to e-smith-formmagick's general
46    
47    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-18
48    - Added 22 April 2008 locale patch
49    
50    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
51    - Update to UTF-8 translations
52    
53    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
54    - block generation of procmail/maildrop rules [SME: 4051]
55    
56    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
57    - update locale 2008-03-14
58    
59    * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
60    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
61    
62    * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
63    - Add 2008-03-11 locale patch
64    
65    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
66    - prepare en lexicons for pootle translations
67    
68  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11  * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
69  - french translation fix  - french translation fix
70    
# Line 111  Optionally provides user panels where us Line 151  Optionally provides user panels where us
151  %patch0 -p1  %patch0 -p1
152  %patch1 -p1  %patch1 -p1
153  %patch2 -p1  %patch2 -p1
154    %patch3 -p1
155    %patch4 -p1
156    %patch5 -p1
157    %patch6 -p1
158    %patch7 -p1
159    %patch8 -p1
160    %patch9 -p1
161    %patch10 -p1
162    
163  %build  %build
164  perl createlinks  perl createlinks
165    
166  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
   
167  for lexicon in $LEXICONS  for lexicon in $LEXICONS
168  do  do
169      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
# Line 139  rm -rf %{name}-%{version} Line 186  rm -rf %{name}-%{version}
186  %post  %post
187  #new installs  #new installs
188  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'  
189   echo ' '   echo ' '
190     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
191  fi  fi
192    
193  #upgrades (and new installs)  #upgrades (and new installs)
194  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
195  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
196  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
197       /sbin/e-smith/signal-event conf-userpanel
198    fi
199    
200  %postun  %postun
201  #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