%define PERL_VERSION %(eval `perl -V:version`; echo $version) Name: perl-Statistics-Descriptive Version: 3.0800 Release: 1mamba Summary: A stastistics module for Perl Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel >= %PERL_VERSION ## AUTOBUILDREQ-END Requires: perl >= %PERL_VERSION %description A stastistics module for Perl %prep %setup -q -n Statistics-Descriptive-%{version} %build echo "y" | perl Makefile.PL %make make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl %define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch) cat %{buildroot}%PERL_SITEARCH/auto/Statistics/Descriptive/.packlist | \ sed "s@%{buildroot}@@g;s@.*/man/.*@&.gz@g" | \ sort -u > .packlist rm -f %{buildroot}%PERL_SITEARCH/auto/Statistics/Descriptive/.packlist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Wed Feb 24 2021 Automatic Build System 3.0800-1mamba - automatic version update by autodist * Fri Aug 30 2013 Automatic Build System 2.6-5mamba - automatic rebuild by autodist * Wed Nov 05 2008 Silvan Calarco 2.6-4mamba - automatic rebuild by autodist * Thu Jun 12 2008 Tiziana Ferro 2.6-3mamba - Update Vendor, Distribution, Packager mail address * Tue Feb 01 2005 Silvan Calarco 2.6-2qilnx - perl version check fix * Fri Apr 30 2004 Silvan Calarco 2.6-1qilnx - First build