1 |
# $Id: smeserver-vacation.spec,v 1.29 2018/12/14 12:02:42 jcrisp Exp $ |
# $Id: smeserver-vacation.spec,v 1.6 2021/02/23 04:47:36 jpp 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 26 |
%define release 32 |
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} |
35 |
Patch19: smeserver-vacation-1.1-locale-2017-01-16.patch |
Patch19: smeserver-vacation-1.1-locale-2017-01-16.patch |
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 |
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 |
|
|
44 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
46 |
Requires: e-smith-release >= 9.0, |
Requires: e-smith-release >= 9.0, |
47 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
48 |
|
# needs /usr/share/perl5/vendor_perl/ctime.pl |
49 |
|
Requires: perl-Perl4-CoreLibs |
50 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
51 |
|
#BuildRequires: smeserver-manager >= 24 |
52 |
AutoReqProv: no |
AutoReqProv: no |
53 |
|
|
54 |
%description |
%description |
57 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Fri Feb 26 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-32.sme |
61 |
|
- avoid reencoding of strings in admin table of users [SME: 11399] |
62 |
|
|
63 |
|
* Mon Feb 22 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-31.sme |
64 |
|
- add requirement ctime.pl to display log [SME: 10927] |
65 |
|
|
66 |
|
* Sat Oct 24 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-30.sme |
67 |
|
- Update to make call to smanager and systemd dependant on smanager being installed and move from post in spec file [SME: 11052] |
68 |
|
- to smeserver-vacation-update event |
69 |
|
|
70 |
|
* Thu Jun 11 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-29.sme |
71 |
|
- Update for Apache-Mod-Proxy mode Server2 [SME:10927] |
72 |
|
|
73 |
|
* Tue May 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-28.sme |
74 |
|
- Part of SME10 Server manager2 - Better display of dates in list [SME:10927 ] |
75 |
|
|
76 |
|
* Tue Apr 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-27.sme |
77 |
|
- Update to SME10 - rework server manager panels to use manager2 [SME:10927] |
78 |
|
|
79 |
* Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1-26.sme |
* Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1-26.sme |
80 |
- apply locale 2018-12-14 patch |
- apply locale 2018-12-14 patch |
81 |
|
|
376 |
%patch19 -p1 |
%patch19 -p1 |
377 |
%patch20 -p1 |
%patch20 -p1 |
378 |
%patch21 -p1 |
%patch21 -p1 |
379 |
|
%patch22 -p1 |
380 |
|
%patch23 -p1 |
381 |
|
%patch24 -p1 |
382 |
|
%patch25 -p1 |
383 |
|
%patch26 -p1 |
384 |
|
|
385 |
%build |
%build |
386 |
perl createlinks |
perl createlinks |
418 |
/sbin/e-smith/signal-event conf-userpanel |
/sbin/e-smith/signal-event conf-userpanel |
419 |
fi |
fi |
420 |
|
|
421 |
|
#if (systemctl list-unit-files |grep smanager) then |
422 |
|
# echo "Smanager restart in spec file" |
423 |
|
# /sbin/e-smith/signal-event manager2-refresh; |
424 |
|
# systemctl restart smanager |
425 |
|
#else |
426 |
|
# echo "No smanager restart in spec file" |
427 |
|
#fi |
428 |
|
|
429 |
%postun |
%postun |
430 |
#uninstall |
#uninstall |
431 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |