add Crypt
This commit is contained in:
commit
6b36b73a8a
BIN
Crypt-OpenSSL-RSA-0.30.tar.gz
Normal file
BIN
Crypt-OpenSSL-RSA-0.30.tar.gz
Normal file
Binary file not shown.
105
perl-Crypt-OpenSSL-RSA.spec
Normal file
105
perl-Crypt-OpenSSL-RSA.spec
Normal file
@ -0,0 +1,105 @@
|
||||
Name: perl-Crypt-OpenSSL-RSA
|
||||
|
||||
Version: 0.30
|
||||
|
||||
Release: 4
|
||||
|
||||
Summary: Perl interface to OpenSSL for RSA
|
||||
|
||||
License: GPL+ or Artistic
|
||||
|
||||
Group: Development/Libraries
|
||||
|
||||
URL: https://metacpan.org/release/Crypt-OpenSSL-RSA
|
||||
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-%{version}.tar.gz
|
||||
|
||||
BuildRequires: findutils make openssl openssl-devel perl-devel perl-generators perl-interpreter
|
||||
|
||||
BuildRequires: perl(:VERSION) >= 5.6 perl(Crypt::OpenSSL::Guess) >= 0.11
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(warnings) perl(Carp)
|
||||
|
||||
BuildRequires: perl(AutoLoader) perl(Crypt::OpenSSL::Bignum) perl(XSLoader)
|
||||
|
||||
BuildRequires: perl(Crypt::OpenSSL::Random) perl(base) perl(Test) perl(Test::More)
|
||||
|
||||
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
Requires: perl(Crypt::OpenSSL::Random) perl(Crypt::OpenSSL::Bignum)
|
||||
|
||||
|
||||
|
||||
%description
|
||||
|
||||
encoding and decoding according to using the openSSL libraries
|
||||
|
||||
|
||||
|
||||
%package help
|
||||
|
||||
Summary:help for perl-Crypt-OpenSSL-RSA
|
||||
|
||||
|
||||
|
||||
%description help
|
||||
|
||||
The help package conatins man manual for perl-Crypt-OpenSSL-RSA
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%autosetup -n Crypt-OpenSSL-RSA-%{version} -p1
|
||||
|
||||
|
||||
|
||||
%build
|
||||
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
|
||||
%make_build
|
||||
|
||||
|
||||
|
||||
%install
|
||||
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -delete
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
|
||||
|
||||
%check
|
||||
|
||||
make test
|
||||
|
||||
|
||||
|
||||
%files
|
||||
|
||||
%license LICENSE
|
||||
|
||||
%{perl_vendorarch}/auto/*
|
||||
|
||||
%{perl_vendorarch}/Crypt/
|
||||
|
||||
|
||||
|
||||
%files help
|
||||
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%doc Changes README
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
* Thu Nov 21 2019 wangye<wangye54@huawei.com> - 0.30-4
|
||||
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user