Package perl-Crypt-CBC: Specfile

%define _unpackaged_files_terminate_build 1
#
#   - Crypt::CBC -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Crypt::CBC
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Crypt-CBC
%define m_distro Crypt-CBC
%define m_name Crypt::CBC
%define m_author_id unknown
%define _enable_test 1

Name: perl-Crypt-CBC
Version: 3.04
Release: alt1

Summary: Crypt-CBC - Encrypt Data with Cipher Block Chaining Mode

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/~lds/%module-%version/

Packager: Vitaly Lipatov <lav@altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/L/LD/LDS/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Tue Jun 17 2008
BuildRequires: perl-Crypt-Blowfish perl-Crypt-Blowfish_PP perl-Crypt-CAST5 perl-Crypt-DES perl-Crypt-IDEA perl-Crypt-Rijndael perl-devel perl(Crypt/PBKDF2.pm) perl(Digest/SHA.pm)

%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, and can be made compatible with the newer
OpenSSL package by specifying the -salt argument.

To use this module, you will first create a Crypt::CBC cipher object with
new().  At the time of cipher creation, you specify an encryption key
to use and, optionally, a block encryption algorithm.  You will then
call the start() method to initialize the encryption or decryption
process, crypt() to encrypt or decrypt one or more blocks of data, and
lastly finish(), to pad and encrypt the final block.  For your
convenience, you can call the encrypt() and decrypt() methods to
operate on a whole data value at once.

%prep
%setup -q -n %{module}-%{version}

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes Crypt-CBC-2.16-vulnerability.txt README.md
%perl_vendor_privlib/Crypt/

%changelog
* Tue May 18 2021 Igor Vlasenko <viy@altlinux.org> 3.04-alt1
- automated CPAN update

* Wed Apr 21 2021 Igor Vlasenko <viy@altlinux.org> 3.03-alt1
- automated CPAN update

* Tue Apr 13 2021 Igor Vlasenko <viy@altlinux.org> 3.02-alt1
- automated CPAN update

* Wed Feb 10 2021 Igor Vlasenko <viy@altlinux.ru> 3.01-alt1
- automated CPAN update

* Fri Aug 02 2013 Igor Vlasenko <viy@altlinux.ru> 2.33-alt1
- automated CPAN update

* Wed Jul 24 2013 Igor Vlasenko <viy@altlinux.ru> 2.32-alt1
- automated CPAN update

* Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 2.30-alt1.1
- repair after perl 5.12 upgrade using girar-nmu

* Tue Jul 13 2010 Igor Vlasenko <viy@altlinux.ru> 2.30-alt1
- automated CPAN update

* Sat Sep 06 2008 Vitaly Lipatov <lav@altlinux.ru> 2.29-alt2
- fix directory ownership violation

* Tue Jun 17 2008 Vitaly Lipatov <lav@altlinux.ru> 2.29-alt1
- new version 2.29 (with rpmrb script)

* Fri Mar 14 2008 Vitaly Lipatov <lav@altlinux.ru> 2.24-alt1
- new version 2.24 (with rpmrb script)

* Sat Aug 27 2005 Vitaly Lipatov <lav@altlinux.ru> 2.15-alt1
- first build for ALT Linux Sisyphus