/[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.20 - (hide annotations) (download)
Mon May 5 19:22:37 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.19: +7 -2 lines
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
- Apply 5 May 2008 locale patch

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

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