%define module Statistics-Descriptive %define name perl-%{module} %define version 2.6 %define release 4mdk Name: %{name} Version: %{version} Release: %{release} Summary: Module of basic descriptive statistical functions License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/C/CO/COLINK/%{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-buildroot/ %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch %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 -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Statistics %{_mandir}/*/* %changelog * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.6-4mdk - fix buildrequires in a backward compatible way * Wed Aug 04 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.6-3mdk - rpmbuildupdate aware * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.6-2mdk - fixed dir ownership (distlint) * Mon Jan 05 2004 Guillaume Rousse <guillomovitch@mandrake.org> 2.6-1mdk - first mdk release