%define module Math-Stat %define name perl-%{module} %define version 0.1 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Perform Sample Statistics on Arrays License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Math/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This package provides sample statistics on arrays. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes %{perl_vendorlib}/Math %{perl_vendorlib}/auto/Math %{_mandir}/*/* %changelog * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.1-4mdv2008.0 + Revision: 86637 - rebuild * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.1-3mdv2007.0 - Rebuild * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.1-2mdk - Fix According to perl Policy - Source URL * Fri Oct 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.1-1mdk - first mdk release