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

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

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


Revision 1.35 - (hide annotations) (download)
Tue Mar 3 21:36:59 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-31_el4_sme
Changes since 1.34: +7 -2 lines
Locale updates

1 slords 1.35 # $Id: smeserver-mailsorting.spec,v 1.34 2009/03/01 19:27:26 snetram Exp $
2 slords 1.16 # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 Summary: Lets users configure procmail or maildrop rules.
6     %define name smeserver-mailsorting
7     Name: %{name}
8     %define version 1.2
9 slords 1.35 %define release 31
10 slords 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     URL: http://www.dungog.net/sme
14     Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.gz
16     Patch0: smeserver-mailsorting-1.2-maildropdups.patch
17     Patch1: smeserver-mailsorting-1.2-esLocale.patch
18 dungog 1.7 Patch2: smeserver-mailsorting-1.2-frLocale3.patch
19 dungog 1.10 Patch3: smeserver-mailsorting-1.2-pootle.patch
20 dungog 1.11 Patch4: smeserver-mailsorting-1.2-locale-2008-03-11.patch
21 dungog 1.13 Patch5: smeserver-mailsorting-1.2-locale-2008-03-14.patch
22 dungog 1.14 Patch6: smeserver-mailsorting-1.2-geekmode.patch
23 slords 1.15 Patch7: smeserver-mailsorting-1.2-locale-2008-04-01.patch
24 snetram 1.17 Patch8: smeserver-mailsorting-1.2-locale-2008-04-22.patch
25 snetram 1.18 Patch9: smeserver-mailsorting-1.2-add2general.patch
26 snetram 1.20 Patch10: smeserver-mailsorting-1.2-locale-2008-05-05.patch
27 snetram 1.21 Patch11: smeserver-mailsorting-1.2-locale-2008-05-21.patch
28 snetram 1.23 Patch12: smeserver-mailsorting-1.2-locale-2008-07-01.patch
29 dungog 1.26 Patch13: smeserver-mailsorting-1.2-locale-2008-09-27.patch
30     Patch14: smeserver-mailsorting-1.2-76Filter.patch
31 dungog 1.27 Patch15: smeserver-mailsorting-1.2-removefwd.patch
32 snetram 1.28 Patch16: smeserver-mailsorting-1.2-locale-2008-10-14.patch
33 snetram 1.31 Patch17: smeserver-mailsorting-1.2-locale-2009-01-01.patch
34 dungog 1.32 Patch18: smeserver-mailsorting-1.2-zarafaprocmail.patch
35 dungog 1.33 Patch19: smeserver-mailsorting-1.2-removedropdown.patch
36 snetram 1.34 Patch20: smeserver-mailsorting-1.2-locale-2009-03-01.patch
37 slords 1.35 Patch21: smeserver-mailsorting-1.2-locale-2009-03-03.patch
38 slords 1.1 BuildArchitectures: noarch
39     BuildRoot: /var/tmp/%{name}-%{version}
40     Requires: e-smith-release >= 7.0,
41     Requires: perl-Unicode-IMAPUtf7
42 slords 1.19 Requires: e-smith-formmagick >= 1.4.0-12
43 slords 1.1 #Requires: smeserver-userpanel, userpanel causes endless problems
44     BuildRequires: e-smith-devtools >= 1.13.1-03
45     AutoReqProv: no
46    
47     %description
48     SME Server enhancement to enable procmail or maildrop filtering for users.
49     Optionally provides user panels where users can create mail rules for themselves
50    
51     %changelog
52 slords 1.35 * Tue Mar 03 2009 SME Translation Server
53     - apply locale 2009-03-03 patch
54    
55 snetram 1.34 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30
56     - Apply 1 Mar 2009 locale patch [SME: 5018]
57    
58 dungog 1.33 * Sat Feb 21 2009 Stephen Noble <support@dungog.net> 1.2-29
59     - remove drop down to select folders [SME: 5016]
60    
61     * Sat Feb 21 2009 Stephen Noble <support@dungog.net> 1.2-28
62 dungog 1.32 - procmail sort to zarafa folders if enabled [SME: 5016]
63    
64 snetram 1.31 * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-27
65     - Apply 1 Jan 2009 locale patch [SME: 4900]
66    
67 snetram 1.28 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-26
68     - Apply 14 Oct 2008 locale patch
69    
70 dungog 1.27 * Mon Sep 29 2008 Stephen Noble <support@dungog.net> - 1.2-25
71     - remove internal forwarding [SME: 4605]
72    
73 dungog 1.25 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-24
74     - move .qmail fragment after SME forwarding [SME: 4602]
75    
76     * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-23
77     - Apply 27 Sep 2008 locale patch
78 dungog 1.24
79 snetram 1.23 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22
80     - Apply 1 July 2008 locale patch
81    
82 snetram 1.21 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
83     - Apply 21 May 2008 locale patch
84     - Updating the release number (it was lagging behind about 10)
85    
86 snetram 1.20 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
87     - Apply 5 May 2008 locale patch
88    
89 snetram 1.18 * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
90     - Add common <base> tags to e-smith-formmagick's general
91    
92 snetram 1.17 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-18
93     - Added 22 April 2008 locale patch
94    
95 slords 1.15 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
96     - Update to UTF-8 translations
97    
98 dungog 1.14 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
99     - block generation of procmail/maildrop rules [SME: 4051]
100    
101 dungog 1.13 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
102     - update locale 2008-03-14
103    
104 slords 1.12 * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
105     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
106    
107 dungog 1.11 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
108     - Add 2008-03-11 locale patch
109    
110     * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
111 dungog 1.10 - prepare en lexicons for pootle translations
112    
113 dungog 1.8 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
114     - french translation fix
115    
116 dungog 1.5 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10
117     - add french translation, thanks Sylvain Gomez
118 dungog 1.3
119 slords 1.1 * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9
120     - add spanish translation, thanks Normando Hall [SME 3503]
121    
122     * Sun Jul 29 2007 Stephen Noble <support@dungog.net> 1.2-8
123     - Add Requires perl-Unicode-IMAPUtf7 [SME: 3218]
124    
125     * Thu Jul 05 2007 Stephen Noble <support@dungog.net> 1.2-7
126     - touch processmail db, thanks dclarke
127    
128     * Wed Jun 13 2007 Stephen Noble <stephen@dungog.net> 1.2-6
129     - add global maildrop delete duplicate db value
130    
131     * Wed Jun 13 2007 Stephen Noble <stephen@dungog.net>
132     - update .tar.gz to current version
133    
134     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
135     - Clean up spec so package can be built by koji/plague
136    
137     * Sat Mar 17 2007 Stephen Noble <stephen@dungog.net>
138     - retry mail in .qmail [sme 2733]
139     - [1.2-5]
140    
141     * Wed Feb 28 2007 Stephen Noble <stephen@dungog.net>
142     - remove Requires: smeserver-userpanel
143     - [1.2-4]
144    
145     * Tue Jan 9 2007 Stephen Noble <support@dungog.net>
146     - remove .* after TO_ macro [sme 2264]
147     - Existing mail folders search improved [sme 2265]
148     - [1.2-3]
149    
150     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
151     - Update to new release naming. No functional changes.
152     - Make Packager generic
153    
154     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
155     - improved german support, thanks Dietmar
156     - Unicode-IMAPUtf7 support [sme 1446]
157     - [1.2-2]
158    
159     * Sat Oct 21 2006 Stephen Noble <support@dungog.net>
160     - FormMagick version
161     - [1.2-1]
162    
163     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
164     - remove strict check on mailrule criterion [sme 1643]
165     - fix log rotation
166     - maildrop matching improved, [sme 1642]
167     - allow for spaces in folder names for maildrop [sme 1640]
168     - [0.9-6]
169    
170     * Sat May 6 2006 Stephen Noble <support@dungog.net>
171     - default shell for maildrop set to /bin/bash
172     - [contribs 1378] thanks mweinber neddix.de
173     - [0.9-5]
174    
175     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
176     - delete duplicates
177     - globally enabled for procmail, works ok
178     - per user for maildrop, worked ok for user A, but started deleting mail for user B
179     - [0.9-4]
180    
181     * Thu Mar 9 2006 Stephen Noble <support@dungog.net>
182     - remove preun actions
183     - [0.9-3]
184    
185     * Thu Mar 9 2006 Stephen Noble <support@dungog.net>
186     - Requires: smeserver-userpanel
187     - bypass admin's .qmail
188     - [0.9-2]
189    
190     * Sun Sep 25 2005 Stephen Noble <support@dungog.net>
191     - initial release
192     - [0.9-1]
193    
194     %prep
195     %setup
196     %patch0 -p1
197     %patch1 -p1
198 dungog 1.7 %patch2 -p1
199 dungog 1.10 %patch3 -p1
200 dungog 1.11 %patch4 -p1
201 dungog 1.13 %patch5 -p1
202 dungog 1.14 %patch6 -p1
203 slords 1.15 %patch7 -p1
204 snetram 1.17 %patch8 -p1
205 snetram 1.18 %patch9 -p1
206 snetram 1.20 %patch10 -p1
207 snetram 1.22 %patch11 -p1
208 snetram 1.23 %patch12 -p1
209 dungog 1.24 %patch13 -p1
210     %patch14 -p1
211 dungog 1.27 %patch15 -p1
212 snetram 1.28 %patch16 -p1
213 snetram 1.31 %patch17 -p1
214 dungog 1.32 %patch18 -p1
215 dungog 1.33 %patch19 -p1
216 snetram 1.34 %patch20 -p1
217 slords 1.35 %patch21 -p1
218 slords 1.1
219     %build
220     perl createlinks
221    
222 dungog 1.9 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
223     for lexicon in $LEXICONS
224     do
225     /sbin/e-smith/validate-lexicon $lexicon
226     done
227    
228 slords 1.1 %install
229     rm -rf $RPM_BUILD_ROOT
230     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
231     rm -f %{name}-%{version}-filelist
232     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
233     echo "%doc COPYING" >> %{name}-%{version}-filelist
234    
235     %clean
236     cd ..
237     rm -rf %{name}-%{version}
238    
239     %pre
240     %preun
241    
242     %post
243     #new installs
244     if [ $1 = 1 ] ; then
245     echo ' '
246 dungog 1.10 echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration'
247 slords 1.1 fi
248    
249     #upgrades (and new installs)
250     /bin/touch /home/e-smith/db/processmail
251     /sbin/e-smith/signal-event mailsorting-conf
252 dungog 1.10 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
253     /sbin/e-smith/signal-event conf-userpanel
254     fi
255 slords 1.1
256     %postun
257     #uninstall
258     if [ $1 = 0 ] ; then
259    
260     echo ''
261     echo 'to disable procmail or maildrop'
262     echo 'config delprop qmail FilterType'
263     echo 'signal-event email-update'
264     echo ''
265    
266     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
267     for db in $DBS ; do
268     /sbin/e-smith/db $db delete userpanel-mailsort 2>/dev/null
269     done
270     fi
271    
272     %files -f %{name}-%{version}-filelist
273     %defattr(-,root,root)

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