/[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.4 - (hide annotations) (download)
Tue Dec 25 06:30:34 2007 UTC (16 years, 10 months ago) by dungog
Branch: MAIN
Changes since 1.3: +4 -4 lines
*** empty log message ***

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

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