You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Mojolicious-Plugin-OAuth2/perl-Mojolicious-Plugin-OAu...

90 lines
2.8 KiB

Name: perl-Mojolicious-Plugin-OAuth2
4 years ago
Version: 1.59
Release: 1%{?dist}
Summary: A Mojolicious plugin that allows OAuth2 authentication
License: Artistic 2.0
URL: https://metacpan.org/release/Mojolicious-Plugin-OAuth2
6 years ago
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-OAuth2-%{version}.tar.gz
BuildArch: noarch
4 years ago
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(Mojo::Base)
BuildRequires: perl(Mojo::Promise)
BuildRequires: perl(Mojo::UserAgent)
BuildRequires: perl(Mojo::Util)
BuildRequires: perl(Mojolicious) >= 7.53
BuildRequires: perl(Mojolicious::Lite)
BuildRequires: perl(Mojolicious::Plugin)
BuildRequires: perl(Test::Mojo)
BuildRequires: perl(Test::More)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(IO::Socket::SSL)
Requires: perl(Mojolicious) >= 7.53
Requires: perl(Mojolicious::Plugin)
%{?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
4 years ago
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
4 years ago
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
4 years ago
%{make_build} test
%files
4 years ago
%doc Changes README README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
4 years ago
* Sun Feb 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 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 <releng@fedoraproject.org> - 1.58-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.58-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.58-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6 years ago
* Sun Jul 28 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 1.58-1
- Update to 1.58
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Sep 24 2018 Mike Oliver <mike@mklvr.io> - 1.57-1
- Initial package creation