%define upstream_name Mojolicious-Plugin-RenderFile %define upstream_version 0.12 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: "render_file" helper for Mojolicious License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Mojolicious/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Mojolicious) >= 5.780.0 BuildArch: noarch %description the Mojolicious::Plugin::RenderFile manpage is a the Mojolicious manpage plugin that adds "render_file" helper. It does not read file in memory and just streaming it to a client. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %make_install %files %doc Changes META.json META.yml MYMETA.yml %{_mandir}/man3/* %{perl_vendorlib}/*