-# TODO
-# - http://pear.php.net/bugs/bug.php?id=4371
%include /usr/lib/rpm/macros.php
%define _class Auth
%define _status stable
%define _pearname %{_class}
-
Summary: %{_pearname} - PHP PEAR authentication class
Summary(pl): %{_pearname} - klasa dla PHP PEAR z klasami uwierzytelniaj±cymi
Name: php-pear-%{_pearname}
-Version: 1.2.4
+Version: 1.3.0
Release: 1
Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: c1860f21a842aae14d3118bc97fc6417
-Patch0: %{name}-path_fix.patch
+# Source0-md5: bdeda8b053d87b948c2cea44378581b8
URL: http://pear.php.net/package/Auth/
BuildRequires: rpm-php-pearprov >= 4.4.2-11
Requires: php-pear >= 4:1.0-8
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# optional
-%define _noautoreq 'pear(Auth/RADIUS.php)' 'pear(File/Passwd.php)' 'pear(File/SMBPasswd.php)' 'pear(Net/POP3.php)' 'pear(DB.*)' 'pear(MDB.*)'
-# tests
-# 'pear(DBContainer.php) 'pear(FileContainer.php) 'pear(IMAPContainer.php) 'pear(MDBContainer.php) 'pear(POP3Container.php) 'pear(POP3aContainer.php) 'pear(TestAuthContainer.php)'
+%define _noautoreq 'pear(Auth/RADIUS.php)' 'pear(File/Passwd.php)' 'pear(File/SMBPasswd.php)' 'pear(Net/POP3.php)' 'pear(DB.*)' 'pear(MDB.*)' 'pear(MDB2.*)' 'pear(Crypt/CHAP.*)'
%description
The PEAR::Auth package provides methods for creating an authentication
%prep
%pear_package_setup
-cd ./%{php_pear_dir}/%{_class}
-%patch0 -p2
%install
rm -rf $RPM_BUILD_ROOT
%doc install.log optional-packages.txt
%doc docs/%{_pearname}/README*
%{php_pear_dir}/.registry/*.reg
-%dir %{php_pear_dir}/%{_class}/Container
%{php_pear_dir}/*.php
%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/Container/*.php
+%{php_pear_dir}/%{_class}/Container
+%{php_pear_dir}/%{_class}/Frontend
%files tests
%defattr(644,root,root,755)