]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Crypt_DiffieHellman.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / php-pear-Crypt_DiffieHellman.spec
1 %define         _class          Crypt
2 %define         _subclass       DiffieHellman
3 %define         _status         beta
4 %define         _pearname       Crypt_DiffieHellman
5 Summary:        %{_pearname} - Implementation of Diffie-Hellman Key Exchange cryptographic protocol for PHP5
6 Summary(pl.UTF-8):      %{_pearname} - implementacja protokołu uzgadniania kluczy Diffiego-Hellmana dla PHP5
7 Name:           php-pear-%{_pearname}
8 Version:        0.2.6
9 Release:        1
10 License:        New BSD License
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  421948445d0c92398d8231f417cbc2fe
14 URL:            http://pear.php.net/package/Crypt_DiffieHellman/
15 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.300
18 Requires:       php(bcmath)
19 Requires:       php(mbstring)
20 Requires:       php-pear
21 Requires:       php-pear-PEAR-core >= 1:1.3.6
22 Suggests:       php-gmp
23 Obsoletes:      php-pear-Crypt_DiffieHellman-tests
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Implementation of the Diffie-Hellman Key Exchange cryptographic
29 protocol in PHP5. Enables two parties without any prior knowledge of
30 each other establish a secure shared secret key across an insecure
31 channel of communication.
32
33 In PEAR status of this package is: %{_status}.
34
35 %description -l pl.UTF-8
36 Implementacja protokołu uzgadniania kluczy Diffiego-Hellmana dla PHP5.
37 Umożliwia dwóm stronom ustalenie w bezpieczny sposób klucza transmisji
38 poprzez niezabezpieczony kanał transmisji.
39
40 Ta klasa ma w PEAR status: %{_status}.
41
42 %prep
43 %pear_package_setup
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{php_pear_dir}/Crypt
48 %pear_package_install
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
55         cat %{_docdir}/%{name}-%{version}/optional-packages.txt
56 fi
57
58 %files
59 %defattr(644,root,root,755)
60 %doc install.log optional-packages.txt
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/Crypt/DiffieHellman
63 %{php_pear_dir}/Crypt/DiffieHellman.php
This page took 0.635147 seconds and 3 git commands to generate.