/[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.28 - (hide annotations) (download)
Tue Oct 14 14:44:12 2008 UTC (16 years ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-26_el4_sme
Changes since 1.27: +7 -2 lines
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-26
- Apply 14 Oct 2008 locale patch

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

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