]>
Commit | Line | Data |
---|---|---|
4c44fb79 ER |
1 | %define status stable |
2 | %define pearname PHP_CodeCoverage | |
3 | Summary: %{pearname} - Library that provides collection, processing, and rendering functionality for PHP code coverage information | |
4 | Name: php-phpunit-PHP_CodeCoverage | |
453ca8c0 ER |
5 | Version: 1.2.17 |
6 | Release: 1 | |
4c44fb79 ER |
7 | License: BSD License |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
453ca8c0 | 10 | # Source0-md5: 9512f9398319e735e1bf61b19dd6811c |
486484cc | 11 | URL: http://pear.phpunit.de/ |
4c44fb79 ER |
12 | BuildRequires: php-channel(pear.phpunit.de) |
13 | BuildRequires: php-packagexml2cl | |
c9ba6bd4 | 14 | BuildRequires: php-pear-PEAR >= 1:1.9.4 |
4c44fb79 ER |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
16 | BuildRequires: rpmbuild(macros) >= 1.580 | |
17 | Requires: php-channel(pear.phpunit.de) | |
4c44fb79 | 18 | Requires: php-pear |
c9ba6bd4 | 19 | Requires: php-phpunit-File_Iterator >= 1.3.0 |
f30fd2ee | 20 | Requires: php-phpunit-PHP_TokenStream >= 1.1.3 |
c9ba6bd4 | 21 | Requires: php-phpunit-Text_Template >= 1.1.1 |
3fef7bac ER |
22 | Suggests: php(dom) |
23 | Suggests: php(reflection) | |
24 | Suggests: php(spl) | |
49c0465a | 25 | Suggests: php(xdebug) |
f056c36a | 26 | Suggests: php-ezc-ConsoleTools >= 1.6 |
4c44fb79 ER |
27 | BuildArch: noarch |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Library that provides collection, processing, and rendering | |
32 | functionality for PHP code coverage information. | |
33 | ||
34 | In PEAR status of this package is: %{status}. | |
35 | ||
36 | %prep | |
37 | %pear_package_setup | |
38 | ||
39 | %build | |
40 | packagexml2cl package.xml > ChangeLog | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}} | |
45 | %pear_package_install | |
4c44fb79 ER |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc ChangeLog install.log | |
c9ba6bd4 | 53 | %doc docs/PHP_CodeCoverage/* |
4c44fb79 | 54 | %{php_pear_dir}/.registry/.channel.*/*.reg |
4c44fb79 ER |
55 | %{php_pear_dir}/PHP/CodeCoverage.php |
56 | %{php_pear_dir}/PHP/CodeCoverage |