Name: perl-Mojolicious-Plugin-OAuth2 Version: 2.02 Release: 2%{?dist} Summary: A Mojolicious plugin that allows OAuth2 authentication License: Artistic 2.0 URL: https://metacpan.org/release/Mojolicious-Plugin-OAuth2 Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-OAuth2-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(utf8) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Crypt::OpenSSL::Bignum) >= 0.09 BuildRequires: perl(Crypt::OpenSSL::RSA) >= 0.31 BuildRequires: perl(IO::Socket::SSL) >= 1.94 BuildRequires: perl(MIME::Base64) BuildRequires: perl(Mojo::Base) BuildRequires: perl(Mojo::JWT) >= 0.09 BuildRequires: perl(Mojo::Promise) BuildRequires: perl(Mojo::URL) BuildRequires: perl(Mojo::UserAgent) BuildRequires: perl(Mojo::Util) BuildRequires: perl(Mojolicious) >= 8.25 BuildRequires: perl(Mojolicious::Plugin) # Tests BuildRequires: perl(File::Find) BuildRequires: perl(lib) BuildRequires: perl(Mojo::JSON) BuildRequires: perl(Mojolicious::Lite) BuildRequires: perl(Test::Mojo) BuildRequires: perl(Test::More) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(IO::Socket::SSL) >= 1.94 Requires: perl(Mojolicious) >= 8.25 Requires: perl(Mojolicious::Plugin) Requires: perl(Mojo::Util) Recommends: perl(Crypt::OpenSSL::Bignum) >= 0.09 Recommends: perl(Crypt::OpenSSL::RSA) >= 0.31 Recommends: perl(Mojo::JWT) >= 0.09 %{?perl_default_filter} %description This Mojolicious plugin allows you to easily authenticate against a OAuth2 provider. It includes configurations for a few popular providers, but you can add your own easily as well. %prep %setup -q -n Mojolicious-Plugin-OAuth2-%{version} %build /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check %{make_build} test %files %doc Changes README README.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 2.02-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Jitka Plesnikova - 2.02-1 - 2.02 bump * Wed Jun 01 2022 Jitka Plesnikova - 1.59-4 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.59-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.59-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Feb 21 2021 Emmanuel Seyman - 1.59-1 - Update to 1.59 - Replace calls to %%{__perl} with /usr/bin/perl - Use %%{make_install} instead of "make pure_install" - Use %%{make_build} instead of make * Wed Jan 27 2021 Fedora Release Engineering - 1.58-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.58-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.58-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jul 28 2019 Emmanuel Seyman - 1.58-1 - Update to 1.58 * Fri Jul 26 2019 Fedora Release Engineering - 1.57-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.57-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 24 2018 Mike Oliver - 1.57-1 - Initial package creation