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