File perl-Term-ReadPassword.spec of Package perl-Term-ReadPassword

#
# spec file for package perl-Term-ReadPassword (Version 0.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Term-ReadPassword
Version:        0.11
Release:        2
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://cpan.org/modules/by-module/Term/
Summary:        Term::ReadPassword - Asking the user for a password
Source:         Term-ReadPassword-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module lets you ask the user for a password in the traditional
way, from the keyboard, without echoing.

This is not intended for use over the web; user authentication over the
web is another matter entirely. Also, this module should generally be
used in conjunction with Perl's crypt() function, sold separately.



Authors:
--------
    Tom Phoenix <rootbeer@redcat.com>

%prep
%setup -n Term-ReadPassword-%{version} -q

%build
perl Makefile.PL
make

%check
mv t/2_interactive.t t/2_interactive.tt #disable interactive testing
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc 
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Term
%{perl_vendorlib}/Term/*
%dir %{perl_vendorarch}/auto/Term
%{perl_vendorarch}/auto/Term/ReadPassword
/var/adm/perl-modules/%{name}
%changelog
* Thu Mar 13 2008 anicka@suse.cz
- package created (version 0.11)
openSUSE Build Service is sponsored by