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-Mojo-JWT/perl-Mojo-JWT.spec

95 lines
3.1 KiB

6 years ago
Name: perl-Mojo-JWT
4 years ago
Version: 0.09
Release: 8%{?dist}
6 years ago
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
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-6
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
* Sun Nov 22 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 0.09-1
- Update to 0.09
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-4
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6 years ago
* Fri Aug 30 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.08-2
- Take into account review comments (#1747142)
* Wed Aug 28 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.08-1
- Initial specfile, based on the one autogenerated by cpanspec 1.78.