1 |
%define upstream_name Mojolicious-Plugin-RenderFile |
%define upstream_name Mojolicious-Plugin-RenderFile |
2 |
%define upstream_version 0.10 |
%define upstream_version 0.11 |
3 |
|
|
4 |
%{?perl_default_filter} |
%{?perl_default_filter} |
5 |
|
|
6 |
Name: perl-%{upstream_name} |
Name: perl-%{upstream_name} |
7 |
Version: %perl_convert_version %{upstream_version} |
Version: %perl_convert_version %{upstream_version} |
8 |
Release: %mkrel 2 |
Release: %mkrel 1 |
9 |
|
|
10 |
Summary: "render_file" helper for Mojolicious |
Summary: "render_file" helper for Mojolicious |
11 |
License: GPL+ or Artistic |
License: GPL+ or Artistic |
26 |
%setup -q -n %{upstream_name}-%{upstream_version} |
%setup -q -n %{upstream_name}-%{upstream_version} |
27 |
|
|
28 |
%build |
%build |
29 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
%__perl Makefile.PL INSTALLDIRS=vendor |
30 |
|
|
31 |
%make |
%make |
32 |
|
|
34 |
%make test |
%make test |
35 |
|
|
36 |
%install |
%install |
37 |
%makeinstall_std |
%make_install |
38 |
|
|
39 |
%files |
%files |
40 |
%doc Changes META.json META.yml MYMETA.yml |
%doc Changes META.json META.yml MYMETA.yml |
41 |
%{_mandir}/man3/* |
%{_mandir}/man3/* |
|
%perl_vendorlib/* |
|
42 |
|
%{perl_vendorlib}/* |