[perl-Math-Random-ISAAC-XS] Initial import.

Emmanuel Seyman eseyman at fedoraproject.org
Tue Mar 22 16:43:49 UTC 2011


commit 94c50c7421c18dd5631f6086725495b021448495
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Tue Mar 22 17:42:23 2011 +0100

    Initial import.

 perl-Math-Random-ISAAC-XS.spec |   61 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 2 files changed, 62 insertions(+), 0 deletions(-)
---
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 at club-internet.fr> 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 at club-internet.fr> 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



More information about the perl-devel mailing list