]> git.pld-linux.org Git - packages/php-pear-Net_Socket.git/commitdiff
- Net_Socket class
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 24 Jun 2002 12:38:58 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Net_Socket.spec -> 1.1

php-pear-Net_Socket.spec [new file with mode: 0644]

diff --git a/php-pear-Net_Socket.spec b/php-pear-Net_Socket.spec
new file mode 100644 (file)
index 0000000..faff0fc
--- /dev/null
@@ -0,0 +1,42 @@
+%include       /usr/lib/rpm/macros.php
+%define                _pearname       Net_Socket
+Summary:       Net_Socket - Network Socket Interface
+Summary(pl):   Net_Socket - Interfejs socketów sieciowych
+Name:          php-pear-%{_pearname}
+Version:       1.0.1
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+BuildRequires: rpm-php-pearprov
+URL:           http://pear.php.net/
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net_Socket is a class interface to TCP sockets. It provides blocking
+and non-blocking operation, with different reading and writing modes
+(byte-wise, block-wise, line-wise and special formats like network
+byte-order ip addresses).
+
+%description -l pl
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{_pearname}-%{version}
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/Net
+
+install *.php                  $RPM_BUILD_ROOT%{php_pear_dir}/Net
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{php_pear_dir}/Net
+%{php_pear_dir}/Net/*.php
This page took 0.050909 seconds and 4 git commands to generate.