]> git.pld-linux.org Git - packages/arping.git/blob - arping.spec
- use configure in build section
[packages/arping.git] / arping.spec
1 Summary:        ARPing - ping an address by ARP packets
2 Summary(pl.UTF-8):      ARPing - pingowanie adresów pakietami ARP
3 Name:           arping
4 Version:        2.12
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Admin
8 Source0:        http://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  47e0db7fed9f1297c598a24cd476911d
10 URL:            http://www.habets.pp.se/synscan/programs.php?prog=arping
11 BuildRequires:  libnet-devel > 1.1
12 BuildRequires:  libpcap-devel
13 BuildRequires:  sed >= 4.0
14 Requires:       bc
15 Provides:       arping
16 Obsoletes:      arping
17 Obsoletes:      iputils-arping
18 Conflicts:      iputils <= 1:ss021109-2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 arping pings given address on given device by ARP packets, using given
23 source address.
24
25 %description -l pl.UTF-8
26 arping pinguje podany adres na podanym interfejsie wysyłając pakiety
27 ARP.
28
29 %prep
30 %setup -q
31
32 %build
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 install extra/arping-scan-net.sh \
42         $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %attr(4754,root,adm) %{_sbindir}/arping
50 %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh
51 %{_mandir}/man8/arping.8*
This page took 0.084131 seconds and 3 git commands to generate.