]> git.pld-linux.org Git - packages/perl-Math-GSL.git/blob - perl-Math-GSL.spec
77c0515478630ddba77500707c00429edaa07065
[packages/perl-Math-GSL.git] / perl-Math-GSL.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Math
7 %define         pnam    GSL
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
10 Name:           perl-Math-GSL
11 Version:        0.01
12 Release:        8
13 # same as perl
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)
23
24 %description
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.
29
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make} \
43         CC="%{__cc}" \
44         OPTIMIZE="%{rpmcflags}"
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -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
62 %attr(755,root,root) %{perl_vendorarch}/auto/Math/GSL/*.so
This page took 0.060543 seconds and 2 git commands to generate.