forked from pool/arping2
9b78bbe1e2
Improved arping with RARP and bcast-ping support OBS-URL: https://build.opensuse.org/request/show/76498 OBS-URL: https://build.opensuse.org/package/show/network:utilities/arping2?expand=0&rev=1
49 lines
1001 B
RPMSpec
49 lines
1001 B
RPMSpec
Name: arping2
|
|
Version: 2.09
|
|
Release: 0
|
|
Group: Productivity/Networking/Diagnostic
|
|
Summary: Layer-2 Ethernet pinger
|
|
License: GPL
|
|
URL: http://freshmeat.net/projects/arping/
|
|
|
|
#Git-Clone: git://github.com/ThomasHabets/arping
|
|
Source: arping-%version.tar.xz
|
|
BuildRoot: %_tmppath/%name-%version-build
|
|
%if 0%{?suse_version} <= 1130
|
|
BuildRequires: libnet, libpcap-devel
|
|
%else
|
|
BuildRequires: libnet-devel, libpcap-devel
|
|
%endif
|
|
BuildRequires: xz
|
|
|
|
%description
|
|
Arping is a util to find out it a specific IP address on the LAN is
|
|
"taken" and what MAC address owns it. It is designed to work on
|
|
unrouted networks and with ICMP-blocking hosts.
|
|
|
|
Author(s):
|
|
----------
|
|
Thomas Habets
|
|
|
|
%prep
|
|
%setup -n arping-%version
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
b="%buildroot";
|
|
make install DESTDIR="$b";
|
|
# Avoid collision with iputils's inferior arping.
|
|
mv "$b/%_sbindir"/{arping,%name};
|
|
mv "$b/%_mandir/man8"/{arping.8,%name.8};
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_sbindir/*
|
|
%_mandir/*/*
|
|
%doc README
|
|
|
|
%changelog
|