3 %bcond_without tests # do not perform "make test"
7 Summary: Math::Gsl Perl module - interface to the GNU Scientific Library
8 Summary(pl.UTF-8): ModuĊ Perla Math::Gsl - interfejs do GNU Scientific Library
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: c0aee53dca804e28fb9aec5d8a5ff812
16 URL: http://search.cpan.org/dist/Math-Gsl/
17 BuildRequires: gsl-devel >= 0.94
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Math::Gsl - Perl Interface to The GNU Scientific Library. Currently
24 this module only implements the GSL Special function library.
26 %description -l pl.UTF-8
27 Math::Gsl - perlowy interfejs do GNU Scientific Library (biblioteki
28 naukowej GNU). Aktualnie zaimplementowana jest tylko biblioteka
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc Changes README THANKS
55 %{perl_vendorarch}/Math/Gsl.pm
56 %{perl_vendorarch}/Math/Gsl
57 %dir %{perl_vendorarch}/auto/Math/Gsl
58 %attr(755,root,root) %{perl_vendorarch}/auto/Math/Gsl/Gsl.so
59 %dir %{perl_vendorarch}/auto/Math/Gsl/Sf
60 %attr(755,root,root) %{perl_vendorarch}/auto/Math/Gsl/Sf/Sf.so