commit 6b36b73a8ac612d0a8369395a60709df9b5c00ce Author: yeah_wang <1485652911@qq.com> Date: Fri Dec 6 17:38:16 2019 +0800 add Crypt diff --git a/Crypt-OpenSSL-RSA-0.30.tar.gz b/Crypt-OpenSSL-RSA-0.30.tar.gz new file mode 100644 index 0000000..9f06ff3 Binary files /dev/null and b/Crypt-OpenSSL-RSA-0.30.tar.gz differ diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec new file mode 100644 index 0000000..a65f742 --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA.spec @@ -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 - 0.30-4 + +- Package init