]> git.pld-linux.org Git - packages/php-pear-Auth_RADIUS.git/blob - php-pear-Auth_RADIUS.spec
e7a7c8cbf730e68a238135974a138d83a6c54f6a
[packages/php-pear-Auth_RADIUS.git] / php-pear-Auth_RADIUS.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Auth
3 %define         _subclass       RADIUS
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6 Summary:        %{_pearname} - Wrapper Classes for the RADIUS PECL
7 Summary(pl):    %{_pearname} - Wrapper dla klasy RADIUS PECL
8 Name:           php-pear-%{_pearname}
9 Version:        1.0
10 Release:        1
11 License:        BSD
12 Group:          Development/Languages/PHP
13 # Source0-md5:  3617a1e921a3a71a7706b4ba271cff0f
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 URL:            http://pear.php.net/
16 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
17 Requires:       php-pear
18 Requires:       php-pecl-radius >= 1.2
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
27
28 This class has in PEAR status: %{_status}.
29
30 %description -l pl
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.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %prep
39 %setup -q -c
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
44
45 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc %{_pearname}-%{version}/examples/*
53 %{php_pear_dir}/%{_class}/*.php
This page took 0.120523 seconds and 2 git commands to generate.