Name: fpdns
Version: 0.9.3
Release: 1%{?dist}
Summary: Fingerprint DNS servers
License: BSD
Group: Development/Libraries
URL: http://code.google.com/p/fpdns/
Source0: http://fpdns.googlecode.com/files/Net-DNS-Fingerprint-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Net::DNS)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
fpdns is a program that remotely determines DNS server versions. It does this
by sending a series of borderline DNS queries which are compared against a
table of responses and server versions.
%prep
%setup -q -n Net-DNS-Fingerprint-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_bindir}/fpdns
%changelog
* Mon Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 0.9.3-1
- Specfile autogenerated by cpanspec 1.78.