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