]> git.pld-linux.org Git - packages/perl-Statistics-TTest.git/blob - perl-Statistics-TTest.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Statistics-TTest.git] / perl-Statistics-TTest.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Statistics
6 %define pnam    TTest
7 Summary:        Statistics::TTest - Perl module to perform T-test on 2 independent samples
8 Summary(pl.UTF-8):      Statistics::TTest - moduł Perla do wykonywania testu T na dwóch niezależnych próbkach
9 Name:           perl-Statistics-TTest
10 Version:        1.1.0
11 Release:        2
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  605466db48e2b16063abd16550e7d345
16 URL:            http://search.cpan.org/dist/Statistics-TTest/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-Statistics-Descriptive >= 2.6
21 BuildRequires:  perl-Statistics-Distributions >= 0.7
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This is the Statistical T-Test module to compare 2 independent
28 samples. It takes 2 array of point measures, compute the confidence
29 intervals using the PointEstimation module (which is also included in
30 this package) and use the T-statistic to test the null hypothesis. If
31 the null hypothesis is rejected, the difference will be given as the
32 lower_clm and upper_clm of the TTest object. 
33
34 %description -l pl.UTF-8
35 To jest moduł statystyczny T-Test do porównywania dwóch niezależnych
36 próbek. Przyjmuje 2 tablice miar punktowych, oblicza przedziały
37 ufności przy użyciu modułu PointEstimation (załączonego w tym
38 pakiecie) i używa statystyki T do sprawdzenia hipotezy zerowej. Jeśli
39 hipoteza zerowa jest odrzucona, zostanie podana różnica jako lower_clm
40 i upper_clm obiektu TTest.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %{perl_vendorlib}/Statistics/*.pm
64 %{_mandir}/man3/*
This page took 0.06671 seconds and 4 git commands to generate.