1 |
# $Id: smeserver-vacation.spec,v 1.1 2020/04/14 14:42:41 brianr Exp $ |
# $Id: smeserver-vacation.spec,v 1.10 2024/02/16 16:02:37 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 36 |
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 |
|
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 |
|
Patch29: smeserver-vacation-1.1-Sort-out-html-chars-in-email-template.patch |
46 |
|
Patch30: smeserver-vacation-1.1-Alter-menu-category-for-new-arrangement.patch |
47 |
|
|
48 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
50 |
Requires: e-smith-release >= 9.0, |
Requires: e-smith-release >= 9.0, |
51 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
52 |
|
# needs /usr/share/perl5/vendor_perl/ctime.pl |
53 |
|
Requires: perl-Perl4-CoreLibs |
54 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
55 |
|
#BuildRequires: smeserver-manager >= 24 |
56 |
AutoReqProv: no |
AutoReqProv: no |
57 |
|
|
58 |
%description |
%description |
61 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
62 |
|
|
63 |
%changelog |
%changelog |
64 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.1-36.sme |
65 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
66 |
|
|
67 |
|
* Fri Feb 16 2024 Brian Read <brianr@koozali.org> 1.1-35.sme |
68 |
|
- Sort out html chars in email default [SME: 12475] |
69 |
|
- Add signal-event refresh to spec file. [sme 12474] |
70 |
|
|
71 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.1-34.sme |
72 |
|
- Add-extra-class-in-div-for-AdminLTE [SME: 11834] |
73 |
|
|
74 |
|
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.1-33.sme |
75 |
|
- apply locale 2021-08-25 patch |
76 |
|
|
77 |
|
* Fri Feb 26 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-32.sme |
78 |
|
- avoid reencoding of strings in admin table of users [SME: 11399] |
79 |
|
|
80 |
|
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-31.sme |
81 |
|
- add requirement ctime.pl to display log [SME: 10927] |
82 |
|
|
83 |
|
* Sat Oct 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-30.sme |
84 |
|
- Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] |
85 |
|
- to smeserver-vacation-update event |
86 |
|
|
87 |
|
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-29.sme |
88 |
|
- Update for Apache-Mod-Proxy mode Server2 [SME:10927] |
89 |
|
|
90 |
|
* Tue May 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-28.sme |
91 |
|
- Part of SME10 Server manager2 - Better display of dates in list [SME:10927 ] |
92 |
|
|
93 |
* 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 |
94 |
- Update to SME10 - rework server manager panels to use manager2 [SME:10927] |
- Update to SME10 - rework server manager panels to use manager2 [SME:10927] |
95 |
|
|
394 |
%patch20 -p1 |
%patch20 -p1 |
395 |
%patch21 -p1 |
%patch21 -p1 |
396 |
%patch22 -p1 |
%patch22 -p1 |
397 |
|
%patch23 -p1 |
398 |
|
%patch24 -p1 |
399 |
|
%patch25 -p1 |
400 |
|
%patch26 -p1 |
401 |
|
%patch27 -p1 |
402 |
|
%patch28 -p1 |
403 |
|
%patch29 -p1 |
404 |
|
%patch30 -p1 |
405 |
|
|
406 |
%build |
%build |
407 |
perl createlinks |
perl createlinks |
439 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |
440 |
fi |
fi |
441 |
|
|
442 |
|
if (systemctl list-unit-files |grep smanager) then |
443 |
|
echo "Smanager restart in spec file" |
444 |
|
/sbin/e-smith/signal-event smanager-refresh; |
445 |
|
fi |
446 |
|
|
447 |
%postun |
%postun |
448 |
#uninstall |
#uninstall |
449 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |