3 Summary: %{pearname} - PHP automation tool with capabilities similar to make
4 Name: php-indeyets-pake
8 Group: Development/Languages/PHP
9 Source0: http://pear.indeyets.ru/get/%{pearname}-%{version}.tgz
10 # Source0-md5: 0678184f4493e45bc32105a2a2134d91
11 URL: https://github.com/indeyets/pake/wiki
12 BuildRequires: php-channel(pear.indeyets.ru)
13 BuildRequires: php-packagexml2cl
14 BuildRequires: php-pear-PEAR >= 1:1.4.1
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.654
18 Requires: php-channel(pear.indeyets.ru)
20 Requires: php-symfony-YAML
22 Suggests: php(mbstring)
29 Suggests: php-pear-PEAR
31 Suggests: php-simpletest
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 # exclude optional dependencies
36 %define _noautoreq_pear PEAR/.* PEAR2/Autoload.php phing/Phing.php simpletest/.*
39 Pake is a command line utility for executing predefined tasks,
40 inspired by make. It is written in PHP and the tasks are also
43 Pake supports tasks with prerequisites. Pake can be bundled with your
44 application as a single phar archive (or even as a single PHP file),
45 end users don’t need to install Pake on their systems.
47 Pake can be used for compiling projects from different pieces,
48 generating code, preprocessing templates and deploying projects.
50 In PEAR status of this package is: %{status}.
57 packagexml2cl package.xml > ChangeLog
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
63 install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
66 rm -rf $RPM_BUILD_ROOT
69 %pear_package_print_optionalpackages
72 %defattr(644,root,root,755)
73 %doc LICENSE ChangeLog install.log optional-packages.txt
74 %{php_pear_dir}/.registry/.channel.*/*.reg
75 %attr(755,root,root) %{_bindir}/pake
76 %{php_pear_dir}/pake.php