]> git.pld-linux.org Git - packages/perl-Math-Spline.git/blame - perl-Math-Spline.spec
- release up
[packages/perl-Math-Spline.git] / perl-Math-Spline.spec
CommitLineData
25a57aaa 1%include /usr/lib/rpm/macros.perl
9a7a18b4 2%define pdir Math
3%define pnam Spline
247199e5 4Summary: Math::Spline - Cubic Spline Interpolation of data
ee371995 5Name: perl-Math-Spline
6Version: 0.01
4d68ba20 7Release: 9
8b3aef57 8License: GPL
ee371995 9Group: Development/Languages/Perl
1ef620ba 10Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
30edbf7e 11Patch0: %{name}-man.patch
9cdcfa5d 12BuildRequires: rpm-perlprov >= 3.0.3-16
69b570d6 13BuildRequires: perl >= 5.6
2eea62ce 14%if %{?_without_tests:0}%{!?_without_tests:1}
9cdcfa5d 15BuildRequires: perl-Math-Derivative
2eea62ce 16%endif
a1f08b89 17BuildArch: noarch
3941bd09 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ee371995 19
20%description
247199e5 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.
ee371995 25
26%prep
25a57aaa 27%setup -q -n %{pdir}-%{pnam}-%{version}
ee371995 28%patch -p0
29
30%build
31perl Makefile.PL
a84b9aff 32%{__make}
2eea62ce 33%{!?_without_tests:%{__make} test}
ee371995 34
35%install
36rm -rf $RPM_BUILD_ROOT
ee371995 37
30edbf7e 38%{__make} install DESTDIR=$RPM_BUILD_ROOT
ee371995 39
69b570d6 40gzip -9nf README
ee371995 41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
30edbf7e 47%doc *.gz
ee371995 48%{perl_sitelib}/Math/Spline.pm
ee371995 49%{_mandir}/man3/*
This page took 0.130339 seconds and 4 git commands to generate.