Name: perl-Math-Derivative Version: 0.01 Release: 7%{?dist} Summary: Numeric 1st and 2nd order differentiation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Math-Derivative/ Source0: http://www.cpan.org/modules/by-module/Math/Math-Derivative-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This Perl package exports functions for performing numerical first (Derivative1) and second Derivative2) order differentiation on vectors of data. They both take references to two arrays containing the x and y ordinates of the data and return an array of the 1st or 2nd derivative at the given x ordinates. Derivative2 may optionally be given values to use for the first dervivative at the start and end points of the data - otherwise 'natural' values are used. %prep %setup -q -n Math-Derivative-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README Release %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-7 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 08 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.01-4 - rebuild for new perl * Tue Sep 04 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.01-3 - Clarified license terms: GPL+ or Artistic * Fri Mar 25 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.01-2 - Add perl(ExtUtils::MakeMaker) BR as suggested by Chris Weyl in review. * Fri Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.01-1 - Specfile autogenerated by cpanspec 1.69.1.