]>
Commit | Line | Data |
---|---|---|
4c44fb79 ER |
1 | %include /usr/lib/rpm/macros.php |
2 | %define status stable | |
3 | %define pearname PHP_CodeCoverage | |
4 | Summary: %{pearname} - Library that provides collection, processing, and rendering functionality for PHP code coverage information | |
5 | Name: php-phpunit-PHP_CodeCoverage | |
f056c36a | 6 | Version: 1.0.4 |
4c44fb79 ER |
7 | Release: 1 |
8 | License: BSD License | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
f056c36a | 11 | # Source0-md5: c745b86a2eb43c06a52b813e0553c8ee |
486484cc | 12 | URL: http://pear.phpunit.de/ |
4c44fb79 ER |
13 | BuildRequires: php-channel(pear.phpunit.de) |
14 | BuildRequires: php-packagexml2cl | |
15 | BuildRequires: php-pear-PEAR >= 1:1.9.1 | |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
17 | BuildRequires: rpmbuild(macros) >= 1.580 | |
18 | Requires: php-channel(pear.phpunit.de) | |
4c44fb79 ER |
19 | Requires: php-pear |
20 | Requires: php-phpunit-File_Iterator >= 1.2.2 | |
21 | Requires: php-phpunit-PHP_TokenStream >= 1.0.0 | |
22 | Requires: php-phpunit-Text_Template >= 1.0.0 | |
f056c36a ER |
23 | Suggests: php-dom |
24 | Suggests: php-ezc-ConsoleTools >= 1.6 | |
966837d9 | 25 | Suggests: php-pecl-xdebug |
f056c36a ER |
26 | Suggests: php-reflection |
27 | Suggests: php-spl | |
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 | |
47 | install -p usr/bin/* $RPM_BUILD_ROOT%{_bindir} | |
48 | ||
49 | # don't care for tests | |
50 | rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{pearname} | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc ChangeLog install.log | |
58 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
59 | %attr(755,root,root) %{_bindir}/phpcov | |
60 | %{php_pear_dir}/PHP/CodeCoverage.php | |
61 | %{php_pear_dir}/PHP/CodeCoverage |