-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding perl-Statistics-Descriptive for el9
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include unibuild/unibuild.make |
Binary file not shown.
65 changes: 65 additions & 0 deletions
65
perl-Statistics-Descriptive/unibuild-packaging/rpm/perl-Statistics-Descriptive.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters