1 %define _class Validate
4 %define _pearname Validate_IN
6 Summary: %{_pearname} - Validation class for the Republic of India
7 Summary(pl.UTF-8): %{_pearname} - klasa walidacji dla Republiki Indii
8 Name: php-pear-%{_pearname}
11 License: LGPL Version 2.1
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 02ec457499301546324672f8b82c670e
15 URL: http://pear.php.net/package/Validate_IN/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Contains locale validation for Indian:
25 - Permanent Account Number (PAN and TAN)
26 - State and Union Territory codes
29 - Vehicle License Plate Numbers
31 In PEAR status of this package is: %{_status}.
33 %description -l pl.UTF-8
34 Pakiet ten dostarcza metod walidacji dla indyjskich:
35 - stałych numerów kont (PAN i TAN)
36 - kodów stanów oraz terytoriów
39 - numerów rejestracyjnych pojazdów
41 Ta klasa ma w PEAR status: %{_status}.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/Validate/IN.php