-%define status stable
%define pearname Console
%define php_min_version 5.3.3
%include /usr/lib/rpm/macros.php
-Summary: %{pearname} - Symfony2 Console Component
+Summary: Symfony2 Console Component
Name: php-symfony2-Console
-Version: 2.1.6
+Version: 2.3.4
Release: 1
License: MIT
Group: Development/Languages/PHP
Source0: http://pear.symfony.com/get/%{pearname}-%{version}.tgz
-# Source0-md5: ccb7666f352d792aec0228d51a752968
+# Source0-md5: 886349051edc5048283edc158891b941
URL: http://symfony.com/doc/current/components/console/index.html
BuildRequires: php-channel(pear.symfony.com)
BuildRequires: php-pear-PEAR
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Symfony2 Console Component
-
-In PEAR status of this package is: %{status}.
+The Console component eases the creation of beautiful and testable
+command line interfaces.
%prep
%pear_package_setup
# no packaging of tests
-rm -r .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests
-rm .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests .
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist .
+
+# bad os
+rm .%{php_pear_dir}/Symfony/Component/Console/Resources/bin/hiddeninput.exe
# fixups
-mv .%{php_pear_dir}/Symfony/Component/%{pearname}/CHANGELOG.md .
-rm .%{php_pear_dir}/Symfony/Component/%{pearname}/.gitattributes
mv docs/%{pearname}/Symfony/Component/%{pearname}/* .
%install
%dir %{php_pear_dir}/Symfony/Component/Console
%{php_pear_dir}/Symfony/Component/Console/*.php
%{php_pear_dir}/Symfony/Component/Console/Command
+%{php_pear_dir}/Symfony/Component/Console/Descriptor
+%{php_pear_dir}/Symfony/Component/Console/Event
%{php_pear_dir}/Symfony/Component/Console/Formatter
%{php_pear_dir}/Symfony/Component/Console/Helper
%{php_pear_dir}/Symfony/Component/Console/Input