From: Elan Ruusamäe Date: Mon, 23 Sep 2013 18:47:06 +0000 (+0300) Subject: up to 2.3.4 X-Git-Tag: auto/th/php-symfony2-Console-2.3.4-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=328b0d362b99debc4d5d5d1971e457fba4fa1732;p=packages%2Fphp-symfony2-Console.git up to 2.3.4 --- diff --git a/php-symfony2-Console.spec b/php-symfony2-Console.spec index 161db21..f25aa06 100644 --- a/php-symfony2-Console.spec +++ b/php-symfony2-Console.spec @@ -1,15 +1,14 @@ -%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 @@ -22,20 +21,20 @@ BuildArch: noarch 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 @@ -52,6 +51,8 @@ rm -rf $RPM_BUILD_ROOT %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