Name: fpdns
Version: 0.9.3
Release: 6%{?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
* Wed Jul 11 2012 Petr Pisar <ppisar@redhat.com> - 0.9.3-6
- Perl 5.16 rebuild
* Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 0.9.3-5
- Perl 5.16 rebuild
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.9.3-4
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.9.3-2
- Perl mass rebuild
* Mon Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 0.9.3-1
- Specfile autogenerated by cpanspec 1.78.