commit ce9a0dfc5396822dcf6575f14863c10cac1d8304 Author: David Dick <ddick@xxxxxxxx> Date: Thu Dec 11 18:45:18 2014 +1100 Initial import (#1168571). .gitignore | 1 + perl-Crypt-ECB.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..716b903 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Crypt-ECB-1.45.tar.gz diff --git a/perl-Crypt-ECB.spec b/perl-Crypt-ECB.spec new file mode 100644 index 0000000..6d6f271 --- /dev/null +++ b/perl-Crypt-ECB.spec @@ -0,0 +1,50 @@ +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 <ddick@xxxxxxxx> - 1.45-1 +- Initial release diff --git a/sources b/sources index e69de29..94062a9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c0eb6e86045c1145fbc7867a84e2dcdd Crypt-ECB-1.45.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel