]>
Commit | Line | Data |
---|---|---|
e0a89f64 | 1 | %define _status stable |
adde6f25 | 2 | %define _pearname Crypt_CHAP |
fbe3a451 | 3 | Summary: %{_pearname} - Generating CHAP packets |
e5c11189 | 4 | Summary(pl.UTF-8): %{_pearname} - Generowanie pakietów CHAP |
fbe3a451 | 5 | Name: php-pear-%{_pearname} |
adde6f25 ER |
6 | Version: 1.5.0 |
7 | Release: 1 | |
fbe3a451 PG |
8 | License: PHP 2.02 |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
adde6f25 | 11 | # Source0-md5: 6706a6aad9a576a2f9a13b2d9c936e93 |
077b0fc2 | 12 | URL: http://pear.php.net/package/Crypt_CHAP/ |
adde6f25 | 13 | BuildRequires: php-packagexml2cl |
54a931b6 | 14 | BuildRequires: php-pear-PEAR |
3b87a0e2 | 15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
e8fae3e7 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
fbe3a451 | 17 | Requires: php-pear |
adde6f25 | 18 | Suggests: php-hash |
4c78d36a | 19 | Suggests: php-mcrypt |
adde6f25 | 20 | Obsoletes: php-pear-Crypt_CHAP-tests |
fbe3a451 PG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | This package provides Classes for generating CHAP packets. Currently | |
26 | these types of CHAP are supported: | |
27 | - CHAP-MD5 | |
28 | - MS-CHAPv1 | |
ac8dd039 | 29 | - MS-CHAPv2 |
fbe3a451 | 30 | |
d0a34386 | 31 | In PEAR status of this package is: %{_status}. |
fbe3a451 | 32 | |
076c957f JR |
33 | %description -l pl.UTF-8 |
34 | Ten pakiet dostarcza klasy do generowania pakietów CHAP. Aktualnie | |
35 | dostępnymi typami CHAP są: | |
fbe3a451 PG |
36 | - CHAP-MD5 |
37 | - MS-CHAPv1 | |
ac8dd039 | 38 | - MS-CHAPv2 |
fbe3a451 PG |
39 | |
40 | Ta klasa ma w PEAR status: %{_status}. | |
41 | ||
42 | %prep | |
5c0345f7 | 43 | %pear_package_setup |
adde6f25 ER |
44 | |
45 | %build | |
46 | packagexml2cl package.xml > ChangeLog | |
fbe3a451 PG |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
5c0345f7 ER |
50 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
51 | %pear_package_install | |
fbe3a451 PG |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
adde6f25 | 58 | %doc ChangeLog install.log |
5c0345f7 | 59 | %{php_pear_dir}/.registry/*.reg |
adde6f25 | 60 | %{php_pear_dir}/Crypt/CHAP.php |