Name: perl-Mojolicious-Plugin-RenderFile Version: 0.12 Release: 4%{?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: 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 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.