Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567965
en ru br
ALT Linux repos
S:1.2.1-alt1
5.0: 1.0.0-alt3
4.1: 1.0.0-alt2

Group :: Development/Other
RPM: pear-Crypt_RSA

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pear_name Crypt_RSA

Name: pear-Crypt_RSA
Version: 1.0.0
Release: alt3

Summary: Provides RSA-like key generation, encryption/decryption, signing and signature checking

License: PHP
Group: Development/Other
Url: http://pear.php.net/package/Crypt_RSA

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/Crypt_RSA-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
This package allows you to use two-key strong cryptography like RSA with
arbitrary key length.
It uses one of the following extensions for math calculations:
- PECL big_int extension ( http://pecl.php.net/packages/big_int ) version
greater than or equal to 1.0.3
- PHP GMP extension ( http://php.net/gmp )
- PHP BCMath extension ( http://php.net/manual/en/ref.bc.php ) for both
PHP4 and PHP5

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/Crypt
%pear_testdir/Crypt_RSA/
%pear_docdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin