1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: %{_pearname} - regression testing framework for unit tests
7 Summary(pl): %{_pearname} - zestaw testów regresyjnych
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 4b9dd2158e4035318481c93bbd59aaa5
15 URL: http://pear.php.net/package/PHPUnit/
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 Requires: php-common >= 3:4.1.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # exclude optional dependencies
23 %define _noautoreq 'pear(PHP/Compat.*)'
26 PHPUnit is a regression testing framework used by the developer who
27 implements unit tests in PHP. It is based upon JUnit, which can be
28 found at http://www.junit.org/.
30 In PEAR status of this package is: %{_status}.
33 PHPUnit jest zestawem testów regresyjnych u¿ywanych przez developerów,
34 którzy implementuj± jednostki testowe w PHP. Jest bazowane na JUnit,
35 który mo¿na znale¼æ pod adresem http://www.junit.org/.
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc install.log optional-packages.txt
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/%{_class}.php
55 %{php_pear_dir}/%{_class}