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