%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} Name: perl-Net-Whois-IP Version: 1.10 Release: 1%{?dist} Summary: Perl extension for looking up the whois information for ip addresses License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-Whois-IP/ Source0: http://www.cpan.org/modules/by-module/Net/Net-Whois-IP-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) %description Perl module to allow whois lookup of ip addresses. This module should recursively query the various whois providers until it gets the more detailed information including either TechPhone or OrgTechPhone by default; however, this is overrideable. %prep %setup -q -n Net-Whois-IP-%{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}/* %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Sep 08 2010 Colin Coe <colin.coe@gmail.com> 1.10-1 - Rebase to v1.10 * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-2 - Mass rebuild with perl-5.12.0 * Mon Jan 25 2010 Colin Coe <colin.coe@gmail.com> 1.04-1 - Specfile autogenerated by cpanspec 1.77. - Remove 'make test' as I'm behind a retarded proxy.