]> git.pld-linux.org Git - packages/php-symfony2-Console.git/blame - php-symfony2-Console.spec
up to 2.3.4
[packages/php-symfony2-Console.git] / php-symfony2-Console.spec
CommitLineData
8809103a 1%define pearname Console
a2cf4419 2%define php_min_version 5.3.3
8809103a 3%include /usr/lib/rpm/macros.php
328b0d36 4Summary: Symfony2 Console Component
8809103a 5Name: php-symfony2-Console
328b0d36 6Version: 2.3.4
8809103a
ER
7Release: 1
8License: MIT
9Group: Development/Languages/PHP
10Source0: http://pear.symfony.com/get/%{pearname}-%{version}.tgz
328b0d36 11# Source0-md5: 886349051edc5048283edc158891b941
c52380c7 12URL: http://symfony.com/doc/current/components/console/index.html
8809103a
ER
13BuildRequires: php-channel(pear.symfony.com)
14BuildRequires: php-pear-PEAR
15BuildRequires: rpm-php-pearprov >= 4.4.2-11
16BuildRequires: rpmbuild(macros) >= 1.610
a2cf4419 17Requires: php(core) >= %{php_min_version}
8809103a 18Requires: php-channel(pear.symfony.com)
7f9a5fc3 19Requires: php-pear >= 1.3.10
8809103a
ER
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
328b0d36
ER
24The Console component eases the creation of beautiful and testable
25command line interfaces.
8809103a
ER
26
27%prep
28%pear_package_setup
29
30# no packaging of tests
328b0d36
ER
31mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests .
32mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist .
33
34# bad os
35rm .%{php_pear_dir}/Symfony/Component/Console/Resources/bin/hiddeninput.exe
8809103a
ER
36
37# fixups
8809103a
ER
38mv docs/%{pearname}/Symfony/Component/%{pearname}/* .
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT%{php_pear_dir}
43%pear_package_install
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47%files
48%defattr(644,root,root,755)
49%doc CHANGELOG.md LICENSE README.md install.log
50%{php_pear_dir}/.registry/.channel.*/*.reg
51%dir %{php_pear_dir}/Symfony/Component/Console
52%{php_pear_dir}/Symfony/Component/Console/*.php
53%{php_pear_dir}/Symfony/Component/Console/Command
328b0d36
ER
54%{php_pear_dir}/Symfony/Component/Console/Descriptor
55%{php_pear_dir}/Symfony/Component/Console/Event
8809103a
ER
56%{php_pear_dir}/Symfony/Component/Console/Formatter
57%{php_pear_dir}/Symfony/Component/Console/Helper
58%{php_pear_dir}/Symfony/Component/Console/Input
59%{php_pear_dir}/Symfony/Component/Console/Output
60%{php_pear_dir}/Symfony/Component/Console/Tester
This page took 0.121096 seconds and 4 git commands to generate.