perl-Statistics-Descriptive/perl-Statistics-Descriptive.spec

70 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Statistics-Descriptive
Version: 3.0801
Release: 1mamba
Summary: A stastistics module for Perl
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-List-MoreUtils
BuildRequires: perl-Scalar-List-Utils
BuildRequires: perl-devel
## 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
* Sun Jul 02 2023 Automatic Build System <autodist@mambasoft.it> 3.0801-1mamba
- automatic version update by autodist
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0800-1mamba
- automatic version update by autodist
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 2.6-5mamba
- automatic rebuild by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-4mamba
- automatic rebuild by autodist
* Thu Jun 12 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.6-3mamba
- Update Vendor, Distribution, Packager mail address
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-2qilnx
- perl version check fix
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1qilnx
- First build