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