Name: perl-WWW-TheMovieDB Version: 0.05 Release: 5%{?dist} Summary: Complete Perl client to the TMDb API License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: https://metacpan.org/release/WWW-TheMovieDB Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJOBSON/WWW-TheMovieDB-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: make BuildRequires: perl-macros BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTTP::Request) >= 5.80 BuildRequires: perl(JSON) >= 2.50 BuildRequires: perl(LWP::UserAgent) >= 5.80 BuildRequires: perl(URI::Escape) >= 3.20 BuildRequires: perl(Test::Simple) Requires: perl(JSON) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is a complete rewrite of my original WWW::TheMovieDB::Search which attempts to allow access to all methods of the API provided by TheMovieDB. %prep %setup -q -n WWW-TheMovieDB-%{version} rm -f pm_to_blib %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 Makefile MYMETA.json MYMETA.yml README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat May 07 2022 Greg Wildman - 0.05-5 - Update dependencies for COPR rebuild. * Thu Sep 26 2019 Greg Wildman - 0.05-4 - rebuilt * Tue Jan 09 2018 Greg Wildman 0.05-3 - Add build deps. * Thu Jan 14 2016 Greg Wildman 0.05-1 - Specfile autogenerated by cpanspec 1.78.