Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37734944
en ru br
ALT Linux repos
S:0.8.1-alt1
5.0: 0.8.1-alt1

Group :: Development/Other
RPM: pear-Validate

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pear_name Validate

Name: pear-Validate
Version: 0.8.1
Release: alt1

Summary: Validation class

License: BSD License
Group: Development/Other
Url: http://pear.php.net/package/Validate

Packager: Maxim Ivanov <redbaron at altlinux.ru>

Source: http://pear.php.net/get/%pear_name-%version.tgz

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

Requires: pear-Date, pear-core >= 1.4.0b1

%description
Package to validate various datas. It includes :
- numbers (min/max, decimal or not)
- email (syntax, domain check, rfc822)
- string (predifined type alpha upper and/or lowercase, numeric,...)
- date (min, max, rfc822 compliant)
- uri (RFC2396)
- possibility valid multiple data with a single method call (::multiple)

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE
%pear_dir/%pear_name.php
%pear_docdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin