1 %include /usr/lib/rpm/macros.php
2 %define _class Services
3 %define _subclass Google
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - Provides access to the Google Web APIs
8 Summary(pl): %{_pearname} - Dostêp do API stron Google
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 4295f59c0d87983237486236bd8578c3
16 URL: http://pear.php.net/package/Services_Google/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-common >= 3:5.0.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Allows easy access to the Google Web APIs for the search engine,
27 spelling suggestions, and cache.
29 To use the package you'll need an API key from
30 <http://www.google.com/apis/>.
32 In PEAR status of this package is: %{_status}.
35 Pozwala na ³atwy dostêp do API stron Google - wyszukiwarki, porad
36 dotycz±cych pisowni oraz cache.
38 Aby u¿yæ tego pakietu potrzebny bêdzie klucz API ze strony
39 <http://www.google.com/apis/>.
41 Ta klasa ma w PEAR status: %{_status}.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %doc docs/%{_pearname}/*
58 %{php_pear_dir}/.registry/*.reg
59 %{php_pear_dir}/%{_class}/*.php