]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | Summary: %{_pearname} - Wrapper Classes for the RADIUS PECL | |
8 | Summary(pl.UTF-8): %{_pearname} - Wrapper dla klasy RADIUS PECL | |
9 | Name: php-pear-%{_pearname} | |
10 | Version: 1.0.7 | |
11 | Release: 2 | |
12 | License: BSD | |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
15 | # Source0-md5: af7d3a84ce52ffad3d86a65a3f5f8bf5 | |
16 | URL: http://pear.php.net/package/Auth_RADIUS/ | |
17 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | BuildRequires: rpmbuild(macros) >= 1.300 | |
20 | Requires: php-pear | |
21 | Requires: php(radius) >= 1.2.5 | |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
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. | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
33 | %description -l pl.UTF-8 | |
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. | |
38 | ||
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %prep | |
42 | %pear_package_setup | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
47 | %pear_package_install | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc install.log | |
55 | %doc docs/%{_pearname}/examples/* | |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/%{_class}/*.php |