[perl-Crypt-Random-Seed] Initial import (#1183255).

David Dick ddick at fedoraproject.org
Wed Jan 28 19:04:47 UTC 2015


commit 2bf24a1dd7c79f1f4893c147c419b466a0a92d5f
Author: David Dick <ddick at cpan.org>
Date:   Thu Jan 29 06:04:36 2015 +1100

    Initial import (#1183255).

 .gitignore                  |    1 +
 perl-Crypt-Random-Seed.spec |   63 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
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 at cpan.org> - 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


More information about the scm-commits mailing list