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