Name: perl-Mojolicious-Plugin-RenderFile Version: 0.12 Release: 16%{?dist} Summary: Mojolicious plugin allowing customization to force file download # See lib/Mojolicious/Plugin/RenderFile.pm License: GPL+ or Artistic URL: https://metacpan.org/release/Mojolicious-Plugin-RenderFile Source0: https://cpan.metacpan.org/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(lib) BuildRequires: perl(Mojo::Base) BuildRequires: perl(Mojo::Util) BuildRequires: perl(Mojolicious::Lite) BuildRequires: perl(strict) BuildRequires: perl(Test::Mojo) BuildRequires: perl(Test::More) BuildRequires: perl(utf8) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Mojolicious::Plugin::RenderFile is a Mojolicious plugin that makes it easy to provide files for download. It also allows customization of the HTTP headers sent to the client. %prep %setup -q -n Mojolicious-Plugin-RenderFile-%{version} # This test only works properly with Mojo 5.78+: # https://github.com/koorchik/Mojolicious-Plugin-RenderFile/commit/0dfa997 %if 0%{?fedora} < 23 rm t/multibyte_filename.t %endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes %{perl_vendorlib}/Mojolicious* %{_mandir}/man3/Mojolicious* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.12-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.12-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.12-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.12-12 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.12-9 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.12-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.12-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Sep 24 2017 Emmanuel Seyman - 0.12-1 - Update to 0.12 * Thu Jul 27 2017 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.11-2 - Perl 5.26 rebuild * Sun Apr 23 2017 Emmanuel Seyman - 0.11-1 - Update to 0.11 * Sat Feb 11 2017 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.10-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 21 2015 Emmanuel Seyman - 0.10-1 - Update to 0.10 * Thu Oct 15 2015 Adam Williamson - 0.09-5 - disable a test on - 0.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.09-3 - Perl 5.22 rebuild * Mon Apr 13 2015 Emmanuel Seyman - 0.09-2 - Clarify summary and description, per package review (#1210612) * Sun Apr 05 2015 Emmanuel Seyman 0.09-1 - Specfile created, based on the one autogenerated by cpanspec 1.78.