SHA256
1
0
forked from pool/arping2
arping2/arping2.spec

49 lines
1004 B
RPMSpec

Name: arping2
Version: 2.09
Release: 0
Group: Productivity/Networking/Diagnostic
Summary: Layer-2 Ethernet pinger
License: GPLv2+
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