--- rpms/smeserver-vacation/contribs10/smeserver-vacation.spec 2020/10/26 10:00:28 1.5 +++ rpms/smeserver-vacation/contribs10/smeserver-vacation.spec 2024/02/16 16:02:37 1.10 @@ -1,10 +1,10 @@ -# $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 $ # Authority: dungog # Name: Stephen Noble %define name smeserver-vacation %define version 1.1 -%define release 30 +%define release 35 Summary: SME Server enhancement to enable vacation messages for users. Name: %{name} Version: %{version} @@ -39,11 +39,17 @@ Patch22: smeserver-vacation-1.1-SME10-Mo Patch23: smeserver-vacation-1.1-Better-display-dates-in-list.patch Patch24: smeserver-vacation-1.1-Update-for-Apache-Mod-Proxy-based-server2.patch Patch25: smeserver-vacation-1.1-Add-in-update-action-to-restart-smanager.patch +Patch26: smeserver-vacation-1.1-bz11399-tableEncoding.patch +Patch27: smeserver-vacation-1.1-locale-2021-08-25.patch +Patch28: smeserver-vacation-1.1-Add-extra-class-in-div-for-AdminLTE.patch +Patch29: smeserver-vacation-1.1-Sort-out-html-chars-in-email-template.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 9.0, Requires: e-smith-formmagick >= 1.4.0-12 +# needs /usr/share/perl5/vendor_perl/ctime.pl +Requires: perl-Perl4-CoreLibs BuildRequires: e-smith-devtools >= 1.13.1-03 #BuildRequires: smeserver-manager >= 24 AutoReqProv: no @@ -54,6 +60,22 @@ Optionally provides a user-manager panel enable vacation for themselves and to modify their own message %changelog +* Fri Feb 16 2024 Brian Read 1.1-35.sme +- Sort out html chars in email default [SME: 12475] +- Add signal-event refresh to spec file. [sme 12474] + +* Fri Jan 07 2022 Brian Read 1.1-34.sme +- Add-extra-class-in-div-for-AdminLTE [SME: 11834] + +* Wed Aug 25 2021 Terry Fage 1.1-33.sme +- apply locale 2021-08-25 patch + +* Fri Feb 26 2021 Jean-Philipe Pialasse 1.1-32.sme +- avoid reencoding of strings in admin table of users [SME: 11399] + +* Mon Feb 22 2021 Jean-Philipe Pialasse 1.1-31.sme +- add requirement ctime.pl to display log [SME: 10927] + * Sat Oct 24 2020 Brian Read 1.1-30.sme - Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] - to smeserver-vacation-update event @@ -371,6 +393,10 @@ enable vacation for themselves and to mo %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -p1 +%patch27 -p1 +%patch28 -p1 +%patch29 -p1 %build perl createlinks @@ -408,13 +434,10 @@ if [ -d /etc/e-smith/events/conf-userpan /sbin/e-smith/signal-event conf-userpanel fi -#if (systemctl list-unit-files |grep smanager) then -# echo "Smanager restart in spec file" -# /sbin/e-smith/signal-event manager2-refresh; -# systemctl restart smanager -#else -# echo "No smanager restart in spec file" -#fi +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi %postun #uninstall