Files
perl-Data-Password/perl-Data-Password.spec

63 lines
1.6 KiB
RPMSpec

#
# spec file for package perl-Data-Password
#
# norootforbuild
Name: perl-Data-Password
%define real_name Data-Password
Summary: Perl extension for assesing password quality
Url: http://search.cpan.org/perldoc?Data::Password
Group: Development/Libraries/Perl
License: Artistic License
Version: 1.07
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This modules checks potential passwords for crackability. It checks that the
password is in the appropriate length, that it has enough character groups,
that it does not contain the same chars repeatedly or ascending or descending
characters, or charcters close to each other in the keyboard. It will also
attempt to search the ispell word file for existance of whole words. The
module's policies can be modified by changing its variables. (Check
"VARIABLES").
Author:
-------
Raz Information Systems, razinf@cpan.org, raz@raz.co.il.
%prep
%setup -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/Data
%dir %{perl_vendorarch}/auto/Data/Password
%dir %{perl_vendorlib}/Data
%{perl_vendorarch}/auto/Data/Password/.packlist
%{perl_vendorlib}/Data/*
/var/adm/perl-modules/%{name}
%changelog