Name: perl-Crypt-GCrypt Version: 1.26 Release: 5%{?dist} Summary: Perl interface to libgcrypt library License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-GCrypt/ Source0: http://www.cpan.org/authors/id/A/AA/AAR/Crypt-GCrypt-%{version}.tar.gz # For libgcrypt >= 1.6, CPAN RT#97201 Patch0: Crypt-GCrypt-1.26-libgcrypt_1_6_support.diff # Correct some warnings, CPAN RT#107300 Patch1: Crypt-GCrypt-1.26-Correct-some-warnings.patch # Adjust tests to libgcrypt >= 1.7, bug #1399193, CPAN RT#112504 Patch2: Crypt-GCrypt-1.26-Use-an-encryption-key-in-the-test-suite.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: libgcrypt-devel >= 1.3.0 BuildRequires: make BuildRequires: perl BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Config) BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(ExtUtils::Liblist) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: sed # Run-time: BuildRequires: perl(XSLoader) # Tests: BuildRequires: perl(ExtUtils::testlib) BuildRequires: perl(Test) BuildRequires: perl(Test::More) # Optional tests: BuildRequires: perl(Devel::Size) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.00 BuildRequires: perl(threads) BuildRequires: perl(Thread::Queue) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Crypt::GCrypt provides a Perl interface to the libgcrypt cryptographic functions. It currently supports symmetric ciphers such as AES/Rijndael, Twofish, Triple DES, Arcfour etc. %prep %setup -q -n Crypt-GCrypt-%{version} %patch0 -p0 %patch1 -p1 %patch2 -p1 # Remove bundled modules rm -r inc sed -i -e '/^inc\//d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changelog README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Crypt* %{_mandir}/man3/* %changelog * Sat Feb 11 2017 Fedora Release Engineering - 1.26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Nov 28 2016 Petr Pisar - 1.26-4 - Adjust tests to libgcrypt >= 1.7 (bug #1399193) * Mon May 16 2016 Jitka Plesnikova - 1.26-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Sep 24 2015 Petr Pisar 1.26-1 - Specfile autogenerated by cpanspec 1.78. - Enable other optional tests