You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
Name: perl-Crypt-URandom
|
|
Version: 0.36
|
|
Release: 3%{?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: findutils
|
|
BuildRequires: make
|
|
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
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.36-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Thu Jun 11 2015 Petr Pisar <ppisar@redhat.com> - 0.36-1
|
|
- 0.36 bump
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Fri Oct 10 2014 Petr Pisar <ppisar@redhat.com> 0.34-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|