]>
Commit | Line | Data |
---|---|---|
a0c84db4 AG |
1 | %define _status alpha |
2 | %define _pearname Services_Yahoo | |
3 | Summary: %{_pearname} - provides access to the Yahoo! Web Services | |
92c296f9 | 4 | Summary(pl.UTF-8): %{_pearname} - klasa umożliwiająca dostęp do usług WWW Yahoo! |
a0c84db4 AG |
5 | Name: php-pear-%{_pearname} |
6 | Version: 0.2.0 | |
e110ea79 | 7 | Release: 8 |
8acdeab6 | 8 | License: Apache v2.0 |
a0c84db4 AG |
9 | Group: Development/Languages/PHP |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
11 | # Source0-md5: d4fb681ed6686584ba43ec493aa18f27 | |
fa1db0f6 | 12 | Patch0: %{name}-paths_fix.patch |
a0c84db4 | 13 | URL: http://pear.php.net/package/Services_Yahoo/ |
8acdeab6 | 14 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
a0c84db4 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
820fc245 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
e110ea79 | 17 | Requires: php(simplexml) |
a0c84db4 AG |
18 | Requires: php-pear |
19 | Requires: php-pear-HTTP_Request | |
8acdeab6 | 20 | Requires: php-pear-PEAR-core >= 1:1.3.3 |
0779d1a9 | 21 | Obsoletes: php-pear-Services_Yahoo-tests |
a0c84db4 AG |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Services_Yahoo provides object-oriented interfaces to the web service | |
92c296f9 | 27 | capabilities of Yahoo. |
a0c84db4 AG |
28 | |
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
31 | %description -l pl.UTF-8 | |
92c296f9 JB |
32 | Services_Yahoo dostarcza zorientowany obiektowo interfejs do usług WWW |
33 | Yahoo. | |
a0c84db4 AG |
34 | |
35 | Ta klasa ma w PEAR status: %{_status}. | |
36 | ||
a0c84db4 AG |
37 | %prep |
38 | %pear_package_setup | |
fa1db0f6 | 39 | %patch0 -p1 |
a0c84db4 AG |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc install.log | |
52 | %{php_pear_dir}/.registry/*.reg | |
40d27ab3 | 53 | %dir %{php_pear_dir}/Services |
a0c84db4 | 54 | %{php_pear_dir}/Services/Yahoo |