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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1330623 - (show annotations) (download)
Sun Nov 18 00:40:06 2018 UTC (5 years, 4 months ago) by tv
File size: 1076 byte(s)
update to 2.04
1 %define upstream_name Mojolicious-Plugin-OpenAPI
2 %define upstream_version 2.04
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 1
9 Summary: OpenAPI Mojolicious plugin
10 License: Artistic 2.0
11 Group: Development/Perl
12 Url: http://metacpan.org/release/%{upstream_name}
13 Source0: http://www.cpan.org/modules/by-module/Mojolicious/%{upstream_name}-%{upstream_version}.tar.gz
14
15 BuildArch: noarch
16 BuildRequires: perl(ExtUtils::MakeMaker)
17 BuildRequires: perl(JSON::Validator) >= 2.180.0
18 BuildRequires: perl(Test::More) >= 0.880.0
19 BuildRequires: make
20 BuildRequires: perl
21 %description
22 Mojolicious::Plugin::OpenAPI is used to support the OpenAPI (aka Swagger2)
23 specification.
24
25 %prep
26 %setup -q -n Mojolicious-Plugin-OpenAPI-%{upstream_version}
27
28 %build
29 %{__perl} Makefile.PL INSTALLDIRS=vendor
30
31 %make
32
33 %check
34 make test
35
36 %install
37 %make_install
38 %{_fixperms} %{buildroot}/*
39
40 %files
41 %doc Changes META.json META.yml MYMETA.yml README
42 %{perl_vendorlib}/Mojolicious*
43 %{_mandir}/man3/Mojolicious*

  ViewVC Help
Powered by ViewVC 1.1.30