/[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.38 - (show annotations) (download)
Wed May 20 18:16:27 2009 UTC (15 years ago) by slords
Branch: MAIN
Changes since 1.37: +7 -2 lines
Apply patches

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

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