]>
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 |
eed99403 | 4 | Version: 2.15 |
9302a6d6 | 5 | Release: 1 |
08f69743 | 6 | License: GPL v2 |
eb0be973 | 7 | Group: Networking/Admin |
a8343816 | 8 | Source0: http://www.habets.pp.se/synscan/files/%{name}-%{version}.tar.gz |
eed99403 | 9 | # Source0-md5: 676584f6eb4ccc8c70fc6b2c702df75d |
5e155869 | 10 | Patch0: %{name}-nolibs.patch |
dc540f34 | 11 | URL: http://www.habets.pp.se/synscan/programs.php?prog=arping |
5e155869 JB |
12 | BuildRequires: autoconf >= 2.61 |
13 | BuildRequires: automake | |
14 | BuildRequires: libcap-devel | |
a8343816 | 15 | BuildRequires: libnet-devel > 1.1 |
eb0be973 | 16 | BuildRequires: libpcap-devel |
904f97f1 | 17 | Requires: bc |
8544febc | 18 | Obsoletes: iputils-arping |
902dc5f6 | 19 | Conflicts: iputils <= 1:ss021109-2 |
eb0be973 MWP |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
902dc5f6 JB |
23 | arping pings given address on given device by ARP packets, using given |
24 | source address. | |
eb0be973 | 25 | |
0f4eec46 JR |
26 | %description -l pl.UTF-8 |
27 | arping pinguje podany adres na podanym interfejsie wysyłając pakiety | |
902dc5f6 | 28 | ARP. |
eb0be973 MWP |
29 | |
30 | %prep | |
a47f41df | 31 | %setup -q |
5e155869 | 32 | %patch0 -p1 |
eb0be973 MWP |
33 | |
34 | %build | |
5e155869 JB |
35 | %{__aclocal} |
36 | %{__autoconf} | |
37 | %{__automake} | |
98c05ae2 | 38 | %configure |
a8343816 | 39 | %{__make} |
eb0be973 MWP |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
a8343816 ŁK |
43 | %{__make} install \ |
44 | DESTDIR=$RPM_BUILD_ROOT | |
902dc5f6 | 45 | |
a8343816 | 46 | install extra/arping-scan-net.sh \ |
46439107 | 47 | $RPM_BUILD_ROOT%{_sbindir}/arping-scan-net.sh |
eb0be973 MWP |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
5e155869 | 54 | %doc README |
eb0be973 MWP |
55 | %attr(4754,root,adm) %{_sbindir}/arping |
56 | %attr(754,root,adm) %{_sbindir}/arping-scan-net.sh | |
57 | %{_mandir}/man8/arping.8* |