]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.php | |
2 | %define _class Services | |
3 | %define _subclass Yahoo | |
4 | %define _status alpha | |
5 | %define _pearname Services_Yahoo | |
6 | Summary: %{_pearname} - provides access to the Yahoo! Web Services | |
7 | Summary(pl.UTF-8): %{_pearname} - klasa umożliwiająca dostęp do usług WWW Yahoo! | |
8 | Name: php-pear-%{_pearname} | |
9 | Version: 0.2.0 | |
10 | Release: 5 | |
11 | License: Apache License, Version 2.0 | |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: d4fb681ed6686584ba43ec493aa18f27 | |
15 | Patch0: %{name}-paths_fix.patch | |
16 | URL: http://pear.php.net/package/Services_Yahoo/ | |
17 | BuildRequires: php-pear-PEAR | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | Requires: php-pear | |
20 | Requires: php-pear-HTTP_Request | |
21 | Requires: php-pear-PEAR-core >= 1.4.0 | |
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 | |
27 | capabilities of Yahoo. | |
28 | ||
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Services_Yahoo dostarcza zorientowany obiektowo interfejs do usług WWW | |
33 | Yahoo. | |
34 | ||
35 | Ta klasa ma w PEAR status: %{_status}. | |
36 | ||
37 | %package tests | |
38 | Summary: Tests for PEAR::%{_pearname} | |
39 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
40 | Group: Development/Languages/PHP | |
41 | AutoReq: no | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | AutoProv: no | |
44 | ||
45 | %description tests | |
46 | Tests for PEAR::%{_pearname}. | |
47 | ||
48 | %description tests -l pl.UTF-8 | |
49 | Testy dla PEAR::%{_pearname}. | |
50 | ||
51 | %prep | |
52 | %pear_package_setup | |
53 | %patch0 -p1 | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
58 | %pear_package_install | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc install.log | |
66 | %{php_pear_dir}/.registry/*.reg | |
67 | %dir %{php_pear_dir}/Services | |
68 | %{php_pear_dir}/Services/Yahoo | |
69 | ||
70 | %files tests | |
71 | %defattr(644,root,root,755) | |
72 | %{php_pear_dir}/tests/%{_pearname} |