2009-03-19 10:38:31 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Data-Password
|
|
|
|
#
|
2011-11-17 14:04:18 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-06-21 00:51:07 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2009-03-19 10:38:31 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2011-11-17 14:04:18 +00:00
|
|
|
|
2009-03-19 10:38:31 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
Name: perl-Data-Password
|
2011-11-17 14:04:18 +00:00
|
|
|
%define cpan_name Data-Password
|
2009-06-21 00:51:07 +00:00
|
|
|
Summary: Perl extension for assesing password quality
|
|
|
|
Version: 1.07
|
|
|
|
Release: 1
|
|
|
|
Url: http://search.cpan.org/perldoc?Data::Password
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
|
|
Patch1: %{name}-1.07-dict.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:00:51 +00:00
|
|
|
%{perl_requires}
|
2009-06-21 00:51:07 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-11-17 14:04:18 +00:00
|
|
|
Requires: words
|
2009-06-21 00:51:07 +00:00
|
|
|
|
2009-03-19 10:38:31 +00:00
|
|
|
%description
|
2011-11-17 14:04:18 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
%{cpan_name} module for perl
|
|
|
|
|
|
|
|
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").
|
2009-03-19 10:38:31 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
Author: Raz Information Systems, razinf@cpan.org, raz@raz.co.il.
|
2009-03-19 10:38:31 +00:00
|
|
|
|
|
|
|
%prep
|
2009-06-21 00:51:07 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2009-03-19 10:55:04 +00:00
|
|
|
%patch1 -p0
|
2009-03-19 10:38:31 +00:00
|
|
|
|
|
|
|
%build
|
2009-06-21 00:51:07 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
%{__make}
|
2009-03-19 10:38:31 +00:00
|
|
|
|
|
|
|
%check
|
2009-06-21 00:51:07 +00:00
|
|
|
%{__make} test
|
2009-03-19 10:38:31 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-06-21 00:51:07 +00:00
|
|
|
%perl_gen_filelist
|
2009-03-19 10:38:31 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2009-03-19 10:38:31 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
# normally you only need to check for doc files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
2009-03-19 10:38:31 +00:00
|
|
|
|
2009-06-21 00:51:07 +00:00
|
|
|
%changelog
|