Name: perl-WWW-xkcd Version: 0.009 Release: 17%{?dist} Summary: Synchronous and asynchronous interfaces to xkcd comics License: GPL+ or Artistic URL: https://metacpan.org/release/WWW-xkcd Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/WWW-xkcd-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(blib) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(strict) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) Recommends: perl(AnyEvent) Recommends: perl(AnyEvent::HTTP) %{?perl_default_filter} %description This module allows you to access xkcd comics (http://www.xkcd.com/) using the official API in synchronous mode (what people are used to) or in asynchronous mode. The asynchronous mode requires you have AnyEvent and AnyEvent::HTTP available. However, since it's just supported and not necessary, it is not declared as a prerequisite. %prep %setup -q -n WWW-xkcd-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %install %{__make} pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check # This test requires network access. Disable for Koji builds. %{?!_with_network_tests: rm t/sync.t } %{__make} test %files %doc Changes %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.009-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.009-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.009-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.009-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.009-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.009-12 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.009-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.009-10 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.009-9 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.009-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.009-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.009-6 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.009-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.009-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.009-3 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.009-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 24 2018 Mike Oliver - 0.009-1 - Initial package creation