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