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.
62 lines
1.9 KiB
62 lines
1.9 KiB
Name: perl-Auth-Yubikey_WebClient
|
|
Version: 4.02
|
|
Release: 2%{?dist}
|
|
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
|
|
|
|
%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-2
|
|
- new package built with tito
|
|
|
|
* Fri Jun 12 2020 Daniel Berteaud <daniel@firewall-services.com> - 4.02-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|