1 |
# $Id: smeserver-vacation.spec,v 1.1 2020/04/14 14:42:41 brianr Exp $ |
# $Id: smeserver-vacation.spec,v 1.3 2020/05/19 14:34:51 brianr Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-vacation |
%define name smeserver-vacation |
6 |
%define version 1.1 |
%define version 1.1 |
7 |
%define release 27 |
%define release 29 |
8 |
Summary: SME Server enhancement to enable vacation messages for users. |
Summary: SME Server enhancement to enable vacation messages for users. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
36 |
Patch20: smeserver-vacation-1.1-bz6614-autodetect.html.patch |
Patch20: smeserver-vacation-1.1-bz6614-autodetect.html.patch |
37 |
Patch21: smeserver-vacation-1.1-locale-2018-12-14.patch |
Patch21: smeserver-vacation-1.1-locale-2018-12-14.patch |
38 |
Patch22: smeserver-vacation-1.1-SME10-Move-to-manager2.patch |
Patch22: smeserver-vacation-1.1-SME10-Move-to-manager2.patch |
39 |
|
Patch23: smeserver-vacation-1.1-Better-display-dates-in-list.patch |
40 |
|
Patch24: smeserver-vacation-1.1-Update-for-Apache-Mod-Proxy-based-server2.patch |
41 |
|
|
42 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
44 |
Requires: e-smith-release >= 9.0, |
Requires: e-smith-release >= 9.0, |
45 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
46 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
47 |
|
#BuildRequires: smeserver-manager >= 24 |
48 |
AutoReqProv: no |
AutoReqProv: no |
49 |
|
|
50 |
%description |
%description |
53 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-29.sme |
57 |
|
- Update for Apache-Mod-Proxy mode Server2 [SME:10927] |
58 |
|
|
59 |
|
* Tue May 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-28.sme |
60 |
|
- Part of SME10 Server manager2 - Better display of dates in list [SME:10927 ] |
61 |
|
|
62 |
* Tue Apr 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-27.sme |
* Tue Apr 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-27.sme |
63 |
- Update to SME10 - rework server manager panels to use manager2 [SME:10927] |
- Update to SME10 - rework server manager panels to use manager2 [SME:10927] |
64 |
|
|
363 |
%patch20 -p1 |
%patch20 -p1 |
364 |
%patch21 -p1 |
%patch21 -p1 |
365 |
%patch22 -p1 |
%patch22 -p1 |
366 |
|
%patch23 -p1 |
367 |
|
%patch24 -p1 |
368 |
|
|
369 |
%build |
%build |
370 |
perl createlinks |
perl createlinks |
401 |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
402 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |
403 |
fi |
fi |
404 |
|
/sbin/e-smith/signal-event manager2-refresh |
405 |
|
systemctl restart smanager |
406 |
|
|
407 |
%postun |
%postun |
408 |
#uninstall |
#uninstall |