From c8211bc122499169d47f0030f969b7f44feefce3 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 11 Feb 2022 20:33:30 +0100 Subject: [PATCH] Import Authen::U2F --- .gitattributes | 1 + Authen-U2F-0.003.tar.gz | 3 ++ perl-Authen-U2F.spec | 83 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 .gitattributes create mode 100644 Authen-U2F-0.003.tar.gz create mode 100644 perl-Authen-U2F.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/Authen-U2F-0.003.tar.gz b/Authen-U2F-0.003.tar.gz new file mode 100644 index 0000000..389eee4 --- /dev/null +++ b/Authen-U2F-0.003.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08cd4ad238d76b33a156e29e24ecf5f2405191d109ac854d8b47e6b267668c69 +size 21479 diff --git a/perl-Authen-U2F.spec b/perl-Authen-U2F.spec new file mode 100644 index 0000000..366483c --- /dev/null +++ b/perl-Authen-U2F.spec @@ -0,0 +1,83 @@ +Name: perl-Authen-U2F +Version: 0.003 +Release: 1%{?dist} +Summary: Authen::U2F Perl module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Authen-U2F/ +Source0: http://www.cpan.org/authors/id/R/RO/ROBN/Authen-U2F-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Crypt::OpenSSL::X509) >= 1.806 +BuildRequires: perl(Crypt::PK::ECC) +BuildRequires: perl(CryptX) >= 0.034 +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Exporter::Tiny) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON) +BuildRequires: perl(Math::Random::Secure) +BuildRequires: perl(MIME::Base64) >= 3.11 +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(parent) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(Type::Params) +BuildRequires: perl(Types::Standard) +BuildRequires: perl(warnings) +Requires: perl(Carp) +Requires: perl(Crypt::OpenSSL::X509) >= 1.806 +Requires: perl(Crypt::PK::ECC) +Requires: perl(CryptX) >= 0.034 +Requires: perl(Digest::SHA) +Requires: perl(Exporter::Tiny) +Requires: perl(JSON) +Requires: perl(Math::Random::Secure) +Requires: perl(MIME::Base64) >= 3.11 +Requires: perl(namespace::autoclean) +Requires: perl(parent) +Requires: perl(strict) +Requires: perl(Try::Tiny) +Requires: perl(Type::Params) +Requires: perl(Types::Standard) +Requires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Provides: perl(Authen::U2F) + +%description +This module provides the tools you need to add support for U2F in your +application. + +%prep +%setup -q -n Authen-U2F-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +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 +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 11 2022 Daniel Berteaud 0.003-1 +- Specfile autogenerated by cpanspec 1.78.