%define debug_package %{nil} Summary: Parallell Network Scanner Name: pnscan Version: 1.11 Release: 1 License: freely available Group: Applications/Internet URL: http://www.lysator.liu.se/~pen/pnscan/ Packager: Scott R. Shinn Source: ftp://ftp.lysator.liu.se/pub/unix/pnscan/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description pnscan is a tool that can be used to survey TCP network services. For example, it can be used to survey the installed versions of SSH, FTP, SMTP, Web, IDENT and possibly other services. %prep %setup %build %{__make} lnx %{?_smp_mflags} \ FLAGS="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -D -m0755 %{name} %{buildroot}%{_bindir}/%{name} %{__install} -D -m0755 ipsort %{buildroot}%{_bindir}/ipsort %{__install} -D -m0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %{__install} -D -m0644 ipsort.1 %{buildroot}%{_mandir}/man1/ipsort.1 %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc LICENSE ChangeLog README TODO %doc %{_mandir}/man1/%{name}.1* %doc %{_mandir}/man1/ipsort.1* %{_bindir}/%{name} %{_bindir}/ipsort %changelog * Mon Nov 17 2008 Scott R. Shinn - 1.11-1 - Initial package