%define _subclass Table
%define _status stable
%define _pearname %{_class}_%{_subclass}
-
Summary: %{_pearname} - makes it easy to build console style tables
-Summary(pl): %{_pearname} - proste tworzenie tabel konsolowych
+Summary(pl.UTF-8): %{_pearname} - proste tworzenie tabel konsolowych
Name: php-pear-%{_pearname}
-Version: 1.0.1
-Release: 2.1
+Version: 1.0.8
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: ff5bbf539c04f8290239592df4d30e96
+# Source0-md5: ef649afa2ed9fdc25f37790eb0495330
URL: http://pear.php.net/package/Console_Table/
-BuildRequires: rpm-php-pearprov >= 4.4.2-10.2
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-pear
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
In PEAR status of this package is: %{_status}.
-%description -l pl
+%description -l pl.UTF-8
Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do
-tworzenia tabel konsolowych. Mog± byæ robione z i bez nag³ówków.
+tworzenia tabel konsolowych. Mogą być robione z i bez nagłówków.
Posiada wiele opcji konfigurowalnych.
Ta klasa ma w PEAR status: %{_status}.
+%package tests
+Summary: Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
+Group: Development/Languages/PHP
+Requires: %{name} = %{epoch}:%{version}-%{release}
+AutoReq: no
+AutoProv: no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+Testy dla PEAR::%{_pearname}.
+
%prep
%pear_package_setup
%doc install.log
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/%{_class}/*.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*