Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041162
en ru br
Репозитории ALT
S:0.50-alt3
5.1: 0.50-alt2
4.1: 0.50-alt1
4.0: 0.50-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Crypt-Primes

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - Crypt::Primes -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Crypt::Primes
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Crypt-Primes
%define m_distro Crypt-Primes
%define m_name Crypt::Primes
%define m_author_id unknown
%define _enable_test 1

Name: perl-Crypt-Primes
Version: 0.50
Release: alt3

Summary: Crypt-Primes - Provable Prime Number Generator suitable for Cryptographic Applications

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/%m_distro-%version.tar.bz2
Patch0: Crypt-Primes-0.50-more-stack.patch

# Automatically added by buildreq on Sat Aug 27 2005

BuildRequires: perl-Class-Loader perl-Crypt-Random perl-Math-Pari perl-devel

# automatically added during perl 5.8 -> 5.12 upgrade.

# perl-podlators is required for pod2man conversion.
BuildRequires: perl-podlators

%description
This module implements Ueli Maurer's algorithm for generating large
*provable* primes and secure parameters for public-key cryptosystems.  The
generated primes are almost uniformly distributed over the set of primes of
the specified bitsize and expected time for generation is less than the time
required for generating a pseudo-prime of the same size with Miller-Rabin
tests.  Detailed description and running time analysis of the algorithm can
be found in Maurer's paper[1].

Crypt::Primes is a pure perl implementation.  It uses Math::Pari for
multiple precision integer arithmetic and number theoretic functions.
Random numbers are gathered with Crypt::Random, a perl interface to
/dev/u?random devices found on most modern Unix operating systems.

%prep
%setup -q -n %m_distro-%version
%patch0

%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir

%install
%perl_vendor_install

%files
%_bindir/*
%perl_vendor_privlib/Crypt/
%_man1dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin