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