commit 5cfc6710786f2db3e9ae065fccd002dedb9f46a5 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Sun Feb 27 14:21:03 2011 +0100 Intial import. .gitignore | 1 + perl-Crypt-Random-Source.spec | 56 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ebff30b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Crypt-Random-Source-0.07.tar.gz diff --git a/perl-Crypt-Random-Source.spec b/perl-Crypt-Random-Source.spec new file mode 100644 index 0000000..678efd7 --- /dev/null +++ b/perl-Crypt-Random-Source.spec @@ -0,0 +1,56 @@ +Name: perl-Crypt-Random-Source +Version: 0.07 +Release: 1%{?dist} +Summary: Get weak or strong random data from pluggable sources +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-Random-Source/ +Source0: http://www.cpan.org/authors/id/N/NU/NUFFIN/Crypt-Random-Source-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Any::Moose) +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Module::Find) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(ok) +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides implementations for a number of byte oriented sources +of random data. + +%prep +%setup -q -n Crypt-Random-Source-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Feb 14 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.07-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ba36133 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +56251a6c909e21f5ae535b0e2af3897e Crypt-Random-Source-0.07.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