2 %define _pearname Services_Yahoo
3 %include /usr/lib/rpm/macros.php
4 Summary: %{_pearname} - provides access to the Yahoo! Web Services
5 Summary(pl.UTF-8): %{_pearname} - klasa umożliwiająca dostęp do usług WWW Yahoo!
6 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: d4fb681ed6686584ba43ec493aa18f27
13 Patch0: %{name}-paths_fix.patch
14 URL: http://pear.php.net/package/Services_Yahoo/
15 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.300
18 Requires: php(simplexml)
20 Requires: php-pear-HTTP_Request
21 Requires: php-pear-PEAR-core >= 1:1.3.3
22 Obsoletes: php-pear-Services_Yahoo-tests
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Services_Yahoo provides object-oriented interfaces to the web service
28 capabilities of Yahoo.
30 In PEAR status of this package is: %{_status}.
32 %description -l pl.UTF-8
33 Services_Yahoo dostarcza zorientowany obiektowo interfejs do usług WWW
36 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{php_pear_dir}/.registry/*.reg
54 %dir %{php_pear_dir}/Services
55 %{php_pear_dir}/Services/Yahoo