From 6e6e30e31d8152bdcfbdefeaa69e2dc27933b779 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 22 Jul 2022 20:15:40 +0200 Subject: [PATCH] Initial commit --- .gitattributes | 1 + Statistics-Descriptive-3.0800.tar.gz | 3 ++ perl-Statistics-Descriptive.spec | 76 ++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 .gitattributes create mode 100644 Statistics-Descriptive-3.0800.tar.gz create mode 100644 perl-Statistics-Descriptive.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/Statistics-Descriptive-3.0800.tar.gz b/Statistics-Descriptive-3.0800.tar.gz new file mode 100644 index 0000000..4dde1a7 --- /dev/null +++ b/Statistics-Descriptive-3.0800.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b04edeea26bfed435aa6029956798c281f7f52d4545f3f45b2ad44954e96f939 +size 53611 diff --git a/perl-Statistics-Descriptive.spec b/perl-Statistics-Descriptive.spec new file mode 100644 index 0000000..3f62705 --- /dev/null +++ b/perl-Statistics-Descriptive.spec @@ -0,0 +1,76 @@ +Name: perl-Statistics-Descriptive +Version: 3.0800 +Release: 1%{?dist} +Summary: Module of basic descriptive statistical functions +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Statistics-Descriptive/ +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Statistics-Descriptive-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Benchmark) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Build) +BuildRequires: perl(parent) +BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(Carp) +Requires: perl(List::MoreUtils) +Requires: perl(List::Util) +Requires: perl(parent) +Requires: perl(POSIX) +Requires: perl(strict) +Requires: perl(vars) +Requires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides basic functions used in descriptive statistics. It has +an object oriented design and supports two different types of data storage +and calculation objects: sparse and full. With the sparse method, none of +the data is stored and only a few statistical measures are available. Using +the full method, the entire data set is retained and additional functions +are available. + +%prep +%setup -q -n Statistics-Descriptive-%{version} + +%build +%{__perl} Build.PL --installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini examples LICENSE META.json README scripts UserSurvey.txt weaver.ini +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 22 2022 Daniel Berteaud 3.0800-1 +- Specfile autogenerated by cpanspec 1.78.