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