/[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.33 - (hide annotations) (download)
Sat Feb 21 14:28:36 2009 UTC (15 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-29_el4_sme
Changes since 1.32: +8 -3 lines
* Sat Feb 21 2009 Stephen Noble <support@dungog.net> 1.2-29
- remove drop down to select folders [SME: 5016]

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

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