Summary: %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
Summary(pl): %{_pearname} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
Name: php-pear-%{_pearname}
-Version: 1.5
+Version: 1.7.5
Release: 1
+Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
-# Source0-md5: 6b3d42c58fa94c5f735a8622882c46ec
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-URL: http://pear.php.net/package/%{_pearname}/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
-Requires: php-pear
+# Source0-md5: d76f133550d326c33f7fc556afb59555
+URL: http://pear.php.net/package/HTML_Table/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
+Requires: php-pear >= 4:1.0-8.1
+Requires: php-pear-HTML_Common >= 1.2.0
+Requires: php-pear-PEAR-core >= 1:1.4.0-0.b1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
- PHP code is shorter, easier to read and to maintain.
- Tables options can be reused.
-This class has in PEAR status: %{_status}.
+In PEAR status of this package is: %{_status}.
%description -l pl
Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
Ta klasa ma w PEAR status: %{_status}.
+%package tests
+Summary: Tests for PEAR::%{_pearname}
+Summary(pl): 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
+Testy dla PEAR::%{_pearname}.
+
%prep
-%setup -q -c
+%pear_package_setup
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}/*.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*