-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
perl-Statistics-TTest.spec
44 lines (35 loc) · 1.2 KB
/
perl-Statistics-TTest.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%define modname Statistics-TTest
%define modver 1.1.0
Summary: Perl module to perform T-test on 2 independent samples
Name: perl-%{modname}
Version: %perl_convert_version %{modver}
Release: 24
License: GPLv2+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{modname}
Source0: http://www.cpan.org/modules/by-module/Statistics/%{modname}-%{modver}.tar.bz2
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: perl(Statistics::Descriptive) >= 2.60.0
BuildRequires: perl(Statistics::Distributions) >= 0.70.0
%description
This is the Statistical T-Test module to compare 2 independent
samples. It takes 2 array of point measures, compute the confidence
intervals using the PointEstimation module (which is also included in
this package) and use the T-statistic to test the null hypothesis. If
the null hypothesis is rejected, the difference will be given as the
lower_clm and upper_clm of the TTest object.
%prep
%setup -qn %{modname}-%{modver}
# perl path hack
find -type f | xargs perl -pi -e "s|/usr/local/bin/perl|%{_bindir}/perl|g"
%build
perl Makefile.PL INSTALLDIRS=vendor
%make
%check
%make test
%install
%makeinstall_std
%files
%{perl_vendorlib}/Statistics/*.pm
%{_mandir}/man3/*