2 %define _pearname Services_Google
3 Summary: %{_pearname} - Provides access to the Google Web APIs
4 Summary(pl.UTF-8): %{_pearname} - Dostęp do API stron Google
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: 8960f656886605df9dff31faa7d8d10b
12 URL: http://pear.php.net/package/Services_Google/
13 BuildRequires: php-pear-PEAR
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
16 Requires: php(core) >= 5.0.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Allows easy access to the Google Web APIs for the search engine,
24 spelling suggestions, and cache.
26 To use the package you'll need an API key from
27 <http://www.google.com/apis/>.
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 Pozwala na łatwy dostęp do API stron Google - wyszukiwarki, porad
33 dotyczących pisowni oraz cache.
35 Aby użyć tego pakietu potrzebny będzie klucz API ze strony
36 <http://www.google.com/apis/>.
38 Ta klasa ma w PEAR status: %{_status}.
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %doc docs/%{_pearname}/*
55 %{php_pear_dir}/.registry/*.reg
56 %{php_pear_dir}/Services/*.php