Name: perl-Crypt-ECB Version: 2.21 Release: 2%{?dist} Summary: Encrypt Data using ECB Mode License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-ECB/ Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-ECB-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Run-time BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Tests BuildRequires: perl(lib) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is a Perl-only implementation of the ECB mode. In combination with a block cipher such as DES, IDEA or Blowfish, you can encrypt and decrypt messages of arbitrarily long length. Though for security reasons other modes than ECB such as CBC should be preferred. See textbooks on cryptography if you want to know why. %prep %setup -q -n Crypt-ECB-%{version} chmod -x eg/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license ARTISTIC GPLv1 %doc CHANGES eg README README.XTEA %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Feb 11 2017 Fedora Release Engineering - 2.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Oct 17 2016 Jitka Plesnikova - 2.21-1 - 2.21 bump * Tue Aug 30 2016 Jitka Plesnikova - 2.20-1 - 2.20 bump * Sat May 14 2016 Jitka Plesnikova - 1.45-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.45-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.45-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.45-2 - Perl 5.22 rebuild * Thu Nov 27 2014 David Dick - 1.45-1 - Initial release