1 |
%define name smeserver-dhcpmanager |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
%define version 2.0.4 |
3 |
%define release 11 |
%define release 18 |
4 |
|
|
5 |
Summary: provide a dhcp panel in the server-manager for The SME Server |
Summary: provide a dhcp panel in the server-manager for The SME Server |
6 |
Name: %{name} |
Name: %{name} |
19 |
Requires: net-tools |
Requires: net-tools |
20 |
Requires: nmap >= 2:6.25 |
Requires: nmap >= 2:6.25 |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
24 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
25 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
28 |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
29 |
Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch |
Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch |
30 |
Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch |
Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch |
31 |
|
Patch8: smeserver-dhcpmanager-2.0.4-locale-2021-08-22.patch |
32 |
|
Patch9: smeserver-dhcpmanager-2.0.4-Add-panels-for-SM2.patch |
33 |
|
Patch10: smeserver-dhcpmanager-2.0.4-More-changes-for-sm2-panels.patch |
34 |
|
Patch11: smeserver-dhcpmanager-2.0.4-Yet-more-changes-for-SM2-panels.patch |
35 |
|
Patch12: smeserver-dhcpmanager-2.0.4-Fix-JS-Error-on-load-and-typo-in-table-class-name.patch |
36 |
|
Patch13: smeserver-dhcpmanager-2.0.4-Alter-menu-category-for-new-arrangement.patch |
37 |
|
Patch14: smeserver-dhcpmanager-2.0.4-locale-2024-09-05.patch |
38 |
|
|
39 |
%description |
%description |
40 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 2.0.4-18.sme |
44 |
|
- apply locale 2024-09-05.patch |
45 |
|
|
46 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 2.0.4-17.sme |
47 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
48 |
|
|
49 |
|
|
50 |
|
* Wed Feb 07 2024 Brian Read <brianr@koozali.org> 2.0.4-16.sme |
51 |
|
- Fix JS error on load and typo in table class name [SME: 12468] |
52 |
|
|
53 |
|
* Sat Dec 30 2023 Brian Read <brianr@koozali.org> 2.0.4-15.sme |
54 |
|
- Add more fixes for SM2 panels [SME:11850] |
55 |
|
- Add in Network scan page |
56 |
|
|
57 |
|
* Tue Dec 19 2023 Brian Read <brianr@koozali.org> 2.0.4-14.sme |
58 |
|
- More fixes for SM2 panels [SME:11850] |
59 |
|
- Remove Winpopup facility (no longer supported by Windose) |
60 |
|
- Show Leases page |
61 |
|
|
62 |
|
* Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme |
63 |
|
- Add panels for SM2 [SME: 11850] |
64 |
|
- Initial panel with DHCP parameters |
65 |
|
|
66 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme |
67 |
|
- apply locale 2021-08-22 patch |
68 |
|
|
69 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
70 |
- removing tmeplate custom, merged with core [SME: 11506] |
- removing tmeplate custom, merged with core [SME: 11506] |
71 |
- adding third DNS entry [SME: 11506] |
- adding third DNS entry [SME: 11506] |
153 |
%patch5 -p1 |
%patch5 -p1 |
154 |
%patch6 -p1 |
%patch6 -p1 |
155 |
%patch7 -p1 |
%patch7 -p1 |
156 |
|
%patch8 -p1 |
157 |
|
%patch9 -p1 |
158 |
|
%patch10 -p1 |
159 |
|
%patch11 -p1 |
160 |
|
%patch12 -p1 |
161 |
|
%patch13 -p1 |
162 |
|
%patch14 -p1 |
163 |
|
|
164 |
rm -rf root/etc/e-smith/templates-custom |
rm -rf root/etc/e-smith/templates-custom |
165 |
|
|
166 |
%build |
%build |
167 |
perl createlinks |
perl createlinks |
168 |
|
|
|
|
|
169 |
%install |
%install |
170 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
171 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
182 |
%preun |
%preun |
183 |
|
|
184 |
%post |
%post |
185 |
|
if (systemctl list-unit-files |grep smanager) then |
186 |
|
echo "Smanager restart in spec file" |
187 |
|
/sbin/e-smith/signal-event smanager-refresh; |
188 |
|
fi |
189 |
|
true |
190 |
|
|
191 |
|
|
192 |
%postun |
%postun |
193 |
|
|