Name: perl-Crypt-PBKDF2 Version: 0.140890 Release: 1%{?dist} Summary: PBKDF2 password hashing algorithm License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-PBKDF2/ Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-PBKDF2-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Digest) >= 1.16 BuildRequires: perl(Digest::HMAC) >= 1.01 BuildRequires: perl(Digest::SHA) BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(MIME::Base64) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moose) >= 1 BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Try::Tiny) >= 0.04 BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description PBKDF2 is a secure password hashing algorithm that uses the techniques of "key strengthening" to make the complexity of a brute-force attack arbitrarily high. PBKDF2 uses any other cryptographic hash or cipher (by convention, usually HMAC-SHA1, but Crypt::PBKDF2 is fully pluggable), and allows for an arbitrary number of iterations of the hashing function, and a nearly unlimited output hash size (up to 2**32 - 1 times the size of the output of the back-end hash). The hash is salted, as any password hash should be, and the salt may also be of arbitrary size. %prep %setup -q -n Crypt-PBKDF2-%{version} %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 LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Apr 27 2014 David Dick - 0.140890-1 - Initial release