Skip to content

Commit

Permalink
adding perl-Statistics-Descriptive for el9
Browse files Browse the repository at this point in the history
  • Loading branch information
arlake228 committed Jun 12, 2023
1 parent 363728c commit b870d8a
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions perl-Statistics-Descriptive/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include unibuild/unibuild.make
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
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: Statistics-Descriptive-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.006
BuildRequires: perl-generators
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(List::Util)
BuildRequires: perl(Module::Build)
BuildRequires: perl(parent)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Carp)
Requires: perl(List::MoreUtils)
Requires: perl(List::Util)
Requires: perl(parent)
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
* Mon Jun 12 2023 Andy Lake 3.0800-1
- Specfile autogenerated by cpanspec 1.78.
1 change: 1 addition & 0 deletions unibuild-order
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ifelse(FAMILY/eval(MAJOR > 7),RedHat/1,perl-Mo)
ifelse(FAMILY/eval(MAJOR > 7),RedHat/1,perl-CGI-Session)
ifelse(FAMILY/eval(MAJOR > 7),RedHat/1,perl-RPC-XML)
ifelse(FAMILY/eval(MAJOR > 7),RedHat/1,perl-Net-NTP)
ifelse(FAMILY/eval(MAJOR > 8),RedHat/1,perl-Statistics-Descriptive)

# Packages found in PowerTools repo. Left just in case needed later.
#ifelse(FAMILY/eval(MAJOR > 7),RedHat/1,perl-Module-Implementation)
Expand Down

0 comments on commit b870d8a

Please sign in to comment.