]>
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} | |
9067a49c | 6 | |
996593c2 | 7 | Summary: %{_pearname} - Wrapper Classes for the RADIUS PECL |
a46386a0 | 8 | Summary(pl.UTF-8): %{_pearname} - Wrapper dla klasy RADIUS PECL |
996593c2 | 9 | Name: php-pear-%{_pearname} |
77e2cf86 ER |
10 | Version: 1.0.5 |
11 | Release: 1 | |
996593c2 PG |
12 | License: BSD |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
77e2cf86 | 15 | # Source0-md5: e6e152d9e4c1b24cb2e24cdd128d29a2 |
a40f2ee6 | 16 | URL: http://pear.php.net/package/Auth_RADIUS/ |
33c9c8d8 | 17 | BuildRequires: php-pear-PEAR |
ecc6c768 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
cdc20615 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
996593c2 | 20 | Requires: php-pear |
045c3187 | 21 | Requires: php-pecl-radius >= 1.2.4 |
fe93407f | 22 | BuildArch: noarch |
996593c2 PG |
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 | ||
cd167cc5 | 31 | In PEAR status of this package is: %{_status}. |
996593c2 | 32 | |
a46386a0 JR |
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 | |
0a3a13b3 | 37 | dodatkowo rozszerzenie mhash. |
996593c2 PG |
38 | |
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %prep | |
1aea48c0 | 42 | %pear_package_setup |
996593c2 PG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
1aea48c0 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
996593c2 PG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
1aea48c0 ER |
54 | %doc install.log |
55 | %doc docs/%{_pearname}/examples/* | |
56 | %{php_pear_dir}/.registry/*.reg | |
996593c2 | 57 | %{php_pear_dir}/%{_class}/*.php |