[perl-Crypt-URandom] Import

Petr Pisar ppisar at fedoraproject.org
Tue Oct 14 12:10:40 UTC 2014


commit 9d644122b0b7ffb28bcc6e8c5201d1a64fb8fd08
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Oct 14 14:10:12 2014 +0200

    Import

 .gitignore              |    1 +
 perl-Crypt-URandom.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0f5f04f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Crypt-URandom-0.34.tar.gz
diff --git a/perl-Crypt-URandom.spec b/perl-Crypt-URandom.spec
new file mode 100644
index 0000000..df7c828
--- /dev/null
+++ b/perl-Crypt-URandom.spec
@@ -0,0 +1,55 @@
+Name:           perl-Crypt-URandom
+Version:        0.34
+Release:        1%{?dist}
+Summary:        Non-blocking randomness for Perl
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Crypt-URandom/
+Source0:        http://www.cpan.org/authors/id/D/DD/DDICK/Crypt-URandom-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(English)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(FileHandle)
+# Win32 not used
+# Win32::API not used
+# Win32::API::Type not used
+# Tests:
+BuildRequires:  perl(Test::More)
+# Optional tests:
+BuildRequires:  perl(Encode)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(FileHandle)
+
+%description
+This Module is intended to provide an interface to the strongest available
+source of non-blocking randomness on the current platform.
+
+%prep
+%setup -q -n Crypt-URandom-%{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
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Oct 10 2014 Petr Pisar <ppisar at redhat.com> 0.34-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e11e829 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d8f1bed6d188a1e1898a14c55db7617c  Crypt-URandom-0.34.tar.gz



More information about the perl-devel mailing list