]>
Commit | Line | Data |
---|---|---|
bad823e4 | 1 | %define _status alpha |
497fdd47 | 2 | %define _pearname Services_Google |
bad823e4 | 3 | Summary: %{_pearname} - Provides access to the Google Web APIs |
5c6c7834 | 4 | Summary(pl.UTF-8): %{_pearname} - Dostęp do API stron Google |
bad823e4 | 5 | Name: php-pear-%{_pearname} |
3eae1302 | 6 | Version: 0.2.0 |
aded678a | 7 | Release: 4 |
bad823e4 AG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
3eae1302 | 11 | # Source0-md5: 8960f656886605df9dff31faa7d8d10b |
bad823e4 | 12 | URL: http://pear.php.net/package/Services_Google/ |
629a592c | 13 | BuildRequires: php-pear-PEAR |
dc6a980f | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
6e2d78e1 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
aded678a | 16 | Requires: php(core) >= 5.0.0 |
497fdd47 | 17 | Requires: php(soap) |
bad823e4 AG |
18 | Requires: php-pear |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Allows easy access to the Google Web APIs for the search engine, | |
24 | spelling suggestions, and cache. | |
25 | ||
26 | To use the package you'll need an API key from | |
ba326f38 | 27 | <http://www.google.com/apis/>. |
bad823e4 AG |
28 | |
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
d9c01459 JR |
31 | %description -l pl.UTF-8 |
32 | Pozwala na łatwy dostęp do API stron Google - wyszukiwarki, porad | |
33 | dotyczących pisowni oraz cache. | |
bad823e4 | 34 | |
d9c01459 | 35 | Aby użyć tego pakietu potrzebny będzie klucz API ze strony |
ba326f38 | 36 | <http://www.google.com/apis/>. |
bad823e4 AG |
37 | |
38 | Ta klasa ma w PEAR status: %{_status}. | |
39 | ||
40 | %prep | |
dc6a980f ER |
41 | %pear_package_setup |
42 | ||
bad823e4 AG |
43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
dc6a980f ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
bad823e4 AG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
dc6a980f ER |
53 | %doc install.log |
54 | %doc docs/%{_pearname}/* | |
55 | %{php_pear_dir}/.registry/*.reg | |
497fdd47 | 56 | %{php_pear_dir}/Services/*.php |