From 7f4ce2b18141a3aa335994c58f5a0d06c6410177 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 27 Sep 2023 11:05:28 +0300 Subject: [PATCH] import perl-Mojo-JWT-0.09-8.el9 --- .gitignore | 1 + .perl-Mojo-JWT.metadata | 1 + SPECS/perl-Mojo-JWT.spec | 97 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Mojo-JWT.metadata create mode 100644 SPECS/perl-Mojo-JWT.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..834c810 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Mojo-JWT-0.09.tar.gz diff --git a/.perl-Mojo-JWT.metadata b/.perl-Mojo-JWT.metadata new file mode 100644 index 0000000..f4e48c3 --- /dev/null +++ b/.perl-Mojo-JWT.metadata @@ -0,0 +1 @@ +54a138f1804fe89b89cc57ca269205331386fceb SOURCES/Mojo-JWT-0.09.tar.gz diff --git a/SPECS/perl-Mojo-JWT.spec b/SPECS/perl-Mojo-JWT.spec new file mode 100644 index 0000000..e5cf234 --- /dev/null +++ b/SPECS/perl-Mojo-JWT.spec @@ -0,0 +1,97 @@ +Name: perl-Mojo-JWT +Version: 0.09 +Release: 8%{?dist} +Summary: JSON Web Token the Mojo way +License: GPL+ or Artistic + +URL: https://metacpan.org/release/Mojo-JWT +Source0: https://cpan.metacpan.org/authors/id/J/JB/JBERGER/Mojo-JWT-%{version}.tar.gz + +BuildArch: noarch +# build requirements +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build::Tiny) +# runtime requirements +BuildRequires: perl(:VERSION) >= 5.10 +BuildRequires: perl(Carp) +BuildRequires: perl(Crypt::OpenSSL::RSA) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(MIME::Base64) >= 3.11 +BuildRequires: perl(Mojo::Base) >= 5.00 +BuildRequires: perl(Mojo::JSON) +# test requirements +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(Crypt::OpenSSL::RSA) +Requires: perl(Digest::SHA) + +%description +JSON Web Token is described in https://tools.ietf.org/html/rfc7519. +Mojo::JWT implements that standard with an API that should feel familiar to +Mojolicious users (though of course it is useful elsewhere). Indeed, JWT is +much like Mojolicious::Sessions except that the result is a URL-safe text +string rather than a cookie. + +%prep +%setup -q -n Mojo-JWT-%{version} + +%build +/usr/bin/perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README +%license LICENSE +%{perl_vendorlib}/Mojo* +%{_mandir}/man3/Mojo* + +%changelog +* Wed Sep 27 2023 Arkady L. Shane - 0.09-8 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.09-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.09-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 01 2022 Jitka Plesnikova - 0.09-6 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.09-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.09-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.09-3 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.09-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Nov 22 2020 Emmanuel Seyman - 0.09-1 +- Update to 0.09 + +* Tue Jul 28 2020 Fedora Release Engineering - 0.08-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.08-4 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.08-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Aug 30 2019 Emmanuel Seyman - 0.08-2 +- Take into account review comments (#1747142) + +* Wed Aug 28 2019 Emmanuel Seyman - 0.08-1 +- Initial specfile, based on the one autogenerated by cpanspec 1.78.