]> git.pld-linux.org Git - packages/perl-Math-Spline.git/blame - perl-Math-Spline.spec
- converted to UTF-8
[packages/perl-Math-Spline.git] / perl-Math-Spline.spec
CommitLineData
31cb7a50 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
25a57aaa 5%include /usr/lib/rpm/macros.perl
a16b0092 6%define pdir Math
7%define pnam Spline
247199e5 8Summary: Math::Spline - Cubic Spline Interpolation of data
6305b370 9Summary(pl.UTF-8): Math::Spline - interpolacja danych splajnami kubicznymi
ee371995 10Name: perl-Math-Spline
11Version: 0.01
673acaab 12Release: 12
5042c9ba 13# same as perl
14License: GPL v1+ or Artistic
ee371995 15Group: Development/Languages/Perl
744e31f0 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
9265129e 17# Source0-md5: a9ebe29ba1794d1dca60aa0c44178197
30edbf7e 18Patch0: %{name}-man.patch
59a5fdb9 19BuildRequires: perl-devel >= 1:5.8.0
31cb7a50 20%if %{with tests}
9cdcfa5d 21BuildRequires: perl-Math-Derivative
2eea62ce 22%endif
db829b3a 23BuildRequires: rpm-perlprov >= 4.1-13
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.064213 seconds and 4 git commands to generate.