commit 391f7012d6bd3a2422ec48a1f8a128097973c3d4 Author: David Dick <ddick@xxxxxxxx> Date: Thu Feb 12 18:09:12 2015 +1100 Initial import (#1183258). .gitignore | 1 + perl-Bytes-Random-Secure.spec | 64 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ce05680 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Bytes-Random-Secure-0.28.tar.gz diff --git a/perl-Bytes-Random-Secure.spec b/perl-Bytes-Random-Secure.spec new file mode 100644 index 0000000..363f004 --- /dev/null +++ b/perl-Bytes-Random-Secure.spec @@ -0,0 +1,64 @@ +Name: perl-Bytes-Random-Secure +Version: 0.28 +Release: 1%{?dist} +Summary: Perl extension to generate cryptographically-secure random bytes +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Bytes-Random-Secure/ +Source0: http://www.cpan.org/modules/by-module/Bytes/Bytes-Random-Secure-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Crypt::Random::Seed) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(English) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Math::Random::ISAAC) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(MIME::QuotedPrint) >= 3.03 +BuildRequires: perl(Scalar::Util) >= 1.21 +BuildRequires: perl(Statistics::Basic) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(Test::Warn) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(warnings) +Requires: perl(Scalar::Util) >= 1.21 +Requires: perl(MIME::QuotedPrint) >= 3.03 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Scalar::Util\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(MIME::QuotedPrint\\)$ +%description +Bytes::Random::Secure provides two interfaces for obtaining crypto-quality +random bytes. The simple interface is built around plain functions. For +greater control over the Random Number Generator's seeding, there is an +Object Oriented interface that provides much more flexibility. + +%prep +%setup -q -n Bytes-Random-Secure-%{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 examples +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Jan 18 2015 David Dick <ddick@xxxxxxxx> - 0.28-1 +- Initial release diff --git a/sources b/sources index e69de29..9faa615 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d3274a8edbfcc41fd1ab6574932dfc22 Bytes-Random-Secure-0.28.tar.gz -- 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