/[packages]/cauldron/perl-Mojolicious-Plugin-RenderFile/current/SPECS/perl-Mojolicious-Plugin-RenderFile.spec
ViewVC logotype

Contents of /cauldron/perl-Mojolicious-Plugin-RenderFile/current/SPECS/perl-Mojolicious-Plugin-RenderFile.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1575498 - (show annotations) (download)
Thu Apr 30 13:30:50 2020 UTC (4 years, 5 months ago) by ovitters
File size: 1050 byte(s)
- SILENT metacpan.org instead of www.cpan.org and search.cpan.org
- SILENT change make macro to make_build
1 %define upstream_name Mojolicious-Plugin-RenderFile
2 %define upstream_version 0.12
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 4
9
10 Summary: "render_file" helper for Mojolicious
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 Url: https://metacpan.org/release/%{upstream_name}
14 Source0: https://cpan.metacpan.org/modules/by-module/Mojolicious/%{upstream_name}-%{upstream_version}.tar.gz
15
16 BuildRequires: perl(ExtUtils::MakeMaker)
17 BuildRequires: perl(Mojolicious) >= 5.780.0
18 BuildArch: noarch
19
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 %__perl Makefile.PL INSTALLDIRS=vendor
30
31 %make_build
32
33 %check
34 %make_build test
35
36 %install
37 %make_install
38
39 %files
40 %doc Changes META.json META.yml MYMETA.yml
41 %{_mandir}/man3/*
42 %{perl_vendorlib}/*

  ViewVC Help
Powered by ViewVC 1.1.30