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