/[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.36 - (show annotations) (download)
Sun Mar 22 09:03:18 2009 UTC (15 years, 2 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-32_el4_sme
Changes since 1.35: +8 -3 lines
maildrop filterorder

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

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