]>
Commit | Line | Data |
---|---|---|
32fa0762 ER |
1 | %define status stable |
2 | %define pearname PHP_TokenStream | |
3 | Summary: %{pearname} - Wrapper around PHP's tokenizer extension | |
4 | Name: php-phpunit-PHP_TokenStream | |
1c7b5742 | 5 | Version: 1.2.2 |
17b1988a | 6 | Release: 1 |
32fa0762 ER |
7 | License: BSD License |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
1c7b5742 | 10 | # Source0-md5: 32bff1c54a4186f42fcc3be77e47006f |
71654ecb | 11 | URL: http://pear.phpunit.de/ |
32fa0762 ER |
12 | BuildRequires: php-channel(pear.phpunit.de) |
13 | BuildRequires: php-packagexml2cl | |
32fa0762 ER |
14 | BuildRequires: php-pear-PEAR >= 1:1.9.1 |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.580 | |
9d923faa | 17 | Requires: php(tokenizer) |
32fa0762 ER |
18 | Requires: php-channel(pear.phpunit.de) |
19 | Requires: php-ezc-ConsoleTools >= 1.6 | |
20 | Requires: php-pear | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Wrapper around PHP's tokenizer extension. | |
26 | ||
27 | In PEAR status of this package is: %{status}. | |
28 | ||
29 | %prep | |
30 | %pear_package_setup | |
31 | ||
32 | %build | |
33 | packagexml2cl package.xml > ChangeLog | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}} | |
38 | %pear_package_install | |
32fa0762 ER |
39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc ChangeLog install.log | |
dc01cb83 | 46 | %doc docs/PHP_TokenStream/* |
32fa0762 | 47 | %{php_pear_dir}/.registry/.channel.*/*.reg |
32fa0762 | 48 | %{php_pear_dir}/PHP/Token.php |
dc01cb83 | 49 | %{php_pear_dir}/PHP/Token |