1 Summary: A Web-based monitor for ISC DHCP lease statistics
2 Summary(pl.UTF-8): Statystyki dla ISC DHCP na stronie WWW
7 Group: Applications/System
8 Source0: http://www.omar.org/opensource/reportdhcp/%{name}.pl-%{version}.tar.gz
9 # Source0-md5: 72c3ad073c846981701b4db787112a95
10 Patch0: %{name}-config.patch
11 URL: http://www.omar.org/opensource/reportdhcp/
12 BuildRequires: rpm-perlprov
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Reportdhcp.pl is a CGI script written in perl. It displays statistics
17 and lease entries for ISC DHCPD by parsing the dhcpd.conf and
20 %description -l pl.UTF-8
21 Reportdhcp.pl jest skryptem CGI napisanym w perlu. Wyświetla
22 statystyki oraz wpisy dzierżaw dla ISC DHCPD poprzez analizę pliku
23 dhcpd.conf oraz dhcpd.leases.
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp
33 install reportdhcp.pl $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %dir /home/services/httpd/cgi-bin/reportdhcp
42 %attr(755,root,root) /home/services/httpd/cgi-bin/reportdhcp/reportdhcp.pl