1 |
# $Id: smeserver-vacation.spec,v 1.3 2020/05/19 14:34:51 brianr Exp $ |
# $Id: smeserver-vacation.spec,v 1.8 2021/08/25 01:13:05 terryfage 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 29 |
%define release 34 |
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} |
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 |
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 |
Patch24: smeserver-vacation-1.1-Update-for-Apache-Mod-Proxy-based-server2.patch |
41 |
|
Patch25: smeserver-vacation-1.1-Add-in-update-action-to-restart-smanager.patch |
42 |
|
Patch26: smeserver-vacation-1.1-bz11399-tableEncoding.patch |
43 |
|
Patch27: smeserver-vacation-1.1-locale-2021-08-25.patch |
44 |
|
Patch28: smeserver-vacation-1.1-Add-extra-class-in-div-for-AdminLTE.patch |
45 |
|
|
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
48 |
Requires: e-smith-release >= 9.0, |
Requires: e-smith-release >= 9.0, |
49 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
50 |
|
# needs /usr/share/perl5/vendor_perl/ctime.pl |
51 |
|
Requires: perl-Perl4-CoreLibs |
52 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
53 |
#BuildRequires: smeserver-manager >= 24 |
#BuildRequires: smeserver-manager >= 24 |
54 |
AutoReqProv: no |
AutoReqProv: no |
59 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.1-34.sme |
63 |
|
- Add-extra-class-in-div-for-AdminLTE [SME: 11834] |
64 |
|
|
65 |
|
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.1-33.sme |
66 |
|
- apply locale 2021-08-25 patch |
67 |
|
|
68 |
|
* Fri Feb 26 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-32.sme |
69 |
|
- avoid reencoding of strings in admin table of users [SME: 11399] |
70 |
|
|
71 |
|
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-31.sme |
72 |
|
- add requirement ctime.pl to display log [SME: 10927] |
73 |
|
|
74 |
|
* Sat Oct 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-30.sme |
75 |
|
- Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] |
76 |
|
- to smeserver-vacation-update event |
77 |
|
|
78 |
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-29.sme |
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-29.sme |
79 |
- Update for Apache-Mod-Proxy mode Server2 [SME:10927] |
- Update for Apache-Mod-Proxy mode Server2 [SME:10927] |
80 |
|
|
387 |
%patch22 -p1 |
%patch22 -p1 |
388 |
%patch23 -p1 |
%patch23 -p1 |
389 |
%patch24 -p1 |
%patch24 -p1 |
390 |
|
%patch25 -p1 |
391 |
|
%patch26 -p1 |
392 |
|
%patch27 -p1 |
393 |
|
%patch28 -p1 |
394 |
|
|
395 |
%build |
%build |
396 |
perl createlinks |
perl createlinks |
427 |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
if [ -d /etc/e-smith/events/conf-userpanel ] ; then |
428 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |
429 |
fi |
fi |
430 |
/sbin/e-smith/signal-event manager2-refresh |
|
431 |
systemctl restart smanager |
#if (systemctl list-unit-files |grep smanager) then |
432 |
|
# echo "Smanager restart in spec file" |
433 |
|
# /sbin/e-smith/signal-event manager2-refresh; |
434 |
|
# systemctl restart smanager |
435 |
|
#else |
436 |
|
# echo "No smanager restart in spec file" |
437 |
|
#fi |
438 |
|
|
439 |
%postun |
%postun |
440 |
#uninstall |
#uninstall |