>From 2bf24a1dd7c79f1f4893c147c419b466a0a92d5f Mon Sep 17 00:00:00 2001 From: David Dick <ddick@xxxxxxxx> Date: Thu, 29 Jan 2015 06:04:36 +1100 Subject: Initial import (#1183255). diff --git a/.gitignore b/.gitignore index e69de29..68c0d3f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Crypt-Random-Seed-0.03.tar.gz diff --git a/perl-Crypt-Random-Seed.spec b/perl-Crypt-Random-Seed.spec new file mode 100644 index 0000000..e464644 --- /dev/null +++ b/perl-Crypt-Random-Seed.spec @@ -0,0 +1,63 @@ +Name: perl-Crypt-Random-Seed +Version: 0.03 +Release: 1%{?dist} +Summary: Simple method to get strong randomness +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-Random-Seed/ +Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-Random-Seed-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Crypt::Random::TESHA2) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Fcntl) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.45 +BuildRequires: perl(warnings) +Requires: perl(Crypt::Random::TESHA2) +Requires: perl(IO::Socket) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +A simple mechanism to get strong randomness. The main purpose of this +module is to provide a simple way to generate a seed for a PRNG such as +Math::Random::ISAAC, for use in cryptographic key generation, or as the +seed for an upstream module such as Bytes::Random::Secure. Flags for +requiring non-blocking sources are allowed, as well as a very simple method +for plugging in a source. + +%prep +%setup -q -n Crypt-Random-Seed-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README TODO examples +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Jan 18 2015 David Dick <ddick@xxxxxxxx> - 0.03-1 +- Initial release diff --git a/sources b/sources index e69de29..3554739 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9bc5a69a8f1964065da7823e19b98da2 Crypt-Random-Seed-0.03.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Crypt-Random-Seed.git/commit/?h=epel7&id=2bf24a1dd7c79f1f4893c147c419b466a0a92d5f -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel