[perl-Math-Random-ISAAC-XS/f14/master] Initial import.

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

 



commit 6d7d333c6c2c3c30182cae1650535085591788cf
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Tue Mar 22 18:14:13 2011 +0100

    Initial import.

 .gitignore                     |    1 +
 perl-Math-Random-ISAAC-XS.spec |   61 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f4959d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Random-ISAAC-XS-1.004.tar.gz
diff --git a/perl-Math-Random-ISAAC-XS.spec b/perl-Math-Random-ISAAC-XS.spec
new file mode 100644
index 0000000..abc807d
--- /dev/null
+++ b/perl-Math-Random-ISAAC-XS.spec
@@ -0,0 +1,61 @@
+Name:           perl-Math-Random-ISAAC-XS
+Version:        1.004
+Release:        2%{?dist}
+Summary:        C implementation of the ISAAC PRNG algorithm
+License:        MIT or GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-Random-ISAAC-XS/
+Source0:        http://www.cpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-XS-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl(ExtUtils::CBuilder)
+BuildRequires:  perl(ExtUtils::ParseXS)
+BuildRequires:  perl(Math::Random::ISAAC)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::LeakTrace)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::NoWarnings)
+Requires:       perl(Math::Random::ISAAC)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module implements the same interface as Math::Random::ISAAC in C and can
+be used as a drop-in replacement. This is the recommended implementation of the
+module, based on Bob Jenkins' reference implementation in C.
+
+%prep
+%setup -q -n Math-Random-ISAAC-XS-%{version}
+# rm -f weaver.ini dist.ini
+sed -i 's/\r//' examples/*.pl
+
+%build
+%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
+./Build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes examples LICENSE README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Math*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Mar 12 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.004-2
+- Convert end-of-line encodings of the examples
+- Add perl(Test::LeakTrace) as a BuildRequires
+
+* 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..39dc0a9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e38d5a1ab12ca251034f89ab5939f758  Math-Random-ISAAC-XS-1.004.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


[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