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.
54 lines
1.4 KiB
54 lines
1.4 KiB
7 years ago
|
Name: perl-UUID-URandom
|
||
|
Version: 0.001
|
||
|
Release: 1%{?dist}
|
||
|
Summary: UUIDs based on /dev/urandom
|
||
|
License: ASL 2.0
|
||
|
URL: https://metacpan.org/release/UUID-URandom
|
||
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/UUID-URandom-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl(:VERSION) >= 5.8
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(warnings)
|
||
|
# Run-time:
|
||
|
BuildRequires: perl(Crypt::URandom) >= 0.36
|
||
|
BuildRequires: perl(Exporter) >= 5.57
|
||
|
# Tests:
|
||
|
BuildRequires: perl(File::Spec)
|
||
|
BuildRequires: perl(Test::More) >= 0.96
|
||
|
# Optional tests:
|
||
|
# CPAN::Meta not helpful
|
||
|
# CPAN::Meta::Prereqs not helpful
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
This Perl module provides a portable, secure generator of RFC-4122 version 4
|
||
|
random UUIDs.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n UUID-URandom-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%license LICENSE
|
||
|
%doc Changes CONTRIBUTING.mkdn README
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jun 27 2018 Petr Pisar <ppisar@redhat.com> 0.001-1
|
||
|
- Specfile autogenerated by cpanspec 1.78.
|