1 |
%define name smeserver-dhcpmanager |
2 |
%define version 1.8.0 |
3 |
%define release 2 |
4 |
|
5 |
Summary: provide a dhcp panel in the server-manager for The SME Server |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
10 |
License: GNU GPL version 2 |
11 |
URL: http://www.contribs.org |
12 |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
#Prefix: %{_prefix} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 8.0 |
18 |
Requires: net-tools |
19 |
Requires: nmap >= 2:6.25 |
20 |
AutoReqProv: no |
21 |
Patch0: smeserver-dhcpmanager-1.8.0-locale-2015-09-12.patch |
22 |
%description |
23 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
24 |
|
25 |
%changelog |
26 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.8.0-2.sme |
27 |
- Added smeserver-dhcpmanager-1.8.0-locale-2015-09-12.patch |
28 |
|
29 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.8.0-1.sme |
30 |
-Translations added |
31 |
-new WebUI |
32 |
|
33 |
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
34 |
- add default db values and change options to nmap in order to see name of computer |
35 |
|
36 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
37 |
- english wording correction [sme:8122] |
38 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
39 |
- add an option to remove all leases |
40 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
41 |
- some menu setting box redesigned. |
42 |
|
43 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
44 |
- Add a checkIP routine against wrong IP [sme:8015] |
45 |
- Add a new panel to see connected IP [sme:8113] |
46 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
47 |
|
48 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
49 |
- adaptation for SME Server 8.0 |
50 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
51 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
52 |
|
53 |
|
54 |
|
55 |
%prep |
56 |
%setup |
57 |
%patch0 -p1 |
58 |
|
59 |
%build |
60 |
perl createlinks |
61 |
|
62 |
|
63 |
%install |
64 |
rm -rf $RPM_BUILD_ROOT |
65 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
66 |
rm -f %{name}-%{version}-filelist |
67 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
68 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
69 |
|
70 |
%clean |
71 |
cd .. |
72 |
rm -rf %{name}-%{version} |
73 |
|
74 |
%pre |
75 |
%preun |
76 |
|
77 |
%post |
78 |
#/etc/e-smith/events/actions/navigation-conf |
79 |
|
80 |
|
81 |
|
82 |
|
83 |
%postun |
84 |
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
85 |
|
86 |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |
88 |
|