--- rpms/perl-esmith-PasswordTools/contribs7/perl-esmith-PasswordTools.spec 2008/02/27 18:22:42 1.2 +++ rpms/perl-esmith-PasswordTools/contribs7/perl-esmith-PasswordTools.spec 2008/03/01 12:34:58 1.3 @@ -4,24 +4,29 @@ Summary: Perl esmith::PasswordTools module Name: perl-%{perlname} Version: 0.02 -Release: 1%{?dist} +Release: 2%{?dist} License: Artistic, GPL Group: System Environment/Libraries Source: esmith-PasswordTools-0.02.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +BuildArch: noarch Requires: smeserver-release >= 7 URL: http://geodsoft.com/howto/password/ BuildPrereq: perl %description -Password generator +Generates easily pronounceable and easy to remember passwords that pass the SME server password strength check. SYNOPSIS use esmith::PasswordTools; +$siz=8; $addConsonants='yes', $firstUpper='yes'; $mixedCase='no'; $symbolOdds=10, $symbols=''; $pw = esmith::PasswordTools::generate_password( $siz, $addConsonants, $firstUpper, $mixedCase, $symbolOdds, $symbols ); -$pw = esmith::PasswordTools::generate_sme_password( $siz, $addConsonants, $mixedCase ); +$pw = esmith::PasswordTools::sme_generate_password( $siz, $addConsonants, $mixedCase ); +%changelog +* Sat Mar 01 2008 Michael Weinberger 0.02-2 + fix spec file %prep %setup -n %{perlname}-%{version}