!1 package init
From: @si-gui Reviewed-by: @myeuler Signed-off-by: @myeuler
This commit is contained in:
commit
cfa05a32ab
BIN
Crypt-X509-0.51.tar.gz
Normal file
BIN
Crypt-X509-0.51.tar.gz
Normal file
Binary file not shown.
50
perl-Crypt-X509.spec
Normal file
50
perl-Crypt-X509.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: perl-Crypt-X509
|
||||
Version: 0.51
|
||||
Release: 1
|
||||
Summary: Parse a X.509 certificate
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Crypt-X509
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AJ/AJUNG/Crypt-X509-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils findutils make perl-interpreter perl-generators perl(Carp)
|
||||
BuildRequires: perl(Convert::ASN1) >= 0.19 perl(Exporter) perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Math::BigInt) perl(Test::More) perl(strict) perl(warnings)
|
||||
Requires: perl(Convert::ASN1) >= 0.19
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Convert::ASN1\\)
|
||||
%description
|
||||
Crypt::X509 parses X.509 certificates. Methods are provided for accessing
|
||||
most certificate elements.
|
||||
|
||||
%package help
|
||||
Summary: Help files for perl-Crypt-X509
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description help
|
||||
This package provides help files forperl-Crypt-X509
|
||||
|
||||
%prep
|
||||
%setup -q -n Crypt-X509-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%doc Changes README
|
||||
%{_mandir}/man3/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Feb 20 2021 sunguoshuai <sunguoshuai@huawei.com> - 0.51-1
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user