Name: perl-MediaWiki-API Version: 0.41 Release: 1%{?dist} Summary: MediaWiki::API Perl module License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/MediaWiki-API/ Source0: http://www.cpan.org/authors/id/E/EX/EXOBUZZ/MediaWiki-API-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::More) Requires: perl(JSON) Requires: perl(LWP::UserAgent) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides an interface between perl and the MediaWiki API (http://www.mediawiki.org/wiki/API) allowing creation of scripts to automate editing and extraction of data from MediaWiki driven sites like Wikipedia. %prep %setup -q -n MediaWiki-API-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Nov 20 2017 Zbigniew Jędrzejewski-Szmek - 0.41-1 - Update * Thu Mar 10 2011 Dave Cross 0.35-1 - Specfile autogenerated by cpanspec 1.78.