Name: perl-Parse-CPAN-Whois Version: 0.02 Release: 1%{?dist} Summary: Parse CPAN's authors/00whois.xml file License: GPL Group: Development/Libraries URL: http://search.cpan.org/dist/Parse-CPAN-Whois/ Source0: http://www.cpan.org/authors/id/M/MA/MARTIJN/Parse-CPAN-Whois-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.0 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(XML::SAX::Base) >= 1.04 BuildRequires: perl(XML::SAX::ParserFactory) Requires: perl(XML::SAX::Base) >= 1.04 Requires: perl(XML::SAX::ParserFactory) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description CPAN has two author indices, "01mailrc.txt.gz", which Parse::CPAN::Authors parses for you, and "00whois.xml", which is handled by this module. %prep %setup -q -n Parse-CPAN-Whois-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Aug 23 2008 Dave Cross 0.02-1 - Specfile autogenerated by cpanspec 1.77.