1 |
slords |
1.1 |
Summary: PEAR Net_Socket provides Network Socket Interface |
2 |
|
|
%define name php-pear-Net-Socket |
3 |
|
|
%define version 1.0.6 |
4 |
|
|
%define release 1 |
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: PHP License |
9 |
|
|
Group: Applications/Web |
10 |
|
|
Source0: php-pear-Net-Socket-%{version}.tgz |
11 |
|
|
Url: http://pear.php.net/package/Net_Socket |
12 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot |
13 |
|
|
BuildArchitectures: noarch |
14 |
|
|
Requires: php |
15 |
|
|
Obsoletes: pear-net_socket |
16 |
|
|
|
17 |
|
|
%description |
18 |
|
|
Net_Socket is a class interface to TCP sockets. It provides blocking |
19 |
|
|
and non-blocking operation, with different reading and writing modes |
20 |
|
|
(byte-wise, block-wise, line-wise and special formats like network |
21 |
|
|
byte-order ip addresses). |
22 |
|
|
|
23 |
|
|
|
24 |
|
|
%prep |
25 |
|
|
%setup -q -n php-pear-Net-Socket-%{version} |
26 |
|
|
|
27 |
|
|
%build |
28 |
|
|
|
29 |
|
|
%clean |
30 |
|
|
rm -rf $RPM_BUILD_ROOT |
31 |
|
|
|
32 |
|
|
%install |
33 |
|
|
rm -rf $RPM_BUILD_ROOT |
34 |
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/Net |
35 |
|
|
cp -rp Socket* $RPM_BUILD_ROOT/usr/share/pear-addons/Net/ |
36 |
|
|
|
37 |
|
|
%files |
38 |
|
|
%defattr(-,root,root) |
39 |
|
|
%dir /usr/share/pear-addons/ |
40 |
|
|
/usr/share/pear-addons/* |
41 |
|
|
|
42 |
|
|
%changelog |
43 |
|
|
* Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.6-1 |
44 |
|
|
- Updated package name to match what is in SME8 repo so upgrades from 7 to 8 will |
45 |
|
|
work without any issues. |
46 |
|
|
|
47 |
|
|
* Tue Oct 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.6-00sme |
48 |
|
|
- Initial |
49 |
|
|
|