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

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

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


Revision 1.5 - (show annotations) (download)
Sun Apr 25 15:02:11 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_4-13_el7_sme
Changes since 1.4: +7 -2 lines
* Sun Apr 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-13.sme
- add requirement for maildrop and procmail [SME: 11578]

1 # $Id: smeserver-mailsorting.spec,v 1.4 2021/02/23 04:27:11 jpp 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.4
9 %define release 13
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.4-locale-2016-03-09.patch
17 Patch1: smeserver-mailsorting-bz8044-NFRdroplist.patch
18 Patch2: smeserver-mailsorting-1.4-locale-2017-03-25.patch
19 Patch3: smeserver-mailsorting-1.4.bz10366.respectGeekmode.patch
20 Patch4: smeserver-mailsorting-1.4-locale-2017-12-02.patch
21 Patch5: smeserver-mailsorting-1.4-bz10952.patch
22
23 BuildArchitectures: noarch
24 BuildRoot: /var/tmp/%{name}-%{version}
25 Requires: e-smith-release >= 9.0
26 Requires: perl-Unicode-IMAPUtf7
27 Requires: e-smith-formmagick >= 1.4.0-12
28 Requires: perl-File-Find-Rule >= 0.33
29 Requires: maildrop
30 Requires: procmail
31 #Requires: smeserver-userpanel, userpanel causes endless problems
32 BuildRequires: e-smith-devtools >= 1.13.1-03
33 AutoReqProv: no
34
35 %description
36 SME Server enhancement to enable procmail or maildrop filtering for users.
37 Optionally provides user panels where users can create mail rules for themselves
38
39 %changelog
40 * Sun Apr 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-13.sme
41 - add requirement for maildrop and procmail [SME: 11578]
42
43 * Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-12.sme
44 - add update event to avoid need of reboot [SME: 10952]
45
46 * Tue Nov 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-11.sme
47 - First import to SME10 [SME: 10952]
48
49 * Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.4-10.sme
50 - apply locale 2017-12-02 patch
51
52 * Tue Jul 04 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-9.sme
53 - fix geekmode not honoured [SME: 10366]
54 - thanks to John Crisp for the fix.
55 - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday
56
57 * Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-8.sme
58 - apply locale 2017-03-25 patch
59
60 * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-7.sme
61 - requires perl-File-Find-Rule >= 0.33
62
63 * Wed Feb 08 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-5.sme
64 - NFR droplist to choose the directory to sort to [SME: 8044]
65 - few tidying in code of panel
66
67 * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.4-4.sme
68 - apply locale 2016-03-09 patch
69
70 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-3.sme
71 - Initial release to contribs9
72
73 * Tue Dec 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-2.sme
74 - allow the possibility to use sieve script if no rules has matched.
75 - Code developed by <m.schuh@neckargeo.net> Mats Schuh
76
77 * Mon Jun 23 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-1.sme
78 - Initial release to sme9
79
80 * Wed Dec 11 2013 JP Pialasse <tests@pialasse.com> 1.2-45.sme
81 - fix bug as admin .procmail was not created [SME: 8023]
82
83 * Fri Nov 29 2013 JP Pialasse <tests@pialasse.com> 1.2-44.sme
84 - fix admin patch
85
86 * Thu Nov 28 2013 Steph DL <stephdl@de-labrusse.fr> 1.2-43.sme
87 Wed Nov 28 2013 --> Wed Nov 27 2013 or Thu Nov 28 2013 or Wed Dec 04 2013 or ....
88 - fix [SME: 8023] [SME: 8024]
89
90 * Wed Oct 09 2013 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-42.sme
91 - remove space from TO_ [SME: 6061] [SME: 2264]
92
93 * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-41.sme
94 - apply locale 2013-07-14 patch
95 - documentation fix [SME: 7586]
96 - copy keeped even if forward [SME: 6847]
97
98
99 * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.2-40.sme
100 - apply locale 2011-03-06 patch
101
102 * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.2-39.sme
103 - apply locale 2010-05-23 patch
104
105 * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.2-38.sme
106 - apply locale 2010-03-02 patch
107
108 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.2-37.sme
109 - apply locale 2009-10-27 patch
110
111 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.2-36.sme
112 - apply locale 2009-08-24 patch
113
114 * Fri Jun 12 2009 Stephen Noble <support@dungog.net> 1.2-35
115 - don't escape spaces in folder names with zarafa enabled [SME: 5164]
116
117 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.2-34.sme
118 - apply locale 2009-05-20 patch
119
120 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.2-33.sme
121 - apply locale 2009-04-27 patch
122
123 * Sun Mar 22 2009 Stephen Noble <support@dungog.net> 1.2-32
124 - qmail FilterOrder enabled lets maildrop filter before forwarding [SME: 5044]
125
126 * Tue Mar 03 2009 SME Translation Server xyz 1.2-31
127 - apply locale 2009-03-03 patch
128
129 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30
130 - Apply 1 Mar 2009 locale patch [SME: 5018]
131
132 * Sat Feb 21 2009 Stephen Noble <support@dungog.net> 1.2-29
133 - remove drop down to select folders [SME: 5016]
134
135 * Sat Feb 21 2009 Stephen Noble <support@dungog.net> 1.2-28
136 - procmail sort to zarafa folders if enabled [SME: 5016]
137
138 * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-27
139 - Apply 1 Jan 2009 locale patch [SME: 4900]
140
141 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-26
142 - Apply 14 Oct 2008 locale patch
143
144 * Mon Sep 29 2008 Stephen Noble <support@dungog.net> - 1.2-25
145 - remove internal forwarding [SME: 4605]
146
147 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-24
148 - move .qmail fragment after SME forwarding [SME: 4602]
149
150 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-23
151 - Apply 27 Sep 2008 locale patch
152
153 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22
154 - Apply 1 July 2008 locale patch
155
156 * Wed May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
157 Thu May 21 2008 --> Thu May 15 2008 or Wed May 21 2008 or Thu May 22 2008 or ....
158 - Apply 21 May 2008 locale patch
159 - Updating the release number (it was lagging behind about 10)
160
161 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
162 - Apply 5 May 2008 locale patch
163
164 * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
165 - Add common <base> tags to e-smith-formmagick's general
166
167 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-18
168 - Added 22 April 2008 locale patch
169
170 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-17
171 - Update to UTF-8 translations
172
173 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-16
174 - block generation of procmail/maildrop rules [SME: 4051]
175
176 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.2-15
177 - update locale 2008-03-14
178
179 * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.2-14
180 - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
181
182 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-13
183 - Add 2008-03-11 locale patch
184
185 * Fri Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-12
186 - prepare en lexicons for pootle translations
187
188 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-11
189 - french translation fix
190
191 * Tue Dec 25 2007 Stephen Noble <support@dungog.net> 1.2-10
192 - add french translation, thanks Sylvain Gomez
193
194 * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.2-9
195 - add spanish translation, thanks Normando Hall [SME 3503]
196
197 * Sun Jul 29 2007 Stephen Noble <support@dungog.net> 1.2-8
198 - Add Requires perl-Unicode-IMAPUtf7 [SME: 3218]
199
200 * Thu Jul 05 2007 Stephen Noble <support@dungog.net> 1.2-7
201 - touch processmail db, thanks dclarke
202
203 * Wed Jun 13 2007 Stephen Noble <stephen@dungog.net> 1.2-6
204 - add global maildrop delete duplicate db value
205
206 * Wed Jun 13 2007 Stephen Noble <stephen@dungog.net>
207 - update .tar.gz to current version
208
209 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
210 - Clean up spec so package can be built by koji/plague
211
212 * Sat Mar 17 2007 Stephen Noble <stephen@dungog.net>
213 - retry mail in .qmail [sme 2733]
214 - [1.2-5]
215
216 * Wed Feb 28 2007 Stephen Noble <stephen@dungog.net>
217 - remove Requires: smeserver-userpanel
218 - [1.2-4]
219
220 * Tue Jan 9 2007 Stephen Noble <support@dungog.net>
221 - remove .* after TO_ macro [sme 2264]
222 - Existing mail folders search improved [sme 2265]
223 - [1.2-3]
224
225 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
226 - Update to new release naming. No functional changes.
227 - Make Packager generic
228
229 * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
230 - improved german support, thanks Dietmar
231 - Unicode-IMAPUtf7 support [sme 1446]
232 - [1.2-2]
233
234 * Sat Oct 21 2006 Stephen Noble <support@dungog.net>
235 - FormMagick version
236 - [1.2-1]
237
238 * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
239 - remove strict check on mailrule criterion [sme 1643]
240 - fix log rotation
241 - maildrop matching improved, [sme 1642]
242 - allow for spaces in folder names for maildrop [sme 1640]
243 - [0.9-6]
244
245 * Sat May 6 2006 Stephen Noble <support@dungog.net>
246 - default shell for maildrop set to /bin/bash
247 - [contribs 1378] thanks mweinber neddix.de
248 - [0.9-5]
249
250 * Thu Apr 06 2006 Stephen Noble <support@dungog.net>
251 Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or ....
252 - delete duplicates
253 - globally enabled for procmail, works ok
254 - per user for maildrop, worked ok for user A, but started deleting mail for user B
255 - [0.9-4]
256
257 * Thu Mar 9 2006 Stephen Noble <support@dungog.net>
258 - remove preun actions
259 - [0.9-3]
260
261 * Thu Mar 9 2006 Stephen Noble <support@dungog.net>
262 - Requires: smeserver-userpanel
263 - bypass admin's .qmail
264 - [0.9-2]
265
266 * Sun Sep 25 2005 Stephen Noble <support@dungog.net>
267 - initial release
268 - [0.9-1]
269
270 %prep
271 %setup
272 %patch0 -p1
273 %patch1 -p1
274 %patch2 -p1
275 %patch3 -p1
276 %patch4 -p1
277 %patch5 -p1
278
279 %build
280 perl createlinks
281
282 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
283 for lexicon in $LEXICONS
284 do
285 /sbin/e-smith/validate-lexicon $lexicon
286 done
287
288 %install
289 rm -rf $RPM_BUILD_ROOT
290 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
291 rm -f %{name}-%{version}-filelist
292 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
293 echo "%doc COPYING" >> %{name}-%{version}-filelist
294
295 %clean
296
297 %pre
298 %preun
299
300 %post
301 #new installs
302 if [ $1 = 1 ] ; then
303 echo ''
304 echo '#############################################################'
305 echo ' Please visit the url below to apprehend all the db commands'
306 echo ' http://wiki.contribs.org/Mailsorting#Configuration '
307 echo '#############################################################'
308 echo ''
309 fi
310
311 #upgrades (and new installs)
312 /bin/touch /home/e-smith/db/processmail
313 # this one is essential to avoid to lose mails !!!!
314 /sbin/e-smith/signal-event mailsorting-conf
315 if [ -d /etc/e-smith/events/conf-userpanel ] ; then
316 /sbin/e-smith/signal-event conf-userpanel
317 fi
318
319 %postun
320 #uninstall
321 if [ $1 = 0 ] ; then
322
323 echo ''
324 echo '##################################'
325 echo 'to disable procmail or maildrop'
326 echo 'config delprop qmail FilterType'
327 echo 'signal-event email-update'
328 echo '##################################'
329 echo ''
330
331 DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
332 for db in $DBS ; do
333 /sbin/e-smith/db $db delete userpanel-mailsort 2>/dev/null
334 done
335 fi
336
337 %files -f %{name}-%{version}-filelist
338 %defattr(-,root,root)

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