]>
Commit | Line | Data |
---|---|---|
517829a2 | 1 | %define _class SOAP |
2 | %define _subclass Interop | |
140ce9a2 AG |
3 | %define _status beta |
4 | %define _pearname %{_class}_%{_subclass} | |
517829a2 | 5 | Summary: %{_pearname} - SOAP Interop test application |
84262221 | 6 | Summary(pl.UTF-8): %{_pearname} - testowa aplikacja SOAP Interop |
140ce9a2 | 7 | Name: php-pear-%{_pearname} |
e2799c7d | 8 | Version: 0.8.2 |
aa8c8d3b | 9 | Release: 4 |
140ce9a2 AG |
10 | License: PHP 2.02 |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
e2799c7d | 13 | # Source0-md5: 7a54de48942d6a289b95ae5084aa8cff |
e5bc471c | 14 | Patch0: %{name}-path_fix.patch |
5803b4d1 | 15 | URL: http://pear.php.net/package/SOAP_Interop/ |
aa8c8d3b | 16 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
789ed07d | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
9c3308e5 | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
140ce9a2 | 19 | Requires: php-pear |
934cbdf0 | 20 | Requires: php-pear-SOAP |
140ce9a2 AG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
789ed07d ER |
24 | # unavailable |
25 | %define _noautoreq 'pear(SOAP/Interop/interop_Round3GroupD.php)' | |
26 | ||
140ce9a2 AG |
27 | %description |
28 | Test harness for SOAP Builders tests. Supports Round 2 and Round 3 | |
29 | tests. | |
30 | ||
10a93a3d | 31 | In PEAR status of this package is: %{_status}. |
140ce9a2 | 32 | |
11182a45 JR |
33 | %description -l pl.UTF-8 |
34 | Środowisko testowe do testów SOAP Builders. Obsługuje testy rundy 2 i | |
09beb2e7 JB |
35 | 3. |
36 | ||
37 | Ta klasa ma w PEAR status: %{_status}. | |
38 | ||
140ce9a2 | 39 | %prep |
789ed07d ER |
40 | %pear_package_setup |
41 | ||
42 | # extract config.php.orig from tarball that setup cleaned. TODO. include as Source1. | |
e2799c7d | 43 | tar zxf %{SOURCE0} %{_pearname}-%{version}/config.php.dist |
789ed07d ER |
44 | |
45 | install -d docs/%{_pearname} | |
46 | mv ./%{php_pear_dir}/%{_class}/%{_subclass}/readme.txt docs/%{_pearname} | |
47 | ||
48 | cd ./%{php_pear_dir}/%{_class}/%{_subclass} | |
49 | %patch0 -p2 | |
140ce9a2 AG |
50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
789ed07d ER |
53 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
54 | %pear_package_install | |
e2799c7d | 55 | install %{_pearname}-%{version}/config.php.dist $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/config.php |
140ce9a2 AG |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
789ed07d ER |
62 | %doc install.log |
63 | %doc docs/%{_pearname}/* | |
140ce9a2 | 64 | %dir %{php_pear_dir}/%{_class}/%{_subclass} |
789ed07d | 65 | %{php_pear_dir}/.registry/*.reg |
140ce9a2 | 66 | %{php_pear_dir}/%{_class}/%{_subclass}/* |