LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Data-Password-passwdqc.spec of Package perl-Data-Password-passwdqc (Project devel:languages:perl:CPAN-D)

# spec file for package perl-Data-Password-passwdqc
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           perl-Data-Password-passwdqc
Version:        0.05
Release:        0
%define cpan_name Data-Password-passwdqc
Summary:        Check password strength and generate password using passwdqc
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Data-Password-passwdqc/
Source:         http://www.cpan.org/authors/id/S/SH/SHERWIN/%{cpan_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Any::Moose)
BuildRequires:  perl(List::MoreUtils)
BuildRequires:  perl(namespace::autoclean)
#BuildRequires: perl(Data::Password::passwdqc)
#BuildRequires: perl(Devel::AssertOS)
#BuildRequires: perl(Devel::CheckOS)
Requires:       perl(Any::Moose)
Requires:       perl(List::MoreUtils)
Requires:       perl(namespace::autoclean)

Data::Password::passwdqc provides an object oriented Perl interface to
Openwall Project's passwdqc. It allows you to check password strength and
also lets you generate quality controllable random password.

%setup -q -n %{cpan_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files
%doc Changes README