Initial package creation

f38
Mike Oliver 6 years ago
parent 0af2a37b9c
commit 6943bb875e

1
.gitignore vendored

@ -0,0 +1 @@
/Mojolicious-Plugin-OAuth2-1.57.tar.gz

@ -0,0 +1,63 @@
Name: perl-Mojolicious-Plugin-OAuth2
Version: 1.57
Release: 1%{?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/M/MR/MRAMBERG/Mojolicious-Plugin-OAuth2-%{version}.tar.gz
BuildArch: noarch
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
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%install
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{__make} test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Sep 24 2018 Mike Oliver <mike@mklvr.io> - 1.57-1
- Initial package creation

@ -0,0 +1 @@
SHA512 (Mojolicious-Plugin-OAuth2-1.57.tar.gz) = aa27b4d152bbb4223a9ed6188e7be010881825cc6345e776ec1d54fb6e77eb25fb3788029a42185e699f9e37e191a35882802c1c58fdee3829fea1a6b64c1c9c
Loading…
Cancel
Save