Authenticate against the Yubico server via the Web API in Perl
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.

66 lines
2.0 KiB

4 years ago
Name: perl-Auth-Yubikey_WebClient
Version: 4.02
Release: 3%{?dist}
4 years ago
Summary: Auth::Yubikey_WebClient Perl module
License: Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Auth-Yubikey_WebClient/
Source0: http://www.cpan.org/authors/id/M/MA/MASSYN/Auth-Yubikey_WebClient-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Digest::HMAC_SHA1) >= 1
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(LWP::UserAgent) >= 1
BuildRequires: perl(Test::More)
BuildRequires: perl(URI::Escape) >= 1
Requires: perl(Digest::HMAC_SHA1) >= 1
Requires: perl(LWP::UserAgent) >= 1
Requires: perl(Test::More)
Requires: perl(URI::Escape) >= 1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The README is used to introduce the module and provide instructions on how
to install the module, any machine dependencies it may have (for example C
compilers and installed libraries) and any other information that should be
provided before the module is installed.
%prep
%setup -q -n Auth-Yubikey_WebClient-master
4 years ago
%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 META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Feb 07 2021 Daniel Berteaud <daniel@firewall-services.com> 4.02-3
- Fix archive dir name (daniel@firewall-services.com)
* Sun Feb 07 2021 Daniel Berteaud <daniel@firewall-services.com> 4.02-2
- new package built with tito
4 years ago
* Fri Jun 12 2020 Daniel Berteaud <daniel@firewall-services.com> - 4.02-1
- Specfile autogenerated by cpanspec 1.78.