rpms/perl-Crypt-Primes/devel perl-Crypt-Primes.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Apr 18 14:06:42 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Crypt-Primes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8970/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Crypt-Primes.spec 
Log Message:
auto-import perl-Crypt-Primes-0.50-1 on branch devel from perl-Crypt-Primes-0.50-1.src.rpm


--- NEW FILE perl-Crypt-Primes.spec ---
Summary:	Provable prime number generator for cryptographic applications
Name:		perl-Crypt-Primes
Version:	0.50
Release:	1%{?dist}
License:	GPL or Artistic
Group:		Development/Libraries
Url:		http://search.cpan.org/dist/Crypt-Primes/
Source0:	http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-Primes-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:	noarch
BuildRequires:	perl(Math::Pari)    >= 2.001804
BuildRequires:	perl(Crypt::Random) >= 0.33

%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, "Fast Generation of Prime Numbers and Secure Public-Key Cryptographic
Parameters" (1994).

%prep
%setup -q -n Crypt-Primes-%{version}
%{__sed} -i -e '/^#! *\/usr\/bin\/perl /d' lib/Crypt/Primes.pm

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%doc Changes README docs/*
%{_bindir}/largeprimes
%{perl_vendorlib}/Crypt/Primes.pm
%{_mandir}/man1/largeprimes.1*
%{_mandir}/man3/Crypt::Primes.3pm*

%changelog
* Tue Dec  6 2005 Paul Howarth <paul at city-fan.org> 0.50-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-Primes/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Apr 2006 14:05:46 -0000	1.1
+++ .cvsignore	18 Apr 2006 14:06:42 -0000	1.2
@@ -0,0 +1 @@
+Crypt-Primes-0.50.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-Primes/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Apr 2006 14:05:46 -0000	1.1
+++ sources	18 Apr 2006 14:06:42 -0000	1.2
@@ -0,0 +1 @@
+041947b9645142615d687b89cf2e1a7b  Crypt-Primes-0.50.tar.gz




More information about the scm-commits mailing list