%global pkg_name Crypt-Random-Seed %global pkg_version 0.03 %global rpm_pkg_version 0.03 %global rpm_pkg_release 1.n0i.1 Summary: Perl extension providing strong randomness for seeding 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/DANAJ/%{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::TESHA2) %description Crypt::Random::Seed provides a simple interface to get the strongest source of randomness on the current platform, typically for use in seeding a CSPRNG such as Math::Random::ISAAC. It can also be restricted to non-blocking sources, and has a very simple plug-in method. %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.03-1.n0i.1 - version 0.03