]> git.pld-linux.org Git - packages/php-phpunit-bytekit.git/blob - php-phpunit-bytekit.spec
b3aab272b2bc66bb07e7888469b2610d7a93e05e
[packages/php-phpunit-bytekit.git] / php-phpunit-bytekit.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         status          stable
3 %define         pearname        bytekit
4 Summary:        %{pearname} - A command-line tool built on the PHP Bytekit extension
5 Name:           php-phpunit-bytekit
6 Version:        1.1.1
7 Release:        2
8 License:        BSD License
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
11 # Source0-md5:  dec667472af72b36c7fd3dcfe7c43364
12 URL:            http://github.com/sebastianbergmann/bytekit-cli
13 BuildRequires:  php-channel(pear.phpunit.de)
14 BuildRequires:  php-packagexml2cl
15 BuildRequires:  php-pear-PEAR >= 1:1.8.1
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.580
18 Requires:       php-bytekit
19 Requires:       php-channel(pear.phpunit.de)
20 Requires:       php-pear
21 Requires:       php-phpunit-File_Iterator >= 1.1.0
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 # not packaged anywhere yet
26 %define         _noautoreq      pear(Bytekit/Scanner/Rule/ZendView.php)
27
28 %description
29 A command-line tool built on the PHP Bytekit extension.
30
31 In PEAR status of this package is: %{status}.
32
33 %prep
34 %pear_package_setup
35
36 %build
37 packagexml2cl package.xml > ChangeLog
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}
42 %pear_package_install
43
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
45 install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc ChangeLog install.log
53 %{php_pear_dir}/.registry/.channel.*/*.reg
54 %attr(755,root,root) %{_bindir}/bytekit
55 %{php_pear_dir}/Bytekit
This page took 0.081593 seconds and 3 git commands to generate.