%define perlname Net-SinFP Name: perl-Net-SinFP Provides: SinFP Version: 2.06 Release: 1%{?dist} Summary: Full operating system stack fingerprinting suite Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/Net-SinFP/ Source0: http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/%{perlname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: libpcap-devel, libdnet-devel BuildRequires: perl(DBIx::SQLite::Simple) BuildRequires: perl(Net::Packet) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description SinFP is a tool which bypasses limitations that nmap has. This approach brings the era of OS fingerprinting on a per-TCP port basis, not on a per-host basis. %prep %setup -q -n %{perlname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE LICENSE.Artistic README %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man?/* %changelog * Thu May 03 2007 Sindre Pedersen Bjørdal - 2.06-1 - Initial build