File perl-Mojolicious-Plugin-OAuth2.spec of Package perl-Mojolicious-Plugin-OAuth2

# spec file for package perl-Mojolicious-Plugin-OAuth2
# Copyright (c) 2022 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

%define cpan_name Mojolicious-Plugin-OAuth2
Name:           perl-Mojolicious-Plugin-OAuth2
Version:        2.02
Release:        0
Summary:        Auth against OAuth2 APIs including OpenID Connect
License:        Artistic-2.0
URL:  {cpan_name}
Source1:        cpanspec.yml
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(IO::Socket::SSL) >= 1.94
BuildRequires:  perl(Mojolicious) >= 8.25
BuildRequires:  perl(Test::More) >= 0.88
Requires:       perl(IO::Socket::SSL) >= 1.94
Requires:       perl(Mojolicious) >= 8.25
Recommends:     perl(Crypt::OpenSSL::Bignum) >= 0.09
Recommends:     perl(Crypt::OpenSSL::RSA) >= 0.31
Recommends:     perl(Mojo::JWT) >= 0.09

This Mojolicious plugin allows you to easily authenticate against a at or at provider. It includes
configurations for a few popular providers, but you can add your own as

See register for a full list of bundled providers.

%autosetup  -n %{cpan_name}-%{version}

perl Makefile.PL INSTALLDIRS=vendor

make test


%files -f %{name}.files
%doc Changes README

openSUSE Build Service is sponsored by