]>
Commit | Line | Data |
---|---|---|
18e329e5 | 1 | %define _class I18Nv2 |
4cc29663 | 2 | %define _status beta |
51b9b1d7 | 3 | %define _pearname I18Nv2 |
18e329e5 | 4 | Summary: %{_pearname} - internationalization |
c8cd552b | 5 | Summary(pl.UTF-8): %{_pearname} - umiędzynarodowienie |
e4251eb9 | 6 | Name: php-pear-%{_pearname} |
06a282a6 | 7 | Version: 0.11.4 |
ae22d77d | 8 | Release: 7 |
e4251eb9 AG |
9 | License: PHP |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
06a282a6 | 12 | # Source0-md5: d8679404737a85e7a36b5018b1abf156 |
24d64270 | 13 | URL: http://pear.php.net/package/I18Nv2/ |
0c5a58ea | 14 | BuildRequires: php-pear-PEAR |
71d10f1e | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
af5b46d2 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
ae22d77d | 17 | Requires: php(core) >= 4.0.6 |
51b9b1d7 ER |
18 | Requires: php(iconv) |
19 | Requires: php(pcre) | |
7fa564e9 | 20 | Requires: php-pear |
08df6752 | 21 | Requires: php-pear-PEAR-core |
27337d8d | 22 | Obsoletes: php-pear-I18Nv2-tests |
e4251eb9 AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | This package provides basic support to localize your application, like | |
28 | locale based formatting of dates, numbers and currency. | |
29 | ||
fbd0e038 | 30 | In PEAR status of this package is: %{_status}. |
e4251eb9 | 31 | |
d9d10557 | 32 | %description -l pl.UTF-8 |
f426b75d | 33 | Ta klasa dostarcza podstawowego wsparcia do lokalizacji aplikacji, |
e4251eb9 AG |
34 | takich jak formatowanie dat, liczb czy walut na podstawie locale. |
35 | ||
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
38 | %prep | |
71d10f1e | 39 | %pear_package_setup |
e4251eb9 AG |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
71d10f1e ER |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
44 | %pear_package_install | |
e4251eb9 AG |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
71d10f1e ER |
51 | %doc install.log |
52 | %{php_pear_dir}/.registry/*.reg | |
51b9b1d7 ER |
53 | %{php_pear_dir}/I18Nv2.php |
54 | %{php_pear_dir}/I18Nv2 |