%define upstream_name Net-XWhois %define upstream_version 0.90 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Extensible client framework for doing Whois queries and parsing server response License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch %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 %{upstream_name}-%{upstream_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 * Sun Jan 13 2013 umeabot <umeabot> 0.900.0-2.mga3 + Revision: 370984 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.900.0-1.mga1 + Revision: 26744 - mageia rebuild - imported package perl-Net-XWhois