]> git.pld-linux.org Git - packages/reportdhcp.git/blob - reportdhcp.spec
- initial release - STBR
[packages/reportdhcp.git] / reportdhcp.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        A Web-based monitor for ISC DHCP lease statistics
3 Summary(pl):    Statystyki dla ISC DHCP na stronie WWW
4 Name:           reportdhcp
5 Version:        2.0b
6 Release:        0.1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://www.omar.org/opensource/reportdhcp/%{name}.pl-%{version}.tar.gz
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
21 Reportdhcp.pl jest skryptem CGI napisanym w perlu. Wy¶wietla
22 statystyki oraz wpisy dzier¿aw dla ISC DHCPD poprzez pasowanie pliku
23 dhcpd.conf oraz dhcpd.leases.
24
25 %prep
26 %setup -q -c -n %{name}-%{version}
27 %patch0 -p1
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/home/httpd/cgi-bin/reportdhcp/
32
33 install reportdhcp.pl $RPM_BUILD_ROOT/home/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/httpd/cgi-bin/reportdhcp
42 %attr(755,root,root) /home/httpd/cgi-bin/reportdhcp/reportdhcp.pl
This page took 0.07665 seconds and 4 git commands to generate.