]>
Commit | Line | Data |
---|---|---|
6142c0cb AG |
1 | %define _class Validate |
2 | %define _subclass NL | |
3 | %define _status alpha | |
4 | %define _pearname Validate_NL | |
6142c0cb | 5 | Summary: %{_pearname} - Validation class for NL |
711eabd9 | 6 | Summary(pl.UTF-8): %{_pearname} - Klasa sprawdzająca poprawność dla Holandii |
6142c0cb | 7 | Name: php-pear-%{_pearname} |
a09ac052 | 8 | Version: 0.5.2 |
642a0a2f | 9 | Release: 3 |
6142c0cb AG |
10 | License: New BSD |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
a09ac052 | 13 | # Source0-md5: 8fa910866ad96db1bd1cc6ecfca55740 |
6142c0cb AG |
14 | URL: http://pear.php.net/package/Validate_NL/ |
15 | BuildRequires: php-pear-PEAR | |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
d406e709 | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
642a0a2f | 18 | Requires: php(core) >= 4.2.0 |
77f16c10 | 19 | Requires: php-pear |
21b68c41 | 20 | Obsoletes: php-pear-Validate_NL-tests |
6142c0cb AG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Package containes locale validation for NL such as: | |
26 | - SSN | |
27 | - Postal Code | |
28 | - Phone Number | |
29 | - Bank Account Number (based on 11proef) | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
92f1c266 JR |
33 | %description -l pl.UTF-8 |
34 | Pakiet do sprawdzania poprawności dla Holandii danych takich jak: | |
35 | - numer ubezpieczenia społecznego (SSN) | |
6142c0cb AG |
36 | - kod pocztowy |
37 | - numer telefonu | |
38 | - numer konta bankowego (na podstawie 11proef) | |
39 | ||
40 | Ta klasa ma w PEAR status: %{_status}. | |
41 | ||
6142c0cb AG |
42 | %prep |
43 | %pear_package_setup | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
48 | %pear_package_install | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc install.log | |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/Validate/NL.php | |
58 | ||
a09ac052 | 59 | %{php_pear_dir}/data/Validate_NL |