Name: perl-Crypt-U2F-Server Version: 0.43 Release: 1%{?dist} Summary: Low level wrapper around the U2F C library (server side) License: BSD URL: http://search.cpan.org/dist/Crypt-U2F-Server/ Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-U2F-Server-%{version}.tar.gz BuildRequires: gcc BuildRequires: libu2f-server-devel BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Authen::U2F::Tester) >= 0.02 BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON::XS) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) Requires: perl(DynaLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a very low level wrapper around the original C library. You probably shouldn't use it, but use Crypt::U2F::Server::Simple instead! %prep %setup -q -n Crypt-U2F-Server-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %make_build %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Crypt* %{_mandir}/man3/* %changelog * Wed Nov 28 2018 Xavier Bachelot 0.43-1 - Initial package.