]> git.pld-linux.org Git - packages/php-phpunit-PHP_CodeCoverage.git/blob - php-phpunit-PHP_CodeCoverage.spec
- xdebug is in pecl channel
[packages/php-phpunit-PHP_CodeCoverage.git] / php-phpunit-PHP_CodeCoverage.spec
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
6 Version:        1.0.0
7 Release:        1
8 License:        BSD License
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  6977ce19dcc469f95c227bf5ea08a8e7
12 URL:            http://pear.phpunit.de/package/PHP_CodeCoverage/
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)
19 Requires:       php-ezc-ConsoleTools >= 1.6
20 Requires:       php-pear
21 Requires:       php-phpunit-File_Iterator >= 1.2.2
22 Requires:       php-phpunit-PHP_TokenStream >= 1.0.0
23 Requires:       php-phpunit-Text_Template >= 1.0.0
24 Suggests:       php-pecl-xdebug
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Library that provides collection, processing, and rendering
30 functionality for PHP code coverage information.
31
32 In PEAR status of this package is: %{status}.
33
34 %prep
35 %pear_package_setup
36
37 %build
38 packagexml2cl package.xml > ChangeLog
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
43 %pear_package_install
44 install -p usr/bin/* $RPM_BUILD_ROOT%{_bindir}
45
46 # don't care for tests
47 rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{pearname}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc ChangeLog install.log
55 %{php_pear_dir}/.registry/.channel.*/*.reg
56 %attr(755,root,root) %{_bindir}/phpcov
57 %{php_pear_dir}/PHP/CodeCoverage.php
58 %{php_pear_dir}/PHP/CodeCoverage
This page took 0.408538 seconds and 3 git commands to generate.