1 |
# $Id: smeserver-mailsorting.spec,v 1.1 2013/02/03 04:25:07 unnilennium Exp $ |
# $Id: smeserver-mailsorting.spec,v 1.8 2016/03/09 07:15:47 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 41 |
%define release 47 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
Patch31: smeserver-mailsorting-1.2-locale-2013-07-14.patch |
48 |
Patch32: smeserver-mailsorting-forward.patch |
Patch32: smeserver-mailsorting-forward.patch |
49 |
|
Patch33: smeserver-mailsorting-1.2-RemoveTO_space.patch |
50 |
|
Patch34: smeserver-mailsorting-1.2-admin-account.patch |
51 |
|
Patch35: smeserver-mailsorting-1.2-geekmode2.patch |
52 |
|
Patch36: smeserver-mailsorting-1.2-admin-account2.patch |
53 |
|
Patch37: smeserver-mailsorting-1.2-locale-2016-03-09.patch |
54 |
|
|
55 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
56 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
57 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
66 |
Optionally provides user panels where users can create mail rules for themselves |
Optionally provides user panels where users can create mail rules for themselves |
67 |
|
|
68 |
%changelog |
%changelog |
69 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2-47.sme |
70 |
|
- apply locale 2016-03-09 patch |
71 |
|
|
72 |
|
* Wed Dec 11 2013 JP Pialasse <tests@pialasse.com> 1.2-45.sme |
73 |
|
- fix bug as admin .procmail was not created [SME: 8023] |
74 |
|
|
75 |
|
* Fri Nov 29 2013 JP Pialasse <tests@pialasse.com> 1.2-44.sme |
76 |
|
- fix admin patch |
77 |
|
|
78 |
|
* Wed Nov 28 2013 Steph DL <stephdl@de-labrusse.fr> 1.2-43.sme |
79 |
|
- fix [SME: 8023] [SME: 8024] |
80 |
|
|
81 |
|
* Thu Oct 09 2013 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-42.sme |
82 |
|
- remove space from TO_ [SME: 6061] [SME: 2264] |
83 |
|
|
84 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-41.sme |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-41.sme |
85 |
- apply locale 2013-07-14 patch |
- apply locale 2013-07-14 patch |
86 |
- documentation fix [SME: 7586] |
- documentation fix [SME: 7586] |
291 |
%patch30 -p1 |
%patch30 -p1 |
292 |
%patch31 -p1 |
%patch31 -p1 |
293 |
%patch32 -p1 |
%patch32 -p1 |
294 |
|
%patch33 -p1 |
295 |
|
%patch34 -p1 |
296 |
|
%patch35 -p1 |
297 |
|
%patch36 -p1 |
298 |
|
%patch37 -p1 |
299 |
|
|
300 |
|
|
301 |
%build |
%build |
302 |
perl createlinks |
perl createlinks |
315 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
316 |
|
|
317 |
%clean |
%clean |
|
cd .. |
|
|
rm -rf %{name}-%{version} |
|
318 |
|
|
319 |
%pre |
%pre |
320 |
%preun |
%preun |
332 |
|
|
333 |
#upgrades (and new installs) |
#upgrades (and new installs) |
334 |
/bin/touch /home/e-smith/db/processmail |
/bin/touch /home/e-smith/db/processmail |
335 |
|
# this one is essential to avoid to lose mails !!!! |
336 |
/sbin/e-smith/signal-event mailsorting-conf |
/sbin/e-smith/signal-event mailsorting-conf |
337 |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
338 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |