]>
Commit | Line | Data |
---|---|---|
1ff5b278 MWP |
1 | Summary: Net-SNMP extension for monitoring ISC DHCP server. |
2 | Name: dhcpd-snmp | |
3 | Version: 0.2 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Applications | |
7 | Source0: http://www.net-track.ch/opensource/dhcpd-snmp/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: f2ea2aa9cbae4c3585d972bdecae9201 | |
9 | URL: http://www.net-track.ch/opensource/dhcpd-snmp/ | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: rpmbuild(macros) >= 1.228 | |
13 | Requires: net-snmp | |
14 | Requires: perl(Time::Local) | |
15 | Requires: dhcpd | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | dhcpd-snmp is an extension for the Net-SNMP agent and the ISC DHCP | |
21 | server. It allows you to monitor and track the address usage of your | |
22 | dynamic IP address pools through SNMP. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %{__aclocal} | |
29 | %{__autoconf} | |
30 | %{__automake} | |
31 | ||
32 | %configure | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc AUTHORS ChangeLog NEWS README | |
47 | %attr(755,root,root) %{_sbindir}/* | |
48 | %{_mandir}/man8/* |