Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37515474
en ru br
ALT Linux repos
S:1.50-alt3.2

Group :: Development/Perl
RPM: perl-BSD-arc4random

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define module_version 1.50
%define module_name BSD-arc4random

%define _unpackaged_files_terminate_build 1

# BEGIN SourceDeps(oneline):

BuildRequires: perl(DynaLoader.pm) perl(Exporter.pm)
# END SourceDeps(oneline)
BuildRequires: rpm-build-perl perl-devel perl-podlators

BuildRequires: rpm-build-licenses

Name: perl-%module_name
Version: %module_version
Release: alt3.1
Summary: This module provides a Perl API for the BSDs' arc4random(3) suite of functions
Group: Development/Perl
License: %perl_license
Url: %CPAN %module_name

Source0: http://cpan.org.ua/authors/id/S/SJ/SJSZ/%module_name-%module_version.tar.gz

%description
This module provides a Perl API for the BSDs' arc4random(3) suite
of functions and adds a few high-level functions, such as the new
arc4random_uniform(3). The Perl functions are ithreads-safe (only
if threads::shared is required). Scalars can be tied to this pak-
kage, yielding uniformly distributed random numbers with an arbi-
trary upper bound on read access, contributing to the RC4 entropy
pool on write access. An exported global $RANDOM variable returns
15-bit unsigned random numbers, from [0; 32767], similar to mksh.
Furthermore, Perl's internal PRNG is seeded with entropy obtained
from the arc4random generator once on module load time.

%prep
%setup -n %module_name-%module_version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README TODO
%perl_vendor_archlib/B*
%perl_vendor_autolib/*

%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