Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37709325
en ru br
Репозитории ALT
S:1.0.8-alt1
5.1: 1.0.6-alt3
4.1: 1.0.6-alt2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: pear-System_Command

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define pear_name System_Command

Name: pear-System_Command
Version: 1.0.8
Release: alt1

Summary: PEAR::System_Command is a commandline execution interface

License: PHP License
Group: Development/Other
Url: http://pear.php.net/package/System_Command

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/System_Command-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
System_Command is a commandline execution interface. Running functions from
the commandline can be risky if the proper precautions are not taken to
escape the shell arguments and reaping the exit status properly. This class
provides a formal interface to both, so that you can run a system command
as comfortably as you would run a php function, with full pear error
handling as results on failure. It is important to note that this class,
unlike other implementations, distinguishes between output to stderr and
output to stdout. It also reports the exit status of the command. So in
every sense of the word, it gives php shell capabilities.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/System/
%pear_docdir/%pear_name/
%pear_datadir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin