%include /usr/lib/rpm/macros.php
-%define _class I18Nv2
+%define _class I18Nv2
%define _status alpha
%define _pearname %{_class}
-Summary: %{_pearname} - Internationalization
-Summary(pl): %{_pearname} - Umiêdzynarodowienie
+Summary: %{_pearname} - internationalization
+Summary(pl): %{_pearname} - umiêdzynarodowienie
Name: php-pear-%{_pearname}
-Version: 0.1.0
-Release: 1
+Version: 0.7.0
+Release: 2
License: PHP
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: bb271c02e4125578bd00106e370b8ca8
+# Source0-md5: a53008c4eb3669acab29a2333ddb5ec8
URL: http://pear.php.net/package/I18Nv2/
BuildRequires: rpm-php-pearprov >= 4.0.2-98
Requires: php-pear
This package provides basic support to localize your application, like
locale based formatting of dates, numbers and currency.
-This class has in PEAR status: %{_status}.
+In PEAR status of this package is: %{_status}.
%description -l pl
Ta klasa dostarcza podstawowego wsparcia do lokalizacji apliakacji,
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{Language,Locale}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{Country,DecoratedList,Language,Locale}
install %{_pearname}-%{version}/I18Nv2.php $RPM_BUILD_ROOT%{php_pear_dir}
-install %{_pearname}-%{version}/{Country,Language,Locale,Negotiator}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}/{CommonList,Country,DecoratedList,Language,Locale,Negotiator}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}/Country/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Country
+install %{_pearname}-%{version}/DecoratedList/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/DecoratedList
install %{_pearname}-%{version}/Language/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Language
install %{_pearname}-%{version}/Locale/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Locale