ddick pushed to perl-Math-Random-ISAAC (el6). "Initial import."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 9a58c73443effa61cd2dce7dd07ba8c9ce41f5f3 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date: Fri, 25 Feb 2011 15:54:35 +0100
Subject: Initial import.


diff --git a/.gitignore b/.gitignore
index e69de29..4c8619b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Random-ISAAC-1.004.tar.gz
diff --git a/perl-Math-Random-ISAAC.spec b/perl-Math-Random-ISAAC.spec
new file mode 100644
index 0000000..a36a4ad
--- /dev/null
+++ b/perl-Math-Random-ISAAC.spec
@@ -0,0 +1,53 @@
+Name:           perl-Math-Random-ISAAC
+Version:        1.004
+Release:        1%{?dist}
+Summary:        Perl interface to the ISAAC PRNG algorithm
+License:        MIT or GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-Random-ISAAC/
+Source0:        http://www.cpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::LeakTrace)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoWarnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+As with other Pseudo-Random Number Generator (PRNG) algorithms like the
+Mersenne Twister (see Math::Random::MT), this algorithm is designed to take
+some seed information and produce seemingly random results as output.
+
+%prep
+%setup -q -n Math-Random-ISAAC-%{version}
+sed -i 's/\r//' examples/*.pl
+
+
+%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 examples LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Feb 19 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.004-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..9ac0ac4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+46110b9a7bb96fe641bdfaf35bdafec5  Math-Random-ISAAC-1.004.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Math-Random-ISAAC.git/commit/?h=el6&id=9a58c73443effa61cd2dce7dd07ba8c9ce41f5f3
--
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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux