1 |
doktor5000 |
913517 |
%define upstream_name Mojolicious-Plugin-RenderFile |
2 |
tv |
1160722 |
%define upstream_version 0.12 |
3 |
doktor5000 |
913517 |
|
4 |
|
|
%{?perl_default_filter} |
5 |
|
|
|
6 |
|
|
Name: perl-%{upstream_name} |
7 |
|
|
Version: %perl_convert_version %{upstream_version} |
8 |
umeabot |
1505304 |
Release: %mkrel 4 |
9 |
doktor5000 |
913517 |
|
10 |
|
|
Summary: "render_file" helper for Mojolicious |
11 |
|
|
License: GPL+ or Artistic |
12 |
|
|
Group: Development/Perl |
13 |
|
|
Url: http://search.cpan.org/dist/%{upstream_name} |
14 |
|
|
Source0: http://www.cpan.org/modules/by-module/Mojolicious/%{upstream_name}-%{upstream_version}.tar.gz |
15 |
|
|
|
16 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
17 |
shlomif |
1002158 |
BuildRequires: perl(Mojolicious) >= 5.780.0 |
18 |
|
|
BuildArch: noarch |
19 |
doktor5000 |
913517 |
|
20 |
|
|
%description |
21 |
|
|
the Mojolicious::Plugin::RenderFile manpage is a the Mojolicious manpage |
22 |
|
|
plugin that adds "render_file" helper. It does not read file in memory and |
23 |
|
|
just streaming it to a client. |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
27 |
|
|
|
28 |
|
|
%build |
29 |
sander85 |
1157531 |
%__perl Makefile.PL INSTALLDIRS=vendor |
30 |
doktor5000 |
913517 |
|
31 |
|
|
%make |
32 |
|
|
|
33 |
|
|
%check |
34 |
|
|
%make test |
35 |
|
|
|
36 |
|
|
%install |
37 |
sander85 |
1157531 |
%make_install |
38 |
doktor5000 |
913517 |
|
39 |
|
|
%files |
40 |
shlomif |
1002158 |
%doc Changes META.json META.yml MYMETA.yml |
41 |
doktor5000 |
913517 |
%{_mandir}/man3/* |
42 |
sander85 |
1157531 |
%{perl_vendorlib}/* |