1 |
%define name smeserver-domains |
%define name smeserver-domains |
2 |
%define version 1.4 |
%define version 1.4 |
3 |
%define release 2 |
%define release 6 |
4 |
Summary: SMEserver rpm for domain pseudonyms |
Summary: SMEserver rpm for domain pseudonyms |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
10 |
Distribution: SME Server |
Distribution: SME Server |
11 |
Group: SMEServer/addon |
Group: SMEServer/addon |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0:smeserver-domains-1.4-Update-Panels-for-Server-Manager2.patch |
Patch0: smeserver-domains-1.4-Update-Panels-for-Server-Manager2.patch |
14 |
|
Patch1: smeserver-domains-1.4-Add-Update-event-to-createlinks.patch |
15 |
|
Patch2: smeserver-domains-1.4-bz10950-path.patch |
16 |
|
Patch3: smeserver-domains-1.4-Add-class-to-div-for-AdminLTE.patch |
17 |
|
Patch4: smeserver-domains-1.4-Hide-SM2-code-as-not-complete.patch |
18 |
|
|
19 |
Packager: Stephen Noble <stephen@dungog.net> |
Packager: Stephen Noble <stephen@dungog.net> |
20 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
27 |
SMEserver rpm for more advanced domain controls |
SMEserver rpm for more advanced domain controls |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Mon Mar 04 2024 Brian Read <brianr@koozali.org> 1.4-6.sme |
31 |
|
- Hide SM2 code as not complete [SME: 12497] |
32 |
|
|
33 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.4-5.sme |
34 |
|
- Add-class-to-div-for-AdminLTE [SME: 11836] |
35 |
|
|
36 |
|
* Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-4.sme |
37 |
|
- fix missing PATH and some log warning [SME: 10950] |
38 |
|
|
39 |
|
* Thu Mar 25 2021 Brian Read <brianr@bjsystems.co.uk> 1.4-3.sme |
40 |
|
- Add Update event to createlinks [SME: 10950] |
41 |
|
|
42 |
|
* Thu Mar 25 2021 BogusDateBot |
43 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
44 |
|
by assuming the date is correct and changing the weekday. |
45 |
|
|
46 |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-2.sme |
* Wed Jul 22 2020 Brian Read <brianr@bjsystems.co.uk> 1.4-2.sme |
47 |
- Update for Server-Manager2 panels[SME:10950 ] |
- Update for Server-Manager2 panels[SME:10950 ] |
48 |
|
|
61 |
%prep |
%prep |
62 |
%setup |
%setup |
63 |
%patch0 -p1 |
%patch0 -p1 |
64 |
|
%patch1 -p1 |
65 |
|
%patch2 -p1 |
66 |
|
%patch3 -p1 |
67 |
|
%patch4 -p1 |
68 |
|
|
69 |
%build |
%build |
70 |
perl createlinks |
perl createlinks |
87 |
if [ $1 = 1 ] ; then |
if [ $1 = 1 ] ; then |
88 |
/bin/touch /home/e-smith/db/dungog |
/bin/touch /home/e-smith/db/dungog |
89 |
fi |
fi |
90 |
systemctl restart smanager |
|
91 |
|
if (systemctl list-unit-files |grep smanager) then |
92 |
|
echo "Smanager restart in spec file" |
93 |
|
/sbin/e-smith/signal-event smanager-refresh; |
94 |
|
fi |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
%postun |
%postun |