]> git.pld-linux.org Git - packages/reportdhcp.git/commitdiff
- initial release - STBR
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 9 Sep 2002 16:51:38 +0000 (16:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    reportdhcp.spec -> 1.1

reportdhcp.spec [new file with mode: 0644]

diff --git a/reportdhcp.spec b/reportdhcp.spec
new file mode 100644 (file)
index 0000000..6583893
--- /dev/null
@@ -0,0 +1,42 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       A Web-based monitor for ISC DHCP lease statistics
+Summary(pl):   Statystyki dla ISC DHCP na stronie WWW
+Name:          reportdhcp
+Version:       2.0b
+Release:       0.1
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://www.omar.org/opensource/reportdhcp/%{name}.pl-%{version}.tar.gz
+Patch0:                %{name}-config.patch
+URL:           http://www.omar.org/opensource/reportdhcp/
+BuildRequires: rpm-perlprov
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Reportdhcp.pl is a CGI script written in perl. It displays statistics
+and lease entries for ISC DHCPD by parsing the dhcpd.conf and
+dhcpd.leases files.
+
+%description -l pl
+Reportdhcp.pl jest skryptem CGI napisanym w perlu. Wy¶wietla
+statystyki oraz wpisy dzier¿aw dla ISC DHCPD poprzez pasowanie pliku
+dhcpd.conf oraz dhcpd.leases.
+
+%prep
+%setup -q -c -n %{name}-%{version}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/home/httpd/cgi-bin/reportdhcp/
+
+install reportdhcp.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin/reportdhcp/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README
+%dir /home/httpd/cgi-bin/reportdhcp
+%attr(755,root,root) /home/httpd/cgi-bin/reportdhcp/reportdhcp.pl
This page took 0.039348 seconds and 4 git commands to generate.