%include /usr/lib/rpm/macros.php
%define _class Net
%define _subclass Curl
+%define _status stable
%define _pearname %{_class}_%{_subclass}
+
Summary: %{_pearname} - an OO interface to the cURL extension
Summary(pl): %{_pearname} - obiektowy interfejs do rozszerzenia cURL
Name: php-pear-%{_pearname}
-Version: 0.1
-Release: 4
-License: PHP 2.02
+Version: 0.2
+Release: 1
+License: PHP
Group: Development/Languages/PHP
-# Source0-md5: 1585099704d7408fdc8ffe69553b5f80
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 5c8009258f2ac631a36adfbe8fab0fa5
URL: http://pear.php.net/package/Net_Curl/
BuildRequires: rpm-php-pearprov >= 4.0.2-98
Requires: php-pear
Net_Curl is an object oriented interface which abstracts away the
messy parts of dealing with PHP's cURL extension.
+This class has in PEAR status: %{_status}.
+
%description -l pl
Net_Curl to obiektowo zorientowany interfejs, który tworzy warstwê
abstrakcji dla nieprzyjaznych fragmentów obs³ugi rozszerzenia PHP
cURL.
+Ta klasa ma w PEAR status: %{_status}.
+
%prep
%setup -q -c
-mv -f %{_pearname}-%{version}/package.xml .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
%clean
rm -rf $RPM_BUILD_ROOT