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 |
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 |
AutoReqProv: no |
20 |
|
21 |
%description |
22 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases etc// |
23 |
|
24 |
%changelog |
25 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
26 |
- adaptation for SME Server 8.0 |
27 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
28 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
29 |
|
30 |
|
31 |
|
32 |
%prep |
33 |
%setup |
34 |
|
35 |
|
36 |
%build |
37 |
perl createlinks |
38 |
|
39 |
|
40 |
%install |
41 |
rm -rf $RPM_BUILD_ROOT |
42 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
43 |
rm -f %{name}-%{version}-filelist |
44 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
45 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
46 |
|
47 |
%clean |
48 |
cd .. |
49 |
rm -rf %{name}-%{version} |
50 |
|
51 |
%pre |
52 |
%preun |
53 |
|
54 |
%post |
55 |
#/etc/e-smith/events/actions/navigation-conf |
56 |
|
57 |
|
58 |
|
59 |
|
60 |
%postun |
61 |
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
62 |
|
63 |
%files -f %{name}-%{version}-filelist |
64 |
%defattr(-,root,root) |
65 |
|