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