Compare commits

...

10 Commits

Author SHA256 Message Date
d2fb2c3f33 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=15
2024-07-24 20:28:09 +00:00
f676ead74e Accepting request 346641 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/346641
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=14
2015-11-28 12:55:53 +00:00
Stephan Kulow
e14158bd72 Accepting request 296423 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296423
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=13
2015-04-15 09:15:27 +00:00
Stephan Kulow
4915fa30c9 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=12
2011-11-17 15:39:31 +00:00
Stephan Kulow
7fa50c9768 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=10 2011-11-11 11:19:52 +00:00
Stephan Kulow
9bf0e665bf always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=9
2010-12-03 14:42:23 +00:00
Stephan Kulow
adf7ec6e8c siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=8
2010-12-01 13:49:19 +00:00
Stephan Kulow
680135ba47 add changes files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=7
2010-11-29 18:05:16 +00:00
0425a6a1b9 updated
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=6
2010-09-30 07:09:43 +00:00
aa838f3471 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random-MT?expand=0&rev=5 2010-06-09 17:47:53 +00:00
6 changed files with 154 additions and 59 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19db52b0d67d319e29e7074e90e3288e6f053423c209e7e0cac38626e43c0294
size 7857

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a83c6b6194b1386b36ee6df2a838b9bff75b156064f0c9851f144e89f7e7afc
size 8856

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:069a1d98a619cba1f1ab91fbd6edceb642e84e7d162c4f0e2442139037b5b0da
size 11999

23
cpanspec.yml Normal file
View 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

View 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.

View File

@@ -1,67 +1,66 @@
# $Id: perl-Math-Random-MT-Auto.spec 5690 2007-08-05 21:57:34Z dag $
# Authority: dag
# Upstream: Jerry D, Hedden <jdhedden AT cpan DOT org>
#
# spec file for package perl-Math-Random-MT
#
# 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)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
%if 0%{?fedora_version} < 8
%debug_package
%endif
%endif
%define cpan_name Math-Random-MT
Name: perl-Math-Random-MT
Version: 1.170.0
Release: 0
# 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
The Mersenne Twister is a pseudorandom number generator developed by Makoto Matsumoto and
Takuji Nishimura. It is described in their paper at
http://www.math.keio.ac.jp/~nisimura/random/doc/mt.ps.
The Mersenne Twister is a pseudorandom number generator developed by Makoto
Matsumoto and Takuji Nishimura. It is described in their paper at
<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
%setup -n %{real_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%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/*
%files -f %{name}.files
%doc Changes README
%license LICENSE
%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.