]> git.pld-linux.org Git - SPECS.git/blob - perl-Math-Gsl.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Math-Gsl.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Math
6 %define         pnam    Gsl
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
9 Name:           perl-Math-Gsl
10 Version:        0.08
11 Release:        10
12 License:        GPL
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)
21
22 %description
23 Math::Gsl - Perl Interface to The GNU Scientific Library. Currently
24 this module only implements the GSL Special function library.
25
26 %description -l pl.UTF-8
27 Math::Gsl - perlowy interfejs do GNU Scientific Library (biblioteki
28 naukowej GNU). Aktualnie zaimplementowana jest tylko biblioteka
29 funkcji specjalnych.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
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
61 %{_mandir}/man3/*
This page took 0.098982 seconds and 3 git commands to generate.