Name: perl-WWW-Wikipedia Version: 1.94 Release: 1%{?dist} Summary: Automated interface to the Wikipedia License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-Wikipedia/ Source0: http://www.cpan.org/authors/id/B/BR/BRICAS/WWW-Wikipedia-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Autoformat) Requires: perl(CGI) Requires: perl(LWP::UserAgent) Requires: perl(Text::Autoformat) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description WWW::Wikipedia provides an automated interface to the Wikipedia http://www.wikipedia.org, which is a free, collaborative, online encyclopedia. This module allows you to search for a topic and return the resulting entry. It also gives you access to related topics which are also available via the Wikipedia for that entry. %prep %setup -q -n WWW-Wikipedia-%{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 README %{perl_vendorlib}/* /usr/bin/wikipedia %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Sun Aug 17 2008 Dave Cross 1.94-1 - Specfile autogenerated by cpanspec 1.77.