%perl_module Net-DNS 0.59 5 Summary: A perl interface to the DNS resolver Group: System Environment/Libraries License: distributable URL: http://search.cpan.org/~crein/%{pkgname}-%{version}/ Source: http://search.cpan.org/CPAN/authors/id/C/CR/CREIN/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl(Digest::HMAC_MD5) BuildRequires: perl(Test::More) # When available: BuildRequires: perl(Test::Pod) >= 0.95 BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::IP) >= 1.2 BuildRequires: perl(IO::Socket::INET6), perl(Socket6) %description Net::DNS is a collection of Perl modules that act as a Domain Name System (DNS) resolver. It allows the programmer to perform DNS queries that are beyond the capabilities of gethostbyname and gethostbyaddr. %prep %setup -q -n %{pkgname}-%{version} %build %perl_configure make %perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall rm -f %{buildroot}%{perl_vendorarch}/Net/DNS/Resolver/Win32.pm rm -f %{buildroot}%{perl_man3dir}/Net::DNS::Resolver::Win32.3pm* %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes TODO %{perl_vendorarch}/Net/DNS.pm %{perl_vendorarch}/Net/DNS %{perl_vendorarch}/auto/Net/DNS/DNS.so %{perl_man3dir}/Net::DNS.3pm* %{perl_man3dir}/Net::DNS::*.3pm* %changelog * Tue May 8 2007 Axel Thimm - - Update to 0.58. * Mon Mar 15 2004 Axel Thimm - Update to 0.46. * Tue Dec 9 2003 Axel Thimm - Initial build.