Initial spec and resources
This commit is contained in:
parent
ff329afc21
commit
607236490a
|
@ -0,0 +1 @@
|
|||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
|
@ -0,0 +1 @@
|
|||
../../tito_libs/releasers.conf
|
|
@ -1,5 +1,6 @@
|
|||
[buildconfig]
|
||||
builder = tito.builder.Builder
|
||||
tagger = tito.tagger.VersionTagger
|
||||
builder = dbd.builder.GitLfsBuilder
|
||||
tagger = tito.tagger.ReleaseTagger
|
||||
changelog_do_not_remove_cherrypick = 0
|
||||
changelog_format = %s (%ae)
|
||||
lib_dir = ../tito_libs
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,56 @@
|
|||
Name: perl-Crypt-U2F-Server
|
||||
Version: 0.45
|
||||
Release: 1%{?dist}
|
||||
Summary: Low level wrapper around the U2F two factor authentication C library (server side)
|
||||
License: BSD2-Clause
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Crypt-U2F-Server/
|
||||
Source0: http://www.cpan.org/authors/id/G/GU/GUIMARD/Crypt-U2F-Server-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl(Authen::U2F::Tester) >= 0.02
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(JSON::XS)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: libu2f-server-devel
|
||||
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 %{?_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 -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
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes META.json README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/Crypt*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.45-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue