]> git.pld-linux.org Git - packages/reportdhcp.git/blob - reportdhcp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/reportdhcp.git] / reportdhcp.spec
1 Summary:        A Web-based monitor for ISC DHCP lease statistics
2 Summary(pl.UTF-8):      Statystyki dla ISC DHCP na stronie WWW
3 Name:           reportdhcp
4 Version:        2.1
5 Release:        1
6 License:        GPL v2
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)
14
15 %description
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
18 dhcpd.leases files.
19
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.
24
25 %prep
26 %setup -q -c
27 %patch0 -p1
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp
32
33 install reportdhcp.pl $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc CHANGELOG README
41 %dir /home/services/httpd/cgi-bin/reportdhcp
42 %attr(755,root,root) /home/services/httpd/cgi-bin/reportdhcp/reportdhcp.pl
This page took 0.091149 seconds and 3 git commands to generate.