]>
Commit | Line | Data |
---|---|---|
4a25bbb5 | 1 | %include /usr/lib/rpm/macros.php |
a8b6584a | 2 | %define _class Net |
3 | %define _subclass Dict | |
de22e67b | 4 | %define _status stable |
4a25bbb5 | 5 | %define _pearname %{_class}_%{_subclass} |
de22e67b | 6 | |
a8b6584a | 7 | Summary: %{_pearname} - interface to the DICT protocol |
5907b4c2 | 8 | Summary(pl.UTF-8): %{_pearname} - interfejs do protokołu DICT |
4a25bbb5 | 9 | Name: php-pear-%{_pearname} |
4a18e8ae ER |
10 | Version: 1.0.5 |
11 | Release: 1 | |
4a25bbb5 PG |
12 | License: PHP |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
4a18e8ae | 15 | # Source0-md5: e0046b0384516ec3c9fcbfa72fc19d52 |
92d5ecb2 | 16 | URL: http://pear.php.net/package/Net_Dict/ |
025bb52d | 17 | BuildRequires: php-pear-PEAR |
b4873f23 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
f6523b94 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
4a25bbb5 | 20 | Requires: php-pear |
afed9352 ER |
21 | Requires: php-pear-Cache >= 1.5.2 |
22 | Requires: php-pear-Net_Socket >= 1.0 | |
4a25bbb5 PG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | This class provides a simple API to the DICT Protocol handling all the | |
28 | network related issues and providing DICT responses in PHP datatypes | |
29 | to make it easy for a developer to use DICT servers in their programs. | |
30 | ||
c5f5005b | 31 | In PEAR status of this package is: %{_status}. |
de22e67b | 32 | |
5907b4c2 JR |
33 | %description -l pl.UTF-8 |
34 | Klasa ta dostarcza proste API do protokołu DICT, dające wszystkie | |
35 | związane z siecią właściwości oraz dostarczające odpowiedzi DICT w | |
36 | typach danych PHP, pozwalając na łatwe użycie serwerów DICT w | |
de22e67b AG |
37 | programach. |
38 | ||
39 | Ta klasa ma w PEAR status: %{_status}. | |
4a25bbb5 PG |
40 | |
41 | %prep | |
b4873f23 | 42 | %pear_package_setup |
4a25bbb5 PG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
b4873f23 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
4a25bbb5 PG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
b4873f23 ER |
54 | %doc install.log |
55 | %doc docs/%{_pearname}/docs/* | |
56 | %{php_pear_dir}/.registry/*.reg | |
4a25bbb5 | 57 | %{php_pear_dir}/%{_class}/*.php |