/[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.34 - (show annotations) (download)
Sun Mar 1 19:27:26 2009 UTC (15 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-30_el4_sme
Changes since 1.33: +7 -2 lines
* Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30
- Apply  1 Mar 2009 locale patch [SME: 5018]

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

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