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