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: e6e152d9e4c1b24cb2e24cdd128d29a2
16 URL: http://pear.php.net/package/Auth_RADIUS/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
21 Requires: php-pecl-radius >= 1.2.4
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This package provides wrapper-classes for the RADIUS PECL. There are
27 different Classes for the different authentication methods. If you are
28 using CHAP-MD5 or MS-CHAP you need also the Crypt_CHAP package. If you
29 are using MS-CHAP you need also the mhash extension.
31 In PEAR status of this package is: %{_status}.
34 Ten pakiet udostêpnia klasy obudowuj±ce RADIUS PECL. S± ró¿ne klasy
35 dla ró¿nych metod uwierzytelniania. Do u¿ywania CHAP-MD5 lub MS-CHAP
36 potrzebny jest tak¿e pakiet Crypt_CHAP. Do MS-CHAP potrzebne jest
37 dodatkowo rozszerzenie mhash.
39 Ta klasa ma w PEAR status: %{_status}.
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %doc docs/%{_pearname}/examples/*
56 %{php_pear_dir}/.registry/*.reg
57 %{php_pear_dir}/%{_class}/*.php