3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Math::GSL Perl module - resticted interface to GNU Scientific Library
9 Summary(pl.UTF-8): Moduł Perla Math::GSL - ograniczony interfejs do GNU Scientific Library
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: abc4474bbbf5439b46a551284013cb35
18 URL: http://search.cpan.org/dist/Math-GSL/
19 BuildRequires: gsl-devel
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Math::GSL Perl module is a very resticted perl interface to -lgsl -
26 GNU Scientific Library. Only the routines relating the solving of
27 polynomials are exported. It exists to provide that function to
28 "tkscope" in Audio::Data.
30 %description -l pl.UTF-8
31 Moduł Perla Math::GSL stanowi bardzo ograniczony interfejs do -lgsl -
32 Biblioteki Naukowej GNU (GNU Scientific Library). Eksportuje jedynie
33 funkcje dotyczące rozwiązywania równań wielomianowych. Istnieje, aby
34 udostępnić te funkcje "tkscope" w module Audio::Data.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 OPTIMIZE="%{rpmcflags}"
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorarch}/Math/*
61 %dir %{perl_vendorarch}/auto/Math/GSL
62 %attr(755,root,root) %{perl_vendorarch}/auto/Math/GSL/*.so