%define name perl-Net-XWhois %define real_name Net-XWhois %define version 0.90 Name: %{name} Version: %{version} Summary: Extensible client framework for doing Whois queries and parsing server response Release: %mkrel 7 License: GPL or Artistic Group: Development/Perl Source: %{real_name}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRequires: perl-devel BuildArch: noarch Buildroot: %{_tmppath}/%{name}-root Requires: perl >= 0:5.00503 %description The Net::XWhois class provides an extensible client framework for doing Whois queries and parsing server response. The class maintains an array of whois servers and associated lists of top level domains for transparently selecting servers appropriate for different queries. Supports response caching and comes with a drop-in replacement for the whois program. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc TODO ARTISTIC contribs/* %{perl_vendorlib}/Net/* %{_mandir}/*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.90-7mdv2009.0 + Revision: 258138 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.90-6mdv2009.0 + Revision: 246209 - rebuild * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.90-4mdv2008.1 + Revision: 140694 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 0.90-4mdv2007.0 + Revision: 108469 - rebuild + Guillaume Rousse <guillomovitch@mandriva.org> - Import perl-Net-XWhois