]> git.pld-linux.org Git - packages/perl-Math-GSL.git/blame - perl-Math-GSL.spec
- release 9 (by relup.sh)
[packages/perl-Math-GSL.git] / perl-Math-GSL.spec
CommitLineData
0f74ebfc 1#
2# Conditional build:
0eef5e47 3%bcond_without tests # do not perform "make test"
0f74ebfc 4#
5%include /usr/lib/rpm/macros.perl
cac32f3e 6%define pdir Math
7%define pnam GSL
0f74ebfc 8Summary: Math::GSL Perl module - resticted interface to GNU Scientific Library
caf6cc40 9Summary(pl.UTF-8): Moduł Perla Math::GSL - ograniczony interfejs do GNU Scientific Library
0f74ebfc 10Name: perl-Math-GSL
11Version: 0.01
b5a42ad4 12Release: 9
905a8f81 13# same as perl
14License: GPL v1+ or Artistic
0f74ebfc 15Group: Development/Languages/Perl
8fd85412 16Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
0f74ebfc 17# Source0-md5: abc4474bbbf5439b46a551284013cb35
8fd85412 18URL: http://search.cpan.org/dist/Math-GSL/
b3c27b44 19BuildRequires: gsl-devel
260b8a7c 20BuildRequires: perl-devel >= 1:5.8.0
0f74ebfc 21BuildRequires: rpm-perlprov >= 4.1-13
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Math::GSL Perl module is a very resticted perl interface to -lgsl -
26GNU Scientific Library. Only the routines relating the solving of
27polynomials are exported. It exists to provide that function to
28"tkscope" in Audio::Data.
29
c17612c0
JR
30%description -l pl.UTF-8
31Moduł Perla Math::GSL stanowi bardzo ograniczony interfejs do -lgsl -
0f74ebfc 32Biblioteki Naukowej GNU (GNU Scientific Library). Eksportuje jedynie
c17612c0
JR
33funkcje dotyczące rozwiązywania równań wielomianowych. Istnieje, aby
34udostępnić te funkcje "tkscope" w module Audio::Data.
0f74ebfc 35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
0f74ebfc 42%{__make} \
80fb6af3 43 CC="%{__cc}" \
0f74ebfc 44 OPTIMIZE="%{rpmcflags}"
45
0eef5e47 46%{?with_tests:%{__make} test}
0f74ebfc 47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc README
60%{perl_vendorarch}/Math/*
61%dir %{perl_vendorarch}/auto/Math/GSL
0f74ebfc 62%attr(755,root,root) %{perl_vendorarch}/auto/Math/GSL/*.so
This page took 0.090649 seconds and 4 git commands to generate.