From 679d8a709e2fbeef2dc630d744b2e24b00c96ef5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:37:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0000-1mamba;Sat Oct 23 2021] --- README.md | 2 ++ perl-Statistics-ChiSquare.spec | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 perl-Statistics-ChiSquare.spec diff --git a/README.md b/README.md index a30b3b0..13397ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Statistics-ChiSquare +Statistics::ChiSquare - How well-distributed is your data? + diff --git a/perl-Statistics-ChiSquare.spec b/perl-Statistics-ChiSquare.spec new file mode 100644 index 0000000..301be0c --- /dev/null +++ b/perl-Statistics-ChiSquare.spec @@ -0,0 +1,53 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Statistics-ChiSquare +Version: 1.0000 +Release: 1mamba +Summary: Statistics::ChiSquare - How well-distributed is your data? +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.cpan.org +Source: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Statistics-ChiSquare-%{version}.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver + +%description +Statistics::ChiSquare - How well-distributed is your data? + +%prep +%setup -q -n Statistics-ChiSquare-%{version} + +%build +%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" + +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Oct 23 2021 Silvan Calarco 1.0000-1mamba +- package created using the webbuild interface