Name: arp-scan Version: 1.7 Release: 6%{?dist} Summary: Scanning and fingerprinting tool Group: Applications/Internet # Includes getopt, which is LGPLv2+, but the whole is GPLv2+. License: GPLv2+ 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 * Thu Jan 12 2012 Fedora Release Engineering - 1.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Nov 11 2008 Itamar Reis Peixoto 1.7-2 - no luck with cvs commit, reimporting new SRPM version via cvs-import.sh * Sun Nov 11 2008 Itamar Reis Peixoto 1.7-1 - upgrade to new version * Mon Jul 14 2008 Tom "spot" Callaway - 1.6-3 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 1.6-2 - Autorebuild for GCC 4.3 * Sun May 06 2007 Sindre Pedersen Bjørdal - 1.6-1 - Initial build