]> git.pld-linux.org Git - packages/php-phpunit-DbUnit.git/blob - php-phpunit-DbUnit.spec
dc312c34402432dc7872588e342553df3d4cadac
[packages/php-phpunit-DbUnit.git] / php-phpunit-DbUnit.spec
1 %define         status          stable
2 %define         pearname        DbUnit
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{pearname} - DbUnit port for PHP/PHPUnit
5 Name:           php-phpunit-DbUnit
6 Version:        1.2.2
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:  c758bd5498c95b5bf37d7fd3e2ac6100
12 URL:            http://pear.phpunit.de/
13 BuildRequires:  php-channel(pear.phpunit.de)
14 BuildRequires:  php-packagexml2cl
15 BuildRequires:  php-pear-PEAR >= 1:1.9.4
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.580
18 Requires:       php(pdo)
19 Requires:       php(simplexml)
20 Requires:       php(spl)
21 Requires:       php-channel(pear.phpunit.de)
22 Requires:       php-pear
23 Requires:       php-phpunit-PHPUnit >= 3.7.0
24 Requires:       php-reflection
25 Requires:       php-symfony2-Yaml <= 2.1.99
26 Requires:       php-symfony2-Yaml >= 2.1.0
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 DbUnit port for PHP/PHPUnit
32
33 In PEAR status of this package is: %{status}.
34
35 %prep
36 %pear_package_setup
37
38 %build
39 packagexml2cl package.xml > ChangeLog
40
41 mv docs/DbUnit/Samples examples
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 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
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}/dbunit
60 %{php_pear_dir}/PHPUnit/Extensions/Database
61
62 %{_examplesdir}/%{name}-%{version}
This page took 0.047996 seconds and 2 git commands to generate.