]>
Commit | Line | Data |
---|---|---|
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.18 | |
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: de4ab99071bc337e8c094d7c7faf4b4e | |
10 | Patch0: %{name}-nolibs.patch | |
11 | URL: http://www.habets.pp.se/synscan/programs.php?prog=arping | |
12 | BuildRequires: autoconf >= 2.61 | |
13 | BuildRequires: automake | |
14 | BuildRequires: libcap-devel | |
15 | BuildRequires: libnet-devel > 1.1 | |
16 | BuildRequires: libpcap-devel | |
17 | Requires: bc | |
18 | Obsoletes: iputils-arping | |
19 | Conflicts: iputils <= 1:ss021109-2 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | arping pings given address on given device by ARP packets, using given | |
24 | source address. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | arping pinguje podany adres na podanym interfejsie wysyłając pakiety | |
28 | ARP. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__automake} | |
38 | %configure | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | cp -p extra/arping-scan-net.sh \ | |
47 | $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc README | |
55 | %attr(4754,root,adm) %{_sbindir}/arping | |
56 | %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh | |
57 | %{_mandir}/man8/arping.8* |