1 |
# $Id: smeserver-mailsorting.spec,v 1.4 2013/11/28 05:42:37 unnilennium Exp $ |
# $Id: smeserver-mailsorting.spec,v 1.5 2013/11/29 21:35:17 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 44 |
%define release 45 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
49 |
Patch33: smeserver-mailsorting-1.2-RemoveTO_space.patch |
Patch33: smeserver-mailsorting-1.2-RemoveTO_space.patch |
50 |
Patch34: smeserver-mailsorting-1.2-admin-account.patch |
Patch34: smeserver-mailsorting-1.2-admin-account.patch |
51 |
Patch35: smeserver-mailsorting-1.2-geekmode2.patch |
Patch35: smeserver-mailsorting-1.2-geekmode2.patch |
52 |
|
Patch36: smeserver-mailsorting-1.2-admin-account2.patch |
53 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
54 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
55 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 7.0, |
64 |
Optionally provides user panels where users can create mail rules for themselves |
Optionally provides user panels where users can create mail rules for themselves |
65 |
|
|
66 |
%changelog |
%changelog |
67 |
|
* Wed Dec 11 2013 JP Pialasse <tests@pialasse.com> 1.2-45.sme |
68 |
|
- fix bug as admin .procmail was not created [SME: 8023] |
69 |
|
|
70 |
* Fri Nov 29 2013 JP Pialasse <tests@pialasse.com> 1.2-44.sme |
* Fri Nov 29 2013 JP Pialasse <tests@pialasse.com> 1.2-44.sme |
71 |
- fix admin patch |
- fix admin patch |
72 |
|
|
289 |
%patch33 -p1 |
%patch33 -p1 |
290 |
%patch34 -p1 |
%patch34 -p1 |
291 |
%patch35 -p1 |
%patch35 -p1 |
292 |
|
%patch36 -p1 |
293 |
|
|
294 |
%build |
%build |
295 |
perl createlinks |
perl createlinks |
327 |
|
|
328 |
#upgrades (and new installs) |
#upgrades (and new installs) |
329 |
/bin/touch /home/e-smith/db/processmail |
/bin/touch /home/e-smith/db/processmail |
330 |
|
# this one is essential to avoid to lose mails !!!! |
331 |
/sbin/e-smith/signal-event mailsorting-conf |
/sbin/e-smith/signal-event mailsorting-conf |
332 |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
333 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |