Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > dde6908d507ef62c43d9dd539b96f9ae > files > 2

perl-Crypt-CBC-2.320.0-2.mga3.src.rpm

%define	upstream_name	 Crypt-CBC
%define upstream_version 2.32

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Encrypt Data with Cipher Block Chaining Mode
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}/
Source0:    http://www.cpan.org/modules/by-module/Crypt/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Digest::MD5) >= 2.0.0
BuildRequires: perl(ExtUtils::MakeMaker)
BuildArch:  noarch

%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 %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
%{makeinstall_std}

%files
%doc Changes META.json META.yml MYMETA.yml README eg
%{perl_vendorlib}/Crypt
%{_mandir}/man3*/*

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 2.320.0-2.mga3
+ Revision: 364830
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jan 08 2013 jquelin <jquelin> 2.320.0-1.mga3
+ Revision: 341971
- update to 2.32

* Tue Nov 06 2012 jquelin <jquelin> 2.310.0-1.mga3
+ Revision: 314929
- update to 2.31

* Tue Jan 25 2011 jquelin <jquelin> 2.300.0-1.mga1
+ Revision: 38576
- mageia rebuild
- cleaning spec file
- imported package perl-Crypt-CBC