Name: perl-Mojolicious-Plugin-RenderFile Version: 0.11 Release: 4%{?dist} Summary: Mojolicious plugin allowing customization to force file download # See lib/Mojolicious/Plugin/RenderFile.pm License: GPL+ or Artistic URL: http://search.cpan.org/dist/Mojolicious-Plugin-RenderFile/ Source0: http://www.cpan.org/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) 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 find $RPM_BUILD_ROOT -type f -name .packlist -print -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes %{perl_vendorlib}/Mojolicious* %{_mandir}/man3/Mojolicious* %changelog * Mon Aug 28 2017 Matěj Cepl - 0.11-4 - Rebuilt for EPEL7 * 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.