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