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