1 %include /usr/lib/rpm/macros.php
3 %define _subclass RADIUS
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - Wrapper Classes for the RADIUS PECL
8 Summary(pl): %{_pearname} - Wrapper dla klasy RADIUS PECL
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 1463850d06db8ed70a0aa2fadd6be0e5
16 URL: http://pear.php.net/package/Auth_RADIUS/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pecl-radius >= 1.2
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package provides wrapper-classes for the RADIUS PECL. There are
25 different Classes for the different authentication methods. If you are
26 using CHAP-MD5 or MS-CHAP you need also the Crypt_CHAP package. If you
27 are using MS-CHAP you need also the mhash extension.
29 In PEAR status of this package is: %{_status}.
32 Ten pakiet udostêpnia klasy obudowuj±ce RADIUS PECL. S± ró¿ne klasy
33 dla ró¿nych metod uwierzytelniania. Do u¿ywania CHAP-MD5 lub MS-CHAP
34 potrzebny jest tak¿e pakiet Crypt_CHAP. Do MS-CHAP potrzebne jest
35 dodatkowo rozszerzenie mhash.
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %doc docs/%{_pearname}/examples/*
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/%{_class}/*.php