]> git.pld-linux.org Git - SPECS.git/blob - perl-Statistics-OLS.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / perl-Statistics-OLS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Statistics
6 %define         pnam    OLS
7 Summary:        Statistics::OLS - perform ordinary least squares and associated statistics
8 Summary(pl.UTF-8):      Statistics::OLS - metoda najmniejszych kwadratów i inne związane z nią statystyki
9 Name:           perl-Statistics-OLS
10 Version:        0.07
11 Release:        11
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  7bd135125aecdbf523c00714e381eeaa
17 URL:            http://search.cpan.org/dist/Statistics-OLS/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 I wrote Statistics::OLS to perform Ordinary Least Squares (linear
25 curve fitting) on two dimensional data: y = a + bx. The other simple
26 statistical module I found on CPAN (Statistics::Descriptive) is
27 designed for univariate analysis. It accommodates OLS, but somewhat
28 inflexibly and without rich bivariate statistics. Nevertheless, it
29 might make sense to fold OLS into that module or a supermodule
30 someday.
31
32 %description -l pl.UTF-8
33 Moduł Statistics::OLS został napisany, aby przeprowadzać liniowe
34 dopasowanie zwykłą metodą najmniejszych kwadratów na dwuwymiarowych
35 danych (y = a + bx). Inny prosty moduł, Statistics::Descriptive, służy
36 do analizy jednej zmiennej. Używa on zwykłej metody najmniejszych
37 kwadratów, ale jest mało elastyczny i pozbawiony bogatej analizy dwóch
38 zmiennych.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Changes README
62 %{perl_vendorlib}/Statistics/OLS.pm
63 %{_mandir}/man3/*
This page took 0.708849 seconds and 3 git commands to generate.