2 %define pearname PHP_CodeCoverage
3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - Library that provides collection, processing, and rendering functionality for PHP code coverage information
5 Name: php-phpunit-PHP_CodeCoverage
9 Group: Development/Languages/PHP
10 Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
11 # Source0-md5: 1b6e0a3267122a58c9b7fd8a626b6cc0
12 URL: http://pear.phpunit.de/
13 BuildRequires: php-channel(pear.phpunit.de)
14 BuildRequires: php-packagexml2cl
15 BuildRequires: php-pear-PEAR >= 1:1.9.4
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.580
18 Requires: php-channel(pear.phpunit.de)
20 Requires: php-phpunit-File_Iterator >= 1.3.0
21 Requires: php-phpunit-PHP_TokenStream >= 1.1.3
22 Requires: php-phpunit-Text_Template >= 1.1.1
24 Suggests: php-ezc-ConsoleTools >= 1.6
25 Suggests: php-pecl-xdebug
26 Suggests: php-reflection
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Library that provides collection, processing, and rendering
33 functionality for PHP code coverage information.
35 In PEAR status of this package is: %{status}.
41 packagexml2cl package.xml > ChangeLog
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc ChangeLog install.log
54 %doc docs/PHP_CodeCoverage/*
55 %{php_pear_dir}/.registry/.channel.*/*.reg
56 %{php_pear_dir}/PHP/CodeCoverage.php
57 %{php_pear_dir}/PHP/CodeCoverage