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

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

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


Revision 1.40 - (hide annotations) (download)
Mon Aug 24 17:58:13 2009 UTC (15 years, 2 months ago) by slords
Branch: MAIN
Changes since 1.39: +7 -2 lines
Translation updates

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

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