]> git.pld-linux.org Git - packages/perl-Math-Spline.git/blame_incremental - perl-Math-Spline.spec
- release up
[packages/perl-Math-Spline.git] / perl-Math-Spline.spec
... / ...
CommitLineData
1%include /usr/lib/rpm/macros.perl
2%define pdir Math
3%define pnam Spline
4Summary: Math::Spline - Cubic Spline Interpolation of data
5Name: perl-Math-Spline
6Version: 0.01
7Release: 9
8License: GPL
9Group: Development/Languages/Perl
10Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11Patch0: %{name}-man.patch
12BuildRequires: rpm-perlprov >= 3.0.3-16
13BuildRequires: perl >= 5.6
14%if %{?_without_tests:0}%{!?_without_tests:1}
15BuildRequires: perl-Math-Derivative
16%endif
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This package provides cubic spline interpolation of numeric data. The
22data is passed as references to two arrays containing the x and y
23ordinates. It may be used as an exporter of the numerical functions or,
24more easily as a class module.
25
26%prep
27%setup -q -n %{pdir}-%{pnam}-%{version}
28%patch -p0
29
30%build
31perl Makefile.PL
32%{__make}
33%{!?_without_tests:%{__make} test}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38%{__make} install DESTDIR=$RPM_BUILD_ROOT
39
40gzip -9nf README
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc *.gz
48%{perl_sitelib}/Math/Spline.pm
49%{_mandir}/man3/*
This page took 0.061134 seconds and 4 git commands to generate.