]>
Commit | Line | Data |
---|---|---|
a0c84db4 AG |
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} - umożliwia dostęp do web services Yahoo! | |
8 | Name: php-pear-%{_pearname} | |
9 | Version: 0.2.0 | |
10 | Release: 1 | |
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 | URL: http://pear.php.net/package/Services_Yahoo/ | |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | Requires: php-pear-HTTP_Request | |
20 | Requires: php-pear-PEAR >= 1.4.0b1 | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Services_Yahoo provides object-oriented interfaces to the web service | |
26 | capabilities of Yahoo | |
27 | ||
28 | In PEAR status of this package is: %{_status}. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Services_Yahoo dostarcza zorientowany obiektowo interfejs do web | |
32 | services Yahoo. | |
33 | ||
34 | Ta klasa ma w PEAR status: %{_status}. | |
35 | ||
36 | %package tests | |
37 | Summary: Tests for PEAR::%{_pearname} | |
38 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
39 | Group: Development/Languages/PHP | |
40 | AutoReq: no | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | AutoProv: no | |
43 | ||
44 | %description tests | |
45 | Tests for PEAR::%{_pearname}. | |
46 | ||
47 | %description tests -l pl.UTF-8 | |
48 | Testy dla PEAR::%{_pearname}. | |
49 | ||
50 | %prep | |
51 | %pear_package_setup | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
56 | %pear_package_install | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc install.log | |
64 | %{php_pear_dir}/.registry/*.reg | |
65 | %{php_pear_dir}/Services/Yahoo | |
66 | %{php_pear_dir}/Services/Yahoo/Search.php | |
67 | ||
68 | %files tests | |
69 | %defattr(644,root,root,755) | |
70 | %{php_pear_dir}/tests/Services_Yahoo/Yahoo/Tests/All.php | |
71 | %{php_pear_dir}/tests/Services_Yahoo/Yahoo/Tests/Exception.php | |
72 | %{php_pear_dir}/tests/Services_Yahoo/Yahoo/Tests/Search.php |