[perl-Math-Random-Secure] Initial import.
Emmanuel Seyman
eseyman at fedoraproject.org
Fri Mar 4 16:20:06 UTC 2011
commit ef7f9c980d7008dd7b35cc2c02e7470b5ac092c4
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Fri Mar 4 17:19:57 2011 +0100
Initial import.
.gitignore | 1 +
perl-Math-Random-Secure.spec | 56 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..807ad41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Random-Secure-0.06.tar.gz
diff --git a/perl-Math-Random-Secure.spec b/perl-Math-Random-Secure.spec
new file mode 100644
index 0000000..f2c5a94
--- /dev/null
+++ b/perl-Math-Random-Secure.spec
@@ -0,0 +1,56 @@
+Name: perl-Math-Random-Secure
+Version: 0.06
+Release: 2%{?dist}
+Summary: Cryptographically-secure, cross-platform replacement for rand()
+License: Artistic 2.0
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Math-Random-Secure/
+Source0: http://www.cpan.org/authors/id/M/MK/MKANAT/Math-Random-Secure-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Any::Moose)
+BuildRequires: perl(Crypt::Random::Source::Factory)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Math::Random::ISAAC)
+BuildRequires: perl(Test::LeakTrace)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Warn)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module is intended to provide a cryptographically-secure replacement
+for Perl's built-in rand function.
+
+%prep
+%setup -q -n Math-Random-Secure-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Feb 27 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.06-2
+- Add needed BuildRequires
+
+* Mon Feb 14 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a69db35 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7397735ec33ef8fc69303b0a7d741b51 Math-Random-Secure-0.06.tar.gz
More information about the scm-commits
mailing list