/[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.3 - (hide annotations) (download)
Tue Nov 26 22:32:16 2013 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-42_el5_sme
Changes since 1.2: +7 -2 lines
* Thu Oct 09 2013 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-42.sme
- remove space from TO_ [SME: 6061] [SME: 2264]

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

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