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