Accepting request 1297337 from home:tinita:branches:devel:languages:perl:CPAN-M
We will possibly use this for openQA OBS-URL: https://build.opensuse.org/request/show/1297337 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mojolicious-Plugin-OpenAPI?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Mojolicious-Plugin-OpenAPI-5.11.tar.gz
Normal file
3
Mojolicious-Plugin-OpenAPI-5.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c29ca9243ced76037feb2ffaddd9ae94f94960c55b3df4a51fb26bf179e6d332
|
||||||
|
size 69644
|
5
perl-Mojolicious-Plugin-OpenAPI.changes
Normal file
5
perl-Mojolicious-Plugin-OpenAPI.changes
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 3 22:01:10 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- initial package 5.110.0 (5.11)
|
||||||
|
* created by cpanspec 1.84.01
|
76
perl-Mojolicious-Plugin-OpenAPI.spec
Normal file
76
perl-Mojolicious-Plugin-OpenAPI.spec
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Mojolicious-Plugin-OpenAPI
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Mojolicious-Plugin-OpenAPI
|
||||||
|
Name: perl-Mojolicious-Plugin-OpenAPI
|
||||||
|
Version: 5.110.0
|
||||||
|
Release: 0
|
||||||
|
# 5.11 -> normalize -> 5.110.0
|
||||||
|
%define cpan_version 5.11
|
||||||
|
License: Artistic-2.0
|
||||||
|
Summary: OpenAPI / Swagger plugin for Mojolicious
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(JSON::Validator) >= 5.130
|
||||||
|
BuildRequires: perl(Mojolicious) >= 9.0
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
Requires: perl(JSON::Validator) >= 5.130
|
||||||
|
Requires: perl(Mojolicious) >= 9.0
|
||||||
|
Provides: perl(Mojolicious::Plugin::OpenAPI) = %{version}
|
||||||
|
Provides: perl(Mojolicious::Plugin::OpenAPI::Cors)
|
||||||
|
Provides: perl(Mojolicious::Plugin::OpenAPI::Parameters)
|
||||||
|
Provides: perl(Mojolicious::Plugin::OpenAPI::Security)
|
||||||
|
Provides: perl(Mojolicious::Plugin::OpenAPI::SpecRenderer)
|
||||||
|
%undefine __perllib_provides
|
||||||
|
Recommends: perl(Text::Markdown) >= 1.0.31
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Mojolicious::Plugin::OpenAPI is Mojolicious::Plugin that add routes and
|
||||||
|
input/output validation to your Mojolicious application based on a OpenAPI
|
||||||
|
(Swagger) specification. This plugin supports both version 2.0 and 3.x,
|
||||||
|
though 3.x _might_ have some missing features.
|
||||||
|
|
||||||
|
Have a look at the SEE ALSO for references to plugins and other useful
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
Please report in at https://github.com/jhthorsen/json-validator/issues or
|
||||||
|
open pull requests to enhance the 3.0 support.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%doc Changes
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user