]> git.pld-linux.org Git - packages/reportdhcp.git/blob - reportdhcp.spec
- massive attack: source-md5
[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:        1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://www.omar.org/opensource/reportdhcp/%{name}.pl-%{version}.tar.gz
10 # Source0-md5:  313f8757f1d7a60215c8baa8e338a70c
11 Patch0:         %{name}-config.patch
12 URL:            http://www.omar.org/opensource/reportdhcp/
13 BuildRequires:  rpm-perlprov
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Reportdhcp.pl is a CGI script written in perl. It displays statistics
18 and lease entries for ISC DHCPD by parsing the dhcpd.conf and
19 dhcpd.leases files.
20
21 %description -l pl
22 Reportdhcp.pl jest skryptem CGI napisanym w perlu. Wy¶wietla
23 statystyki oraz wpisy dzier¿aw dla ISC DHCPD poprzez pasowanie pliku
24 dhcpd.conf oraz dhcpd.leases.
25
26 %prep
27 %setup -q -c -n %{name}-%{version}
28 %patch0 -p1
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp/
33
34 install reportdhcp.pl $RPM_BUILD_ROOT/home/services/httpd/cgi-bin/reportdhcp/
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc CHANGELOG README
42 %dir /home/services/httpd/cgi-bin/reportdhcp
43 %attr(755,root,root) /home/services/httpd/cgi-bin/reportdhcp/reportdhcp.pl
This page took 0.057671 seconds and 4 git commands to generate.