1 |
unnilennium |
1.1 |
%define name smeserver-dhcpmanager |
2 |
|
|
%define version 1.5 |
3 |
|
|
%define release 3 |
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 |
unnilennium |
1.2 |
Patch0: smeserver-dhcpmanager-1.5-checkip-scanIP-and-new-panelIP.patch |
11 |
unnilennium |
1.1 |
License: GNU GPL version 2 |
12 |
|
|
URL: http://www.contribs.org |
13 |
|
|
Group: SMEserver/addon |
14 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
15 |
|
|
#Prefix: %{_prefix} |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
Requires: e-smith-release >= 8.0 |
19 |
|
|
Requires: net-tools |
20 |
unnilennium |
1.2 |
Requires: nmap |
21 |
unnilennium |
1.1 |
AutoReqProv: no |
22 |
|
|
|
23 |
|
|
%description |
24 |
unnilennium |
1.2 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
25 |
unnilennium |
1.1 |
|
26 |
|
|
%changelog |
27 |
unnilennium |
1.2 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
28 |
|
|
- Add a checkIP routine against wrong IP [sme:8015] |
29 |
|
|
- Add a new panel to see connected IP [sme:8113] |
30 |
|
|
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
31 |
|
|
|
32 |
unnilennium |
1.1 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
33 |
|
|
- adaptation for SME Server 8.0 |
34 |
|
|
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
35 |
|
|
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup |
41 |
unnilennium |
1.2 |
%patch0 -p1 |
42 |
unnilennium |
1.1 |
|
43 |
|
|
%build |
44 |
|
|
perl createlinks |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
%install |
48 |
|
|
rm -rf $RPM_BUILD_ROOT |
49 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
50 |
|
|
rm -f %{name}-%{version}-filelist |
51 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
52 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
cd .. |
56 |
|
|
rm -rf %{name}-%{version} |
57 |
|
|
|
58 |
|
|
%pre |
59 |
|
|
%preun |
60 |
|
|
|
61 |
|
|
%post |
62 |
|
|
#/etc/e-smith/events/actions/navigation-conf |
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
%postun |
68 |
|
|
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
69 |
|
|
|
70 |
|
|
%files -f %{name}-%{version}-filelist |
71 |
|
|
%defattr(-,root,root) |
72 |
|
|
|