]> git.pld-linux.org Git - packages/php-pear-Net_Socket.git/blobdiff - php-pear-Net_Socket.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Net_Socket.git] / php-pear-Net_Socket.spec
index a23477ff4f7e8c26d6a9ff56717e256c458ab998..e6a037da206095a9571ef0b502d34fed6aa19af6 100644 (file)
@@ -1,21 +1,18 @@
-%include       /usr/lib/rpm/macros.php
-%define                _class          Net
-%define                _subclass       Socket
-%define                _status         stable
-%define                _pearname       %{_class}_%{_subclass}
-Summary:       %{_pearname} - network socket interface
-Summary(pl.UTF-8):     %{_pearname} - interfejs gniazd sieciowych
-Name:          php-pear-%{_pearname}
-Version:       1.0.6
-Release:       4
+%define                status          stable
+%define                pearname        Net_Socket
+Summary:       %{pearname} - network socket interface
+Summary(pl.UTF-8):     %{pearname} - interfejs gniazd sieciowych
+Name:          php-pear-%{pearname}
+Version:       1.2.2
+Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
-Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: f961deffb093a58eb4c48478de1b27ed
+Source0:       http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: 7969d584a23e7695a3ae0399fc555fb3
 URL:           http://pear.php.net/package/Net_Socket/
 BuildRequires: php-pear-PEAR
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.654
 Requires:      php-pear
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,7 +23,7 @@ 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).
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Net_Socket to klasa z interfejsem do gniazd TCP. Umożliwia operacje
@@ -34,7 +31,7 @@ blokujące i nieblokujące, z różnymi trybami odczytu i zapisu
 (bajtowym, blokowym, liniowym i specjalnymi formatami, jak bajty w
 kolejności adresów sieciowych).
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
@@ -51,4 +48,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Net/*.php
This page took 0.397657 seconds and 4 git commands to generate.