]>
Commit | Line | Data |
---|---|---|
996593c2 PG |
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: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | URL: http://pear.php.net/ | |
15 | BuildRequires: rpm-php-pearprov >= 4.0.2-98 | |
16 | Requires: php-pear | |
17 | Requires: php-pecl-radius | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | This package provides wrapper-classes for the RADIUS PECL. There are | |
23 | different Classes for the different authentication methods. If you are | |
24 | using CHAP-MD5 or MS-CHAP you need also the Crypt_CHAP package. If you | |
25 | are using MS-CHAP you need also the mhash extension. | |
26 | ||
27 | This class has in PEAR status: %{_status}. | |
28 | ||
29 | %description -l pl | |
30 | ||
31 | Ta klasa ma w PEAR status: %{_status}. | |
32 | ||
33 | %prep | |
34 | %setup -q -c | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/ | |
39 | ||
40 | install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc %{_pearname}-%{version}/examples/* | |
48 | %{php_pear_dir}/%{_class}/*.php |