Accepting request 44543 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-Math-Random via accept of submit request 44543 revision 1. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/44543 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
Math-Random-0.71.tar.bz2
Normal file
3
Math-Random-0.71.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c68b3d68d2d8b4346c54193cf59ce7f6e14482176b4286e7db8833ccbe131ef
|
||||
size 43067
|
6
perl-Math-Random.changes
Normal file
6
perl-Math-Random.changes
Normal file
@@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 4 15:17:18 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- initial package 0.71
|
||||
* created by cpanspec 1.78
|
||||
|
86
perl-Math-Random.spec
Normal file
86
perl-Math-Random.spec
Normal file
@@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package perl-Math-Random (Version 0.71)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Math-Random
|
||||
%define cpan_name Math-Random
|
||||
%define cpan_path Math
|
||||
Summary: Random Number Generators
|
||||
Version: 0.71
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Math-Random/
|
||||
#Source: http://www.cpan.org/modules/by-module/Math/Math-Random-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
Math::Random is a Perl port of the C version of randlib, which is a suite
|
||||
of routines for generating random deviates. See "RANDLIB" for more
|
||||
information.
|
||||
Capabilities of wide interest include the generation of:
|
||||
uniform numbers between 0 and 1 (or user chosen boundaries)
|
||||
random integers between user specified bounds
|
||||
random permutations of a list (shuffle a deck of cards)
|
||||
|
||||
Authors:
|
||||
--------
|
||||
John Venier and Barry W. Brown with help from SWIG
|
||||
various cosmetic changes [0.61]
|
||||
Geoffrey Rommel <grommel [at] cpan [dot] org>
|
||||
randlib was compiled and written by
|
||||
Barry W. Brown, James Lovato, Kathy Russell, and
|
||||
John Venier <jvenier@mdanderson.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint
|
||||
# script-without-shebang
|
||||
%{__chmod} a-x Random.pm
|
||||
# spurious-executable-perm
|
||||
%{__chmod} a-x Changes README example.pl
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# cleanup
|
||||
%{__rm} $RPM_BUILD_ROOT%perl_vendorarch/%{cpan_path}/test*.pl
|
||||
%{__rm} $RPM_BUILD_ROOT%perl_vendorarch/%{cpan_path}/example.pl
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README example.pl
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user