Name: arp-scan Version: 1.6 Release: 1%{?dist} Summary: Scanning and fingerprinting tool Group: Applications/Internet License: GPL URL: http://www.nta-monitor.com/tools/arp-scan/ Source0: http://www.nta-monitor.com/tools/arp-scan/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpcap-devel Requires: perl(LWP::Simple) %description arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. %prep %setup -q %build #install to sbindir %configure --bindir=%{_sbindir} make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT #fix permissions for -debuginfo package chmod 0644 $RPM_BUILD_DIR/%{name}-%{version}/mt19937ar.c #fix permissions for files in sbindir chmod 0755 $RPM_BUILD_ROOT%{_sbindir}/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README TODO %{_sbindir}/* %{_datadir}/arp-scan %{_mandir}/man?/* %changelog * Sun May 06 2007 Sindre Pedersen Bjørdal - 1.6-1 - Initial build