]>
Commit | Line | Data |
---|---|---|
0e1ea8cf ER |
1 | %define status stable |
2 | %define pearname PHP_Invoker | |
3 | %include /usr/lib/rpm/macros.php | |
4 | Summary: %{pearname} - Utility class for invoking callables with a timeout | |
5 | Name: php-phpunit-PHP_Invoker | |
c7bdd598 | 6 | Version: 1.1.0 |
c18707bf | 7 | Release: 2 |
0e1ea8cf ER |
8 | License: BSD License |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
c7bdd598 | 11 | # Source0-md5: d18d1595f2722c6dd2e6f3cd68a04712 |
0e1ea8cf ER |
12 | URL: http://pear.phpunit.de/package/PHP_Invoker/ |
13 | BuildRequires: php-channel(pear.phpunit.de) | |
14 | BuildRequires: php-packagexml2cl | |
c7bdd598 | 15 | BuildRequires: php-pear-PEAR >= 1:1.9.4 |
0e1ea8cf ER |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
17 | BuildRequires: rpmbuild(macros) >= 1.580 | |
c18707bf | 18 | Requires: php(pcntl) |
0e1ea8cf | 19 | Requires: php-channel(pear.phpunit.de) |
0e1ea8cf | 20 | Requires: php-pear |
c7bdd598 | 21 | Requires: php-phpunit-PHP_Timer >= 1.0.1 |
0e1ea8cf ER |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Utility class for invoking callables with a timeout. | |
27 | ||
28 | In PEAR status of this package is: %{status}. | |
29 | ||
30 | %prep | |
31 | %pear_package_setup | |
32 | ||
33 | %build | |
34 | packagexml2cl package.xml > ChangeLog | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
39 | %pear_package_install | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc ChangeLog install.log | |
47 | %doc docs/PHP_Invoker/* | |
48 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
49 | %{php_pear_dir}/PHP/Invoker.php | |
50 | %{php_pear_dir}/PHP/Invoker |