/[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.11 - (hide annotations) (download)
Wed Mar 12 07:11:00 2008 UTC (16 years, 7 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-13_el4_sme
Changes since 1.10: +7 -3 lines
Add locale patch

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

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