]> git.pld-linux.org Git - packages/php-pear-PHPUnit.git/blob - php-pear-PHPUnit.spec
- 1.3.2
[packages/php-pear-PHPUnit.git] / php-pear-PHPUnit.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          PHPUnit
3 %define         _status         stable
4 %define         _pearname       %{_class}
5
6 Summary:        %{_pearname} - regression testing framework for unit tests
7 Summary(pl):    %{_pearname} - zestaw testów regresyjnych
8 Name:           php-pear-%{_pearname}
9 Version:        1.3.2
10 Release:        1
11 License:        PHP 2.02
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
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 # exclude optional dependencies
23 %define         _noautoreq      'pear(PHP/Compat.*)'
24
25 %description
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/.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl
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/.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %prep
40 %pear_package_setup
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 %pear_package_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
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}
This page took 0.040884 seconds and 3 git commands to generate.