!3 Init package with version 1.64
From: @desert-sailor Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
d157b4151a
BIN
Crypt-GPG-1.64.tar.gz
Normal file
BIN
Crypt-GPG-1.64.tar.gz
Normal file
Binary file not shown.
65
perl-Crypt-GPG.spec
Normal file
65
perl-Crypt-GPG.spec
Normal file
@ -0,0 +1,65 @@
|
||||
# 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
|
||||
Loading…
x
Reference in New Issue
Block a user