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

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

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


Revision 1.43 - (show annotations) (download)
Sun May 23 19:14:04 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-39_el4_sme
Changes since 1.42: +7 -2 lines
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.2-39.sme
- apply locale 2010-05-23 patch

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

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