]> git.pld-linux.org Git - packages/dhcptool.git/blob - dhcptool.spec
7c964a6e57c9b4a0008a1506175ee7b0c426d6f1
[packages/dhcptool.git] / dhcptool.spec
1 Summary:        dhcptool - an utility to generate and transmit custom DHCP/BOOTP packets
2 #Summary(pl.UTF-8):     -
3 Name:           dhcptool
4 Version:        0.8b
5 Release:        1
6 License:        BSD
7 Group:          Networking/Utilities
8 Source0:        http://www.gatorhole.com/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  96f9ee1cc96631d52972a992af725f7c
10 URL:            http://gatorhole.com/index.php?product=dhcp
11 BuildRequires:  libnet-devel
12 BuildRequires:  libpcap-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 DHCPTool is a command-line utility used to e.g. test DHCP servers or
17 DHCP relay agents. It can generate almost any kind of DHCP packet,
18 and the idea is to facilitate simulation of e.g. broken DHCP clients
19 to see how well servers handle them and/or to detect stability bugs
20 in any software that parses DHCP messages.
21
22 #%description -l pl.UTF-8
23
24 %prep
25 %setup -q
26
27 %build
28 %configure
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 install -D dhcptool   $RPM_BUILD_ROOT%{_bindir}/dhcptool
35 install -D dhcptool.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcptool.1
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/*
43 %{_mandir}/man1/*
This page took 0.082663 seconds and 3 git commands to generate.