1 |
# $Id: smeserver-vacation.spec,v 1.4 2020/06/12 05:52:10 brianr Exp $ |
# $Id: smeserver-vacation.spec,v 1.9 2022/01/07 12:05:54 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 30 |
%define release 35 |
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} |
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 |
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 |
|
|
47 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
48 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
49 |
Requires: e-smith-release >= 9.0, |
Requires: e-smith-release >= 9.0, |
50 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
51 |
|
# needs /usr/share/perl5/vendor_perl/ctime.pl |
52 |
|
Requires: perl-Perl4-CoreLibs |
53 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
54 |
#BuildRequires: smeserver-manager >= 24 |
#BuildRequires: smeserver-manager >= 24 |
55 |
AutoReqProv: no |
AutoReqProv: no |
60 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Fri Feb 16 2024 Brian Read <brianr@koozali.org> 1.1-35.sme |
64 |
|
- Sort out html chars in email default [SME: 12475] |
65 |
|
- Add signal-event refresh to spec file. [sme 12474] |
66 |
|
|
67 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.1-34.sme |
68 |
|
- Add-extra-class-in-div-for-AdminLTE [SME: 11834] |
69 |
|
|
70 |
|
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.1-33.sme |
71 |
|
- apply locale 2021-08-25 patch |
72 |
|
|
73 |
|
* Fri Feb 26 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-32.sme |
74 |
|
- avoid reencoding of strings in admin table of users [SME: 11399] |
75 |
|
|
76 |
|
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-31.sme |
77 |
|
- add requirement ctime.pl to display log [SME: 10927] |
78 |
|
|
79 |
* Sat Oct 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-30.sme |
* Sat Oct 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-30.sme |
80 |
- Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] |
- Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] |
81 |
- to smeserver-vacation-update event |
- to smeserver-vacation-update event |
393 |
%patch23 -p1 |
%patch23 -p1 |
394 |
%patch24 -p1 |
%patch24 -p1 |
395 |
%patch25 -p1 |
%patch25 -p1 |
396 |
|
%patch26 -p1 |
397 |
|
%patch27 -p1 |
398 |
|
%patch28 -p1 |
399 |
|
%patch29 -p1 |
400 |
|
|
401 |
%build |
%build |
402 |
perl createlinks |
perl createlinks |
434 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |
435 |
fi |
fi |
436 |
|
|
437 |
#if (systemctl list-unit-files |grep smanager) then |
if (systemctl list-unit-files |grep smanager) then |
438 |
# echo "Smanager restart in spec file" |
echo "Smanager restart in spec file" |
439 |
# /sbin/e-smith/signal-event manager2-refresh; |
/sbin/e-smith/signal-event smanager-refresh; |
440 |
# systemctl restart smanager |
fi |
|
#else |
|
|
# echo "No smanager restart in spec file" |
|
|
#fi |
|
441 |
|
|
442 |
%postun |
%postun |
443 |
#uninstall |
#uninstall |