%define upstream_name Math-Gradient %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: Calculate Gradients Between Multiple Numbers 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}.tgz BuildArch: noarch %description Math::Gradient is used to calculate smooth transitions between numerical values (also known as a "Gradient"). I wrote this module mainly to mix colours, but it probably has several other applications. Methods are supported to handle both basic and multiple-point gradients, both with scalars and arrays. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install %makeinstall_std %files %doc Changes README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.40.0-5.mga5 + Revision: 748904 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.40.0-4.mga5 + Revision: 685363 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.40.0-3.mga4 + Revision: 512874 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.40.0-2.mga3 + Revision: 369596 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.40.0-1.mga1 + Revision: 26539 - mageia rebuild - imported package perl-Math-Gradient