Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 8cdd1bc74d7441b423098af5c3bfaa1b > files > 2

perl-Params-Check-0.23-alt1.src.rpm

#
#   - Params::Check -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Params::Check
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Params-Check
%define m_distro Params-Check
%define m_name Params::Check
%define m_author_id unknown
%define _enable_test 1

Name: perl-Params-Check
Version: 0.23
Release: alt1

Summary: Params-Check - Templated based param validation

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav@altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/K/KA/KANE/%m_distro-%version.tar.gz

# Automatically added by buildreq on Tue Jul 12 2005
BuildRequires: perl-I18N-LangTags perl-Locale-Maketext-Lexicon perl-Locale-Maketext-Simple perl-devel

%description
Params::Check is a generic input parsing/checking mechanism.

It allows you to validate input via a template. The only requirement
is that the arguments must be named.

Params::Check can do the following things for you:

=over 4

=item *

Convert all keys to lowercase

=item *

Check if all required arguments have been provided

=item *

Set arguments that have not been provided to the default

=item *

Weed out arguments that are not supported and warn about them to the
user

=item *

Validate the arguments given by the user based on strings, regexes,
lists or even subroutines

=item *

Enforce type integrity if required

=back

Most of Params::Check's power comes from its template, which we'll
discuss below:

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*

%changelog
* Tue Jul 12 2005 Vitaly Lipatov <lav@altlinux.ru> 0.23-alt1
- first build for ALT Linux Sisyphus