]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Validate_IN.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-Validate_IN.spec
1 %define         _class          Validate
2 %define         _subclass       IN
3 %define         _status         alpha
4 %define         _pearname       Validate_IN
5
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}
9 Version:        0.1.1
10 Release:        1
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
19 Requires:       php-pear
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Contains locale validation for Indian:
25 - Permanent Account Number (PAN and TAN)
26 - State and Union Territory codes
27 - Telephone Numbers
28 - Postal (Zip) Codes
29 - Vehicle License Plate Numbers
30
31 In PEAR status of this package is: %{_status}.
32
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
37 - numerów telefonów
38 - kodów pocztowych
39 - numerów rejestracyjnych pojazdów
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %prep
44 %pear_package_setup
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 %pear_package_install
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc install.log
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/Validate/IN.php
This page took 0.126598 seconds and 3 git commands to generate.