/[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.21 - (show annotations) (download)
Wed May 21 20:20:27 2008 UTC (16 years ago) by snetram
Branch: MAIN
Changes since 1.20: +7 -2 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
- Apply 21 May 2008 locale patch
- Updating the release number (it was lagging behind about 10)

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

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