2 %define _pearname Auth_RADIUS
3 %include /usr/lib/rpm/macros.php
4 Summary: %{_pearname} - Wrapper Classes for the RADIUS PECL
5 Summary(pl.UTF-8): %{_pearname} - Wrapper dla klasy RADIUS PECL
6 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: 6505f01b549a6113482a3d082222183a
13 URL: http://pear.php.net/package/Auth_RADIUS/
14 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php(radius) >= 1.2.5
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package provides wrapper-classes for the RADIUS PECL. There are
24 different Classes for the different authentication methods. If you are
25 using CHAP-MD5 or MS-CHAP you need also the Crypt_CHAP package. If you
26 are using MS-CHAP you need also the mhash extension.
28 In PEAR status of this package is: %{_status}.
30 %description -l pl.UTF-8
31 Ten pakiet udostępnia klasy obudowujące RADIUS PECL. Są różne klasy
32 dla różnych metod uwierzytelniania. Do używania CHAP-MD5 lub MS-CHAP
33 potrzebny jest także pakiet Crypt_CHAP. Do MS-CHAP potrzebne jest
34 dodatkowo rozszerzenie mhash.
36 Ta klasa ma w PEAR status: %{_status}.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %doc docs/%{_pearname}/examples/*
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/Auth/*.php