%define upstream_name Math-Spline %define upstream_version 0.01 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Cubic Spline Interpolation of data License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Math/%{upstream_name}-%{upstream_version}.tar.bz2 Buildarch: noarch %description This package provides cubic spline interpolation of numeric data. The data is passed as references to two arrays containing the x and y ordinates. It may be used as an exporter of the numerical functions or, more easily as a class module. %prep %setup -q -n %{upstream_name}-%{upstream_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 README %{perl_vendorlib}/Math %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.10.0-2.mga3 + Revision: 369680 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 0.10.0-1.mga1 + Revision: 30816 - mageia rebuild - imported package perl-Math-Spline