/[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.18 - (hide annotations) (download)
Sun Apr 27 17:26:49 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.17: +7 -2 lines
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-19
- Add common <base> tags to e-smith-formmagick's general

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

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