From ef71a44f25afa1b36ddb28ddf806acf88afa7dc9 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:44:43 +0100 Subject: [PATCH] automatic update by autodist [release 2.33-1mamba;Sun Aug 04 2013] --- README.md | 4 +++ perl-Crypt-CBC.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 perl-Crypt-CBC.spec diff --git a/README.md b/README.md index 4342329..22d1d8f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Crypt-CBC +This module is a Perl-only implementation of the cryptographic cipher block chaining mode (CBC). +In combination with a block cipher such as DES or IDEA, you can encrypt and decrypt messages of arbitrarily long length. +The encrypted messages are compatible with the encryption format used by SSLeay. + diff --git a/perl-Crypt-CBC.spec b/perl-Crypt-CBC.spec new file mode 100644 index 0000000..f213def --- /dev/null +++ b/perl-Crypt-CBC.spec @@ -0,0 +1,83 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Crypt-CBC +Version: 2.33 +Release: 1mamba +Summary: Crypt::CBC - Encrypt Data with Cipher Block Chaining Mode +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-CBC-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Crypt-CAST5 +BuildRequires: perl-Crypt-IDEA +BuildRequires: perl-Crypt-Rijndael +BuildRequires: perl-Crypt-Blowfish_PP +BuildRequires: perl-Crypt-DES +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module is a Perl-only implementation of the cryptographic cipher block chaining mode (CBC). +In combination with a block cipher such as DES or IDEA, you can encrypt and decrypt messages of arbitrarily long length. +The encrypted messages are compatible with the encryption format used by SSLeay. + +%prep +%setup -q -n Crypt-CBC-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sun Aug 04 2013 Automatic Build System 2.33-1mamba +- automatic update by autodist + +* Mon Jan 07 2013 Automatic Build System 2.32-1mamba +- automatic version update by autodist + +* Tue Nov 06 2012 Automatic Build System 2.31-1mamba +- automatic version update by autodist + +* Thu Feb 05 2009 Silvan Calarco 2.30-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 2.24-2mamba +- automatic rebuild by autodist + +* Tue Nov 13 2007 Aleph0 2.24-1mamba +- update to 2.24 + +* Wed May 10 2006 Stefano Cotta Ramusino 2.17-1qilnx +- package created by autospec + +* Tue Jan 18 2005 Silvan Calarco 2.08-2qilnx +- fix version requirement for perl (>= instead of > ) + +* Tue Feb 24 2004 Davide Madrisan 2.08-1qilnx +- First build \ No newline at end of file