/[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.1 by slords, Sun Dec 23 21:06:43 2007 UTC Revision 1.25 by dungog, Sat Sep 27 09:38:45 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-mailsorting.spec,v 1.24 2008/09/27 08:20:54 dungog 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 9  %define release 24
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
 Distribution: SME Server  
12  License: GPL  License: GPL
13  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
14  Group: SMEserver/addon  Group: SMEserver/addon
15  Source: %{name}-%{version}.tar.gz  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
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    Patch11: smeserver-mailsorting-1.2-locale-2008-05-21.patch
28    Patch12: smeserver-mailsorting-1.2-locale-2008-07-01.patch
29    Patch13: smeserver-mailsorting-1.2-remove-pt_br.patch
30    Patch14: smeserver-mailsorting-1.2-locale-2008-09-27.patch
31    Patch15: smeserver-mailsorting-1.2-76Filter.patch
32  BuildArchitectures: noarch  BuildArchitectures: noarch
33  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
34  Requires:  e-smith-release >= 7.0,  Requires:  e-smith-release >= 7.0,
35  Requires: perl-Unicode-IMAPUtf7  Requires: perl-Unicode-IMAPUtf7
36    Requires: e-smith-formmagick >= 1.4.0-12
37  #Requires:  smeserver-userpanel, userpanel causes endless problems  #Requires:  smeserver-userpanel, userpanel causes endless problems
38  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
39  AutoReqProv: no  AutoReqProv: no
# Line 25  SME Server enhancement to enable procmai Line 43  SME Server enhancement to enable procmai
43  Optionally provides user panels where users can create mail rules for themselves  Optionally provides user panels where users can create mail rules for themselves
44    
45  %changelog  %changelog
46    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-24
47    - move .qmail fragment after SME forwarding [SME: 4602]
48    
49    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-23
50    - Apply 27 Sep 2008 locale patch
51    
52    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22
53    - Apply 1 July 2008 locale patch
54    
55    * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
56    - Apply 21 May 2008 locale patch
57    - Updating the release number (it was lagging behind about 10)
58    
59    * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
60    - Apply 5 May 2008 locale patch
61    
62    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
63    - Add common <base> tags to e-smith-formmagick's general
64    
65    * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-18
66    - Added 22 April 2008 locale patch
67    
68    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
69    - Update to UTF-8 translations
70    
71    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
72    - block generation of procmail/maildrop rules [SME: 4051]
73    
74    * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
75    - update locale 2008-03-14
76    
77    * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
78    - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
79    
80    * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
81    - Add 2008-03-11 locale patch
82    
83    * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
84    - prepare en lexicons for pootle translations
85    
86    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
87    - french translation fix
88    
89    * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10
90    - add french translation, thanks Sylvain Gomez
91    
92  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9  * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9
93  - add spanish translation, thanks Normando Hall [SME 3503]  - add spanish translation, thanks Normando Hall [SME 3503]
94    
# Line 104  Optionally provides user panels where us Line 168  Optionally provides user panels where us
168  %setup  %setup
169  %patch0 -p1  %patch0 -p1
170  %patch1 -p1  %patch1 -p1
171    %patch2 -p1
172    %patch3 -p1
173    %patch4 -p1
174    %patch5 -p1
175    %patch6 -p1
176    %patch7 -p1
177    %patch8 -p1
178    %patch9 -p1
179    %patch10 -p1
180    %patch11 -p1
181    %patch12 -p1
182    %patch13 -p1
183    %patch14 -p1
184    %patch15 -p1
185    
186  %build  %build
187  perl createlinks  perl createlinks
188    
189    LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
190    for lexicon in $LEXICONS
191    do
192        /sbin/e-smith/validate-lexicon $lexicon
193    done
194    
195  %install  %install
196  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
197  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
# Line 125  rm -rf %{name}-%{version} Line 209  rm -rf %{name}-%{version}
209  %post  %post
210  #new installs  #new installs
211  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'  
212   echo ' '   echo ' '
213     echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
214  fi  fi
215    
216  #upgrades (and new installs)  #upgrades (and new installs)
217  /bin/touch /home/e-smith/db/processmail  /bin/touch /home/e-smith/db/processmail
218  /sbin/e-smith/signal-event mailsorting-conf  /sbin/e-smith/signal-event mailsorting-conf
219  /sbin/e-smith/signal-event conf-userpanel  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
220       /sbin/e-smith/signal-event conf-userpanel
221    fi
222    
223  %postun  %postun
224  #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