rpms/perl-Math-Derivative/FC-5 perl-Math-Derivative.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Tue Mar 27 06:01:08 UTC 2007


Author: alexlan

Update of /cvs/extras/rpms/perl-Math-Derivative/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12298/FC-5

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Math-Derivative.spec 
Log Message:
auto-import perl-Math-Derivative-0.01-2 on branch FC-5 from perl-Math-Derivative-0.01-2.src.rpm


--- NEW FILE perl-Math-Derivative.spec ---
Name:           perl-Math-Derivative
Version:        0.01
Release:        2%{?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
* Fri Mar 25 2007 Alex Lancaster <alexl at 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 at users.sourceforge.net> 0.01-1
- Specfile autogenerated by cpanspec 1.69.1.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-Derivative/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Mar 2007 05:08:28 -0000	1.1
+++ .cvsignore	27 Mar 2007 06:00:35 -0000	1.2
@@ -0,0 +1 @@
+Math-Derivative-0.01.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-Derivative/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Mar 2007 05:08:28 -0000	1.1
+++ sources	27 Mar 2007 06:00:35 -0000	1.2
@@ -0,0 +1 @@
+a359b1b4b545c03f4147594fc64420a2  Math-Derivative-0.01.tar.gz




More information about the fedora-extras-commits mailing list