Name: perl-Crypt-ECB Version: 1.45 Release: 1%{?dist} Summary: Encrypt Data using ECB Mode License: GPLv2+ 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: perl BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(vars) 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 ECB.pm CHANGES COPYING README %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 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc CHANGES COPYING README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Nov 27 2014 David Dick - 1.45-1 - Initial release