]>
Commit | Line | Data |
---|---|---|
bdb19f91 ER |
1 | %define status stable |
2 | %define pearname Net_Socket | |
bdb19f91 ER |
3 | Summary: %{pearname} - network socket interface |
4 | Summary(pl.UTF-8): %{pearname} - interfejs gniazd sieciowych | |
5 | Name: php-pear-%{pearname} | |
3394561f | 6 | Version: 1.2.2 |
737250f2 | 7 | Release: 1 |
5f778e12 PG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
bdb19f91 | 10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
3394561f | 11 | # Source0-md5: 7969d584a23e7695a3ae0399fc555fb3 |
65564c8d | 12 | URL: http://pear.php.net/package/Net_Socket/ |
1b34101e | 13 | BuildRequires: php-pear-PEAR |
08667d4a | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
bdb19f91 | 15 | BuildRequires: rpmbuild(macros) >= 1.654 |
35a7b1e4 | 16 | Requires: php-pear |
5f778e12 PG |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Net_Socket is a class interface to TCP sockets. It provides blocking | |
22 | and non-blocking operation, with different reading and writing modes | |
23 | (byte-wise, block-wise, line-wise and special formats like network | |
24 | byte-order ip addresses). | |
25 | ||
bdb19f91 | 26 | In PEAR status of this package is: %{status}. |
4852bf69 | 27 | |
ac6e6c73 JR |
28 | %description -l pl.UTF-8 |
29 | Net_Socket to klasa z interfejsem do gniazd TCP. Umożliwia operacje | |
30 | blokujące i nieblokujące, z różnymi trybami odczytu i zapisu | |
e0c837ed | 31 | (bajtowym, blokowym, liniowym i specjalnymi formatami, jak bajty w |
ac6e6c73 | 32 | kolejności adresów sieciowych). |
5f778e12 | 33 | |
bdb19f91 | 34 | Ta klasa ma w PEAR status: %{status}. |
4852bf69 | 35 | |
5f778e12 | 36 | %prep |
0ffdbc0e | 37 | %pear_package_setup |
5f778e12 PG |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
0ffdbc0e ER |
41 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
42 | %pear_package_install | |
5f778e12 PG |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
0ffdbc0e ER |
49 | %doc install.log |
50 | %{php_pear_dir}/.registry/*.reg | |
bdb19f91 | 51 | %{php_pear_dir}/Net/*.php |