]> git.pld-linux.org Git - packages/perl-Math-Spline.git/blame - perl-Math-Spline.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Math-Spline.git] / perl-Math-Spline.spec
CommitLineData
31cb7a50 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
c8029549 4
a16b0092 5%define pdir Math
6%define pnam Spline
247199e5 7Summary: Math::Spline - Cubic Spline Interpolation of data
6a547e74 8Summary(pl.UTF-8): Math::Spline - interpolacja danych splajnami kubicznymi
ee371995 9Name: perl-Math-Spline
10Version: 0.01
19a04d10 11Release: 13
5042c9ba 12# same as perl
13License: GPL v1+ or Artistic
ee371995 14Group: Development/Languages/Perl
744e31f0 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
9265129e 16# Source0-md5: a9ebe29ba1794d1dca60aa0c44178197
30edbf7e 17Patch0: %{name}-man.patch
c8029549 18URL: http://search.cpan.org/dist/Math-Spline/
59a5fdb9 19BuildRequires: perl-devel >= 1:5.8.0
c8029549 20BuildRequires: rpm-perlprov >= 4.1-13
31cb7a50 21%if %{with tests}
9cdcfa5d 22BuildRequires: perl-Math-Derivative
2eea62ce 23%endif
a1f08b89 24BuildArch: noarch
3941bd09 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ee371995 26
27%description
247199e5 28This package provides cubic spline interpolation of numeric data. The
29data is passed as references to two arrays containing the x and y
8ba3c6fc
JB
30ordinates. It may be used as an exporter of the numerical functions
31or, more easily as a class module.
32
6305b370
JR
33%description -l pl.UTF-8
34Ten pakiet udostępnia interpolację danych numerycznych przy pomocy
35splajnów kubicznych. Dane są przekazywane jako referencje do dwóch
36tablic zawierających współrzędne x i y. Moduł może być używany do
37eksportowania funkcji numerycznych albo, łatwiej, jako klasa.
ee371995 38
39%prep
25a57aaa 40%setup -q -n %{pdir}-%{pnam}-%{version}
724da64b 41%patch0 -p0
ee371995 42
43%build
db829b3a 44%{__perl} Makefile.PL \
bd6b7a3b 45 INSTALLDIRS=vendor
a84b9aff 46%{__make}
8ba3c6fc 47
31cb7a50 48%{?with_tests:%{__make} test}
ee371995 49
50%install
51rm -rf $RPM_BUILD_ROOT
ee371995 52
a5df5ef7 53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
ee371995 55
ee371995 56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
8ba3c6fc 61%doc README
db829b3a 62%{perl_vendorlib}/Math/Spline.pm
ee371995 63%{_mandir}/man3/*
This page took 0.073792 seconds and 4 git commands to generate.