initial commit of file from CVS for perl-Mojo-JWT on Fri 14 Jul 14:01:04 BST 2023

master 0_08-3
Brian Read 10 months ago
parent 775d0d20d5
commit a828153bf0

1
.gitattributes vendored

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

@ -0,0 +1,21 @@
# Makefile for source rpm: perl-Mojo-JWT
# $Id:
NAME := perl-Mojo-JWT
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

BIN
Mojo-JWT-0.08.tar.gz (Stored with Git LFS)

Binary file not shown.

@ -1,3 +1,11 @@
# perl-Mojo-JWT
3rd Party (Maintained by Koozali) git repo for perl-Mojo-JWT smeserver
3rd Party (Maintained by Koozali) git repo for perl-Mojo-JWT smeserver
## Description
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
*Once it has been checked, then this comment will be deleted*
<br />
Perl-Mojo-JWT is a Perl library for encoding and decoding JSON Web Tokens (JWT). It provides a convenient interface for working with JWT, allowing users to easily create, parse, sign, and verify encoded JWT strings. In addition to providing basic JWT functions, the library also supports a variety of customization options, such as custom header and payload options, as well as support for JWT encryption and signing algorithms.

@ -0,0 +1 @@
sme10

@ -0,0 +1,76 @@
Name: perl-Mojo-JWT
Version: 0.08
Release: 3%{?dist}
Summary: JSON Web Token the Mojo way
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mojo-JWT/
Source0: http://www.cpan.org/authors/id/J/JB/JBERGER/Mojo-JWT-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.010
BuildRequires: perl(Crypt::OpenSSL::RSA)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny)
BuildRequires: perl(Test::More)
BuildRequires: perl(Mojolicious) >= 5.00
Requires: perl(Crypt::OpenSSL::RSA)
Requires: perl(Digest::SHA)
Requires: perl(Mojolicious) >= 5.00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl(Mojo::JWT)
%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
%{__perl} Build.PL prefix /usr installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
##./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
./Build install \
--destdir $RPM_BUILD_ROOT \
--install_path libdoc=%{_mandir}/man3
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
#find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes cpanfile LICENSE META.json metamerge.json README
/usr/local/share/perl5/*
%{_mandir}/man3/*
%changelog
* Fri Jul 14 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Sun Jul 31 2022 Michel Begue <mab974@misouk.com> 0.08-3
- add Provides: perl(Mojo::JWT)
* Sat Jun 25 2022 Michel Begue <mab974@misouk.com> 0.08-2
- fix email
* Wed Aug 26 2020 Michel Begue <mab974@gmail.com> 0.08-1
- First build using cpanspec
Loading…
Cancel
Save