Compare commits
10 Commits
792e6ba5e8
...
d2fb2c3f33
Author | SHA256 | Date | |
---|---|---|---|
d2fb2c3f33 | |||
f676ead74e | |||
|
e14158bd72 | ||
|
4915fa30c9 | ||
|
7fa50c9768 | ||
|
9bf0e665bf | ||
|
adf7ec6e8c | ||
|
680135ba47 | ||
0425a6a1b9 | |||
aa838f3471 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:19db52b0d67d319e29e7074e90e3288e6f053423c209e7e0cac38626e43c0294
|
|
||||||
size 7857
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7a83c6b6194b1386b36ee6df2a838b9bff75b156064f0c9851f144e89f7e7afc
|
|
||||||
size 8856
|
|
3
Math-Random-MT-1.17.tar.gz
Normal file
3
Math-Random-MT-1.17.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:069a1d98a619cba1f1ab91fbd6edceb642e84e7d162c4f0e2442139037b5b0da
|
||||||
|
size 11999
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
76
perl-Math-Random-MT.changes
Normal file
76
perl-Math-Random-MT.changes
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 28 09:51:13 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.17
|
||||||
|
see /usr/share/doc/packages/perl-Math-Random-MT/Changes
|
||||||
|
|
||||||
|
1.17 2015-11-27 Florent Angly <florent.angly@gmail.com>
|
||||||
|
|
||||||
|
* Bugfix: giving a seed value of 0 was ignored (reported by Maxim Tyukov)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 19:52:32 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.16
|
||||||
|
see /usr/share/doc/packages/perl-Math-Random-MT/Changes
|
||||||
|
|
||||||
|
1.16 2012-08-06 Florent Angly <florent.angly@gmail.com>
|
||||||
|
|
||||||
|
* Fixed issue introduced in version 1.15 where rand() took no notice of
|
||||||
|
argument and irand() did (bug #78200, reported by David Morel)
|
||||||
|
|
||||||
|
* Migration of test suite to Test::More and Test::Number::Delta
|
||||||
|
|
||||||
|
|
||||||
|
1.15 2012-06-04 Florent Angly <florent.angly@gmail.com>
|
||||||
|
|
||||||
|
* Implemented irand() to draw random integers (bug #73298, feature requested
|
||||||
|
by crew@cs.stanford.edu)
|
||||||
|
|
||||||
|
* Fixed build failure on Hurd (bug #74165, reported and patched by Salvatore
|
||||||
|
Bonaccorso)
|
||||||
|
|
||||||
|
|
||||||
|
1.14 2012-05-27 Florent Angly <florent.angly@gmail.com>
|
||||||
|
|
||||||
|
* Fixed compilation problems with nmake on Windows platforms
|
||||||
|
(Florent Angly, bug #74984)
|
||||||
|
|
||||||
|
* Fixed issues with random seed (bug #77343, solution suggested by
|
||||||
|
Laurent Dami, fix implemented by Florent Angly)
|
||||||
|
|
||||||
|
|
||||||
|
1.13 2012-01-20 Abhijit Menon-Sen <ams@toroid.org>
|
||||||
|
|
||||||
|
* New seed generation and retrieval mechanism by Florent Angly (bug
|
||||||
|
#64640 on rt.cpan.org).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 13:33:35 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 18:00:36 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- called spec2changelog
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 30 00:00:00 UTC 2010 - opensuse@dstoecker.de
|
||||||
|
|
||||||
|
- Updated to version 1.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 9 00:00:00 UTC 2010 - opensuse@dstoecker.de
|
||||||
|
|
||||||
|
- Updated to version 1.11
|
||||||
|
|
||||||
|
Sat May 30 00:00:00 UTC 2009 - Lars Vogdt
|
||||||
|
|
||||||
|
- Require correct perl version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 9 00:00:00 UTC 2007 - opensuse@dstoecker.de
|
||||||
|
|
||||||
|
- Initial package.
|
||||||
|
|
@@ -1,67 +1,66 @@
|
|||||||
# $Id: perl-Math-Random-MT-Auto.spec 5690 2007-08-05 21:57:34Z dag $
|
#
|
||||||
# Authority: dag
|
# spec file for package perl-Math-Random-MT
|
||||||
# Upstream: Jerry D, Hedden <jdhedden AT cpan DOT org>
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
|
#
|
||||||
|
|
||||||
Summary: The Mersenne Twister PRNGs
|
|
||||||
%define real_name Math-Random-MT
|
|
||||||
Name: perl-%{real_name}
|
|
||||||
Version: 1.11
|
|
||||||
Release: 1
|
|
||||||
License: Artistic/GPL
|
|
||||||
Group: Applications/CPAN
|
|
||||||
URL: http://search.cpan.org/dist/Math-Random-MT/
|
|
||||||
Source: Math-Random-MT-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
BuildRequires: perl, perl(ExtUtils::MakeMaker)
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
|
|
||||||
%if 0%{?mandriva_version} < 2007
|
%define cpan_name Math-Random-MT
|
||||||
%if 0%{?fedora_version} < 8
|
Name: perl-Math-Random-MT
|
||||||
%debug_package
|
Version: 1.170.0
|
||||||
%endif
|
Release: 0
|
||||||
%endif
|
# 1.17 -> normalize -> 1.170.0
|
||||||
|
%define cpan_version 1.17
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Summary: The Mersenne Twister PRNG
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/F/FA/FANGLY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Test::Number::Delta)
|
||||||
|
Requires: perl(Test::Number::Delta)
|
||||||
|
Provides: perl(Math::Random::MT) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Mersenne Twister is a pseudorandom number generator developed by Makoto Matsumoto and
|
The Mersenne Twister is a pseudorandom number generator developed by Makoto
|
||||||
Takuji Nishimura. It is described in their paper at
|
Matsumoto and Takuji Nishimura. It is described in their paper at
|
||||||
http://www.math.keio.ac.jp/~nisimura/random/doc/mt.ps.
|
<URL:http://www.math.keio.ac.jp/~nisimura/random/doc/mt.ps>. This algorithm
|
||||||
|
has a very uniform distribution and is good for modelling purposes but do
|
||||||
|
not use it for cryptography.
|
||||||
|
|
||||||
|
This module implements two interfaces:
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{real_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf %{buildroot}
|
%perl_make_install
|
||||||
%{__make} pure_install
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
### Clean up buildroot
|
%files -f %{name}.files
|
||||||
find %{buildroot} -name .packlist -exec %{__rm} {} \;
|
%doc Changes README
|
||||||
|
%license LICENSE
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%doc Changes MANIFEST META.yml README
|
|
||||||
%doc %{_mandir}/man3/Math::Random::MT.3pm*
|
|
||||||
%dir %{perl_vendorarch}/Math/
|
|
||||||
%dir %{perl_vendorarch}/Math/Random/
|
|
||||||
%{perl_vendorarch}/Math/Random/MT.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Math/
|
|
||||||
%dir %{perl_vendorarch}/auto/Math/Random/
|
|
||||||
%dir %{perl_vendorarch}/auto/Math/Random/MT
|
|
||||||
%{perl_vendorarch}/auto/Math/Random/MT/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 9 2010 Dirk Stöcker <opensuse@dstoecker.de> 1.11
|
|
||||||
- Updated to version 1.11
|
|
||||||
* Sun May 30 2009 - Lars Vogdt
|
|
||||||
- Require correct perl version
|
|
||||||
* Sun Dec 9 2007 Dirk Stöcker <opensuse@dstoecker.de> 1.07
|
|
||||||
- Initial package.
|
|
||||||
|
Reference in New Issue
Block a user