Package perl-Crypt-Primes: Specfile

#
#   - 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: alt2.1

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@altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/%m_distro-%version.tar.bz2

# 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

%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir

%install
%perl_vendor_install

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

%changelog
* Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 0.50-alt2.1
- repair after perl 5.12 upgrade using girar-nmu

* Sat Sep 06 2008 Vitaly Lipatov <lav@altlinux.ru> 0.50-alt2
- fix directory ownership violation

* Sat Aug 27 2005 Vitaly Lipatov <lav@altlinux.ru> 0.50-alt1
- first build for ALT Linux Sisyphus