%include /usr/lib/rpm/macros.php
%define _class System
%define _subclass Command
+%define _status stable
%define _pearname %{_class}_%{_subclass}
+
Summary: %{_pearname} - commandline execution interface
Summary(pl): %{_pearname} - interfejs do wykonywania poleceñ systemowych
Name: php-pear-%{_pearname}
-Version: 1.0
-Release: 3
+Version: 1.0.1
+Release: 2
License: PHP 2.02
Group: Development/Languages/PHP
-# Source0-md5: d468d8f9b2c7009ccc3af0fa158958f0
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-URL: http://pear.php.net/
+# Source0-md5: 1cdc6c0797c719cf5c0cc4d21f1be058
+URL: http://pear.php.net/package/System_Command/
BuildRequires: rpm-php-pearprov >= 4.0.2-98
Requires: php-pear
BuildArch: noarch
precautions are not taken to escape the shell arguments and reaping
the exit status properly. This class give a formal interface to both,
so that you can run a system command as comfortably as you would run a
-php function, which full pear error handling as results on failure.
+PHP function, which full pear error handling as results on failure.
+
+In PEAR status of this package is: %{_status}.
%description -l pl
U¿ywanie funkcji z poleceñ systemowych mo¿e byæ niebezpieczne, je¶li
nie wykona³o siê odpowiedniego przygotowania parametrów i sprawdzenia
kodu wyj¶cia. Ta klasa daje formalny interfejs do obu rzeczy, co
pozwala na wywo³ywanie poleceñ systemowych w sposób tak wygodny, jak
-wywo³anie funkcji php, która u¿ywa obs³ugi b³êdów PEAR-a w przypadku
+wywo³anie funkcji PHP, która u¿ywa obs³ugi b³êdów PEAR-a w przypadku
niepowodzenia.
+Ta klasa ma w PEAR status: %{_status}.
+
%prep
%setup -q -c