]> git.pld-linux.org Git - packages/perl-Math-CDF.git/blob - perl-Math-CDF.spec
rebuild with perl 5.32
[packages/perl-Math-CDF.git] / perl-Math-CDF.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Math
6 %define         pnam    CDF
7 Summary:        Math::CDF - probabilities and quantiles for several statistical functions
8 Summary(pl.UTF-8):      Math::CDF - prawdopodobieństwa i kwantyle dla niektórych funkcji statystycznych
9 Name:           perl-Math-CDF
10 Version:        0.1
11 Release:        15
12 # non-commercial because of some parts of DCDFLIB
13 License:        non-commercial
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  7866c7b6b9d27f0ce4b7637334478ab7
17 Patch0:         %{name}-system-dcdflib.patch
18 URL:            http://search.cpan.org/dist/Math-CDF/
19 BuildRequires:  dcdflib.c-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 This module provides a Perl interface to the DCDFLIB. Functions are
26 available for 7 continuous distributions (Beta, Chi-square, F, Gamma,
27 Normal, Poisson and T-distribution) and for two discrete distributions
28 (Binomial and Negative Binomial). Optional non-centrality parameters
29 are available for the Chi-square, F and T-distributions. Cumulative
30 probabilities are available for all 9 distributions and quantile
31 functions are available for the 7 continuous distributions.
32
33 %description -l pl.UTF-8
34 Ten moduł udostępnia perlowy interfejs do biblioteki DCDFLIB. Dostępne
35 są funkcje dla 7 rozkładów ciągłych (Beta, Chi-kwadrat, F, Gamma,
36 normalnego, Poissona, t Studenta) oraz dwóch dyskretnych (dwumianowego
37 i odwrotnego dwumianowego). Dostępne są opcjonalne parametry
38 niecentralności dla rozkładów Chi-kwadrat, F i t Studenta. Funkcje
39 rozkładu prawdopodobieństwa są dostępne dla wszystkich 9 rozkładów, a
40 funkcje kwantyli dla 7 ciągłych rozkładów.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %patch0 -p1
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make} \
50         CC="%{__cc}" \
51         OPTIMIZE="%{rpmcflags}"
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes README
67 %{perl_vendorarch}/Math/CDF.pm
68 %dir %{perl_vendorarch}/auto/Math/CDF
69 %attr(755,root,root) %{perl_vendorarch}/auto/Math/CDF/CDF.so
70 %{perl_vendorarch}/auto/Math/CDF/autosplit.ix
71 %{_mandir}/man3/*
This page took 0.071167 seconds and 3 git commands to generate.