From fd535e8dce554bec3c389818c78db8c1f129d6598aaab687f9ea627a3e3b574c Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Wed, 4 Aug 2010 15:59:38 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + Math-Random-0.71.tar.bz2 | 3 ++ perl-Math-Random.changes | 6 +++ perl-Math-Random.spec | 86 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Math-Random-0.71.tar.bz2 create mode 100644 perl-Math-Random.changes create mode 100644 perl-Math-Random.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Math-Random-0.71.tar.bz2 b/Math-Random-0.71.tar.bz2 new file mode 100644 index 0000000..d7d4727 --- /dev/null +++ b/Math-Random-0.71.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c68b3d68d2d8b4346c54193cf59ce7f6e14482176b4286e7db8833ccbe131ef +size 43067 diff --git a/perl-Math-Random.changes b/perl-Math-Random.changes new file mode 100644 index 0000000..8738294 --- /dev/null +++ b/perl-Math-Random.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Aug 4 15:17:18 UTC 2010 - chris@computersalat.de + +- initial package 0.71 + * created by cpanspec 1.78 + diff --git a/perl-Math-Random.spec b/perl-Math-Random.spec new file mode 100644 index 0000000..d8cf10b --- /dev/null +++ b/perl-Math-Random.spec @@ -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 + randlib was compiled and written by + Barry W. Brown, James Lovato, Kathy Russell, and + John Venier + +%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