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