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

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

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


Revision 1.7 - (hide annotations) (download)
Wed Dec 11 21:01:28 2013 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-45_el5_sme
Changes since 1.6: +1 -3 lines
* Wed Dec 11 2013 JP Pialasse <tests@pialasse.com> 1.2-45.sme
- fix bug as admin .procmail was not created [SME: 8023]

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

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