1 |
# $Id: smeserver-mailsorting.spec,v 1.44 2011/03/06 15:28:06 slords Exp $ |
# $Id: smeserver-mailsorting.spec,v 1.1 2013/02/03 04:25:07 unnilennium Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
6 |
%define name smeserver-mailsorting |
%define name smeserver-mailsorting |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.2 |
%define version 1.2 |
9 |
%define release 40 |
%define release 41 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
44 |
Patch28: smeserver-mailsorting-1.2-locale-2010-03-02.patch |
Patch28: smeserver-mailsorting-1.2-locale-2010-03-02.patch |
45 |
Patch29: smeserver-mailsorting-1.2-locale-2010-05-23.patch |
Patch29: smeserver-mailsorting-1.2-locale-2010-05-23.patch |
46 |
Patch30: smeserver-mailsorting-1.2-locale-2011-03-06.patch |
Patch30: smeserver-mailsorting-1.2-locale-2011-03-06.patch |
47 |
|
Patch31: smeserver-mailsorting-1.2-locale-2013-07-14.patch |
48 |
|
Patch32: smeserver-mailsorting-forward.patch |
49 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
51 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
60 |
Optionally provides user panels where users can create mail rules for themselves |
Optionally provides user panels where users can create mail rules for themselves |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-41.sme |
64 |
|
- apply locale 2013-07-14 patch |
65 |
|
- documentation fix [SME: 7586] |
66 |
|
- copy keeped even if forward [SME: 6847] |
67 |
|
|
68 |
|
|
69 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.2-40.sme |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.2-40.sme |
70 |
- apply locale 2011-03-06 patch |
- apply locale 2011-03-06 patch |
71 |
|
|
268 |
%patch28 -p1 |
%patch28 -p1 |
269 |
%patch29 -p1 |
%patch29 -p1 |
270 |
%patch30 -p1 |
%patch30 -p1 |
271 |
|
%patch31 -p1 |
272 |
|
%patch32 -p1 |
273 |
|
|
274 |
%build |
%build |
275 |
perl createlinks |
perl createlinks |
297 |
%post |
%post |
298 |
#new installs |
#new installs |
299 |
if [ $1 = 1 ] ; then |
if [ $1 = 1 ] ; then |
300 |
echo ' ' |
echo '' |
301 |
echo 'http://www.dungog.net/wiki/Smeserver-mailsorting#Configuration' |
echo '#############################################################' |
302 |
|
echo ' Please visit the url below to apprehend all the db commands' |
303 |
|
echo ' http://wiki.contribs.org/Mailsorting#Configuration ' |
304 |
|
echo '#############################################################' |
305 |
|
echo '' |
306 |
fi |
fi |
307 |
|
|
308 |
#upgrades (and new installs) |
#upgrades (and new installs) |
317 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
318 |
|
|
319 |
echo '' |
echo '' |
320 |
|
echo '##################################' |
321 |
echo 'to disable procmail or maildrop' |
echo 'to disable procmail or maildrop' |
322 |
echo 'config delprop qmail FilterType' |
echo 'config delprop qmail FilterType' |
323 |
echo 'signal-event email-update' |
echo 'signal-event email-update' |
324 |
|
echo '##################################' |
325 |
echo '' |
echo '' |
326 |
|
|
327 |
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |