]> git.pld-linux.org Git - packages/perl-Math-Integral-Romberg.git/blame - perl-Math-Integral-Romberg.spec
use generic url
[packages/perl-Math-Integral-Romberg.git] / perl-Math-Integral-Romberg.spec
CommitLineData
582d0320
JB
1#
2# Conditional build:
70116f50 3%bcond_without tests # do not perform "make test"
be7964ae 4
52cb1493 5%define pdir Math
6%define pnam Integral-Romberg
be7964ae 7%include /usr/lib/rpm/macros.perl
582d0320 8Summary: Math::Integral::Romberg - scalar numerical integration
396eabf7 9Summary(pl.UTF-8): Math::Integral::Romberg - całkowanie numeryczne
be7964ae 10%define _ver %(echo %{version} | tr . _)
582d0320
JB
11Name: perl-Math-Integral-Romberg
12Version: 0.02
3514c943 13Release: 3
105819ad 14# same as perl
15License: GPL v1+ or Artistic
582d0320 16Group: Development/Languages/Perl
92da7670 17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{_ver}.tar.gz
9f0f14ec 18# Source0-md5: 932ea744c11f34b5506a14637ef0421a
be7964ae 19URL: http://search.cpan.org/dist/Math-Integral-Romberg/
97191cef 20BuildRequires: perl-devel >= 1:5.8.0
cc92de51 21BuildRequires: rpm-perlprov >= 4.1-13
582d0320
JB
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Math::Integral::Romberg module numerically estimates the integral of
27function using Romberg integration, a faster relative of Simpson's
28method.
29
c71ca7a1
JR
30%description -l pl.UTF-8
31Moduł Math::Integral::Romberg numerycznie przybliża wartość całki
32funkcji przy użyciu całkowania Romberga, szybszego niż metoda
582d0320
JB
33Simpsona.
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
cc92de51 39%{__perl} Makefile.PL \
b5d4ec88 40 INSTALLDIRS=vendor
582d0320
JB
41%{__make}
42
70116f50 43%{?with_tests:%{__make} test}
582d0320
JB
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc README Release
cc92de51 57%dir %{perl_vendorlib}/Math/Integral
58%{perl_vendorlib}/Math/Integral/Romberg.pm
582d0320 59%{_mandir}/man3/*
This page took 0.061023 seconds and 4 git commands to generate.