代码拉取完成,页面将自动刷新
# Filter the Perl extension module
%{?perl_default_filter}
%global pkgname Crypt-GPG
Summary: Perl Object Oriented Interface to GnuPG
Name: perl-Crypt-GPG
Version: 1.64
Release: 1
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{pkgname}
Source0: https://cpan.metacpan.org/authors/id/A/AG/AGUL/%{pkgname}-%{version}.tar.gz
Requires: gnupg2
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gnupg2
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Carp)
BuildRequires: perl(Date::Parse)
BuildRequires: perl(English)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IPC::Run)
BuildRequires: perl(strict)
BuildRequires: perl(Test)
BuildRequires: perl(vars)
BuildArch: noarch
%description
The Crypt::GPG module provides access to the functionality of the
GnuPG v1 (www.gnupg.org) encryption tool through an object oriented
interface. It provides methods for encryption, decryption, signing,
signature verification, key generation, key certification, export
and import.
%prep
%setup -q -n %{pkgname}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%files
%doc README
%{perl_vendorlib}/Crypt
%{_mandir}/man3/Crypt::GPG.3pm*
%changelog
* Tue Feb 20 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.64-1
- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。