%global pkg_name Bytes-Random-Secure %global pkg_version 0.27 %global rpm_pkg_version 0.27 %global rpm_pkg_release 1.n0i.1 Summary: Perl extension to generate cryptographically-secure random bytes Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DA/DAVIDO/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Crypt::Random::Seed) BuildRequires: perl(Math::Random::ISAAC) BuildRequires: perl(MIME::Base64) BuildRequires: perl(MIME::QuotedPrint) => 3.03 BuildRequires: perl(Scalar::Util) => 1.21 %description Bytes::Random::Secure provides interfaces for obtaining crypto-quality random bytes. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc examples Changes README %{perl_files} %changelog * Wed Oct 23 2013 Marius FERARU - 0.27-1.n0i.1 - version 0.27