# 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: 25%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/%{pkgname} Source0: https://cpan.metacpan.org/authors/id/A/AG/AGUL/%{pkgname}-%{version}.tar.gz Patch0: perl-Crypt-GPG-1.64-gpg.patch Patch1: perl-Crypt-GPG-1.64-md5.patch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: gnupg1 BuildRequires: coreutils BuildRequires: findutils BuildRequires: gnupg1 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} %patch0 -p1 -b .gpg %patch1 -p1 -b .md5 %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 * Fri Jul 22 2022 Fedora Release Engineering - 1.64-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.64-24 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.64-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.64-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.64-21 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.64-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.64-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.64-18 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.64-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.64-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.64-15 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.64-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.64-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.64-12 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.64-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.64-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.64-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.64-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.64-7 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.64-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 09 2016 Robert Scheck 1.64-5 - Replace test keys with stronger hash algorithm (#1296507) * Wed Oct 14 2015 Jitka Plesnikova - 1.64-4 - Specify all dependencies * Thu Jun 18 2015 Fedora Release Engineering - 1.64-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 1.64-2 - Perl 5.22 rebuild * Sun Oct 12 2014 Robert Scheck 1.64-1 - Upgrade to 1.64 * Thu Aug 28 2014 Jitka Plesnikova - 1.63-20 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.63-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.63-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.63-17 - Perl 5.18 rebuild - Perl 5.18 compatibility (CPAN RT#68339) * Thu Feb 14 2013 Fedora Release Engineering - 1.63-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.63-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 1.63-14 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.63-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 24 2011 Marcela Mašláňová - 1.63-12 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.63-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Petr Pisar - 1.63-10 - Fix fedora patch * Wed Dec 15 2010 Marcela Maslanova - 1.63-9 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 1.63-8 - Mass rebuild with perl-5.12.0 * Mon Jan 18 2010 Stepan Kasal - 1.63-7 - re-enable tests * Mon Jan 18 2010 Stepan Kasal - 1.63-6 - rebuild against perl 5.10.1, temporarily disabling the tests, the package is known not to work with gnupg2, see #539150 * Fri Dec 4 2009 Stepan Kasal - 1.63-5 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.63-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 01 2009 Robert Scheck 1.63-3 - Changes to match with Fedora Packaging Guidelines (#503175) * Mon Jun 01 2009 Robert Scheck 1.63-2 - Enabled the %%check section (#503175 #c1) * Fri May 29 2009 Robert Scheck 1.63-1 - Upgrade to 1.63 - Initial spec file for Fedora and Red Hat Enterprise Linux