Import Authen::U2F
This commit is contained in:
parent
2d4c703d50
commit
c8211bc122
|
@ -0,0 +1 @@
|
|||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
Binary file not shown.
|
@ -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 <dbd@ehtrace.com> 0.003-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue