]>
Commit | Line | Data |
---|---|---|
902dc5f6 | 1 | Summary: ARPing - ping an address by ARP packets |
18583d61 | 2 | Summary(pl.UTF-8): ARPing - pingowanie adresów pakietami ARP |
eb0be973 | 3 | Name: arping |
a8343816 | 4 | Version: 2.12 |
264fb32d | 5 | Release: 2 |
08f69743 | 6 | License: GPL v2 |
eb0be973 | 7 | Group: Networking/Admin |
a8343816 ŁK |
8 | Source0: http://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 47e0db7fed9f1297c598a24cd476911d | |
dc540f34 | 10 | URL: http://www.habets.pp.se/synscan/programs.php?prog=arping |
a8343816 | 11 | BuildRequires: libnet-devel > 1.1 |
eb0be973 | 12 | BuildRequires: libpcap-devel |
93547071 | 13 | BuildRequires: sed >= 4.0 |
904f97f1 | 14 | Requires: bc |
8544febc | 15 | Obsoletes: iputils-arping |
902dc5f6 | 16 | Conflicts: iputils <= 1:ss021109-2 |
eb0be973 MWP |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
902dc5f6 JB |
20 | arping pings given address on given device by ARP packets, using given |
21 | source address. | |
eb0be973 | 22 | |
0f4eec46 JR |
23 | %description -l pl.UTF-8 |
24 | arping pinguje podany adres na podanym interfejsie wysyłając pakiety | |
902dc5f6 | 25 | ARP. |
eb0be973 MWP |
26 | |
27 | %prep | |
a47f41df | 28 | %setup -q |
eb0be973 MWP |
29 | |
30 | %build | |
98c05ae2 | 31 | %configure |
a8343816 | 32 | %{__make} |
eb0be973 MWP |
33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
a8343816 ŁK |
36 | %{__make} install \ |
37 | DESTDIR=$RPM_BUILD_ROOT | |
902dc5f6 | 38 | |
a8343816 | 39 | install extra/arping-scan-net.sh \ |
46439107 | 40 | $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh |
eb0be973 MWP |
41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %attr(4754,root,adm) %{_sbindir}/arping | |
48 | %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh | |
49 | %{_mandir}/man8/arping.8* |