]> git.pld-linux.org Git - SPECS.git/blob - php-pear-PHPUnit.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-PHPUnit.spec
1 %define         _class          PHPUnit
2 %define         _status         stable
3 %define         _pearname       %{_class}
4 Summary:        %{_pearname} - regression testing framework for unit tests
5 Summary(pl.UTF-8):      %{_pearname} - zestaw testów regresyjnych
6 Name:           php-pear-%{_pearname}
7 Version:        1.3.2
8 Release:        3
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5:  4b9dd2158e4035318481c93bbd59aaa5
13 URL:            http://pear.php.net/package/PHPUnit/
14 BuildRequires:  php-pear-PEAR
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php-common >= 3:4.1.0
18 Requires:       php-pear
19 Suggests:       php-pear-PHP_Compat
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # exclude optional dependencies
24 %define         _noautoreq      'pear(PHP/Compat.*)'
25
26 %description
27 PHPUnit is a regression testing framework used by the developer who
28 implements unit tests in PHP. It is based upon JUnit, which can be
29 found at http://www.junit.org/.
30
31 In PEAR status of this package is: %{_status}.
32
33 %description -l pl.UTF-8
34 PHPUnit jest zestawem testów regresyjnych używanych przez developerów,
35 którzy implementują jednostki testowe w PHP. Jest bazowane na JUnit,
36 który można znaleźć pod adresem http://www.junit.org/.
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %prep
41 %pear_package_setup
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 %pear_package_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc install.log optional-packages.txt
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/%{_class}.php
56 %{php_pear_dir}/%{_class}
This page took 0.128337 seconds and 3 git commands to generate.