]> git.pld-linux.org Git - packages/php-pear-Math_Stats.git/blob - php-pear-Math_Stats.spec
44bc11e3c409326bcc8eda54e2d27eb067437f90
[packages/php-pear-Math_Stats.git] / php-pear-Math_Stats.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _status         beta
3 %define         _pearname       Math_Stats
4 Summary:        Math_Stats - Classes to calculate statistical parameters
5 Summary(pl.UTF-8):      Math_Stats - klasy do obliczania parametrów statystycznych
6 Name:           php-pear-%{_pearname}
7 Version:        0.9.1
8 Release:        1
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5:  afb06c6975bd1a53c97a8db4fd5d3546
13 URL:            http://pear.php.net/package/Math_Stats/
14 BuildRequires:  php-pear-PEAR
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Classes to calculate statistical parameters of numerical arrays of
23 data. The data can be in a simple numerical array, or in a cummulative
24 numerical array. A cummulative array, has the value as the index and
25 the number of repeats as the value for the array item, e.g. $data =
26 array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3). Nulls can be rejected, ignored
27 or handled as zero values.
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl.UTF-8
32 Ten pakiet zawiera klasy służące do obliczania parametrów
33 statystycznych z tablic danych. Dane mogą być w zwykłej tablicy
34 numerycznej lub w tablicy skumulowanej. Tablica skumulowana zawiera
35 indeksy i liczby wystąpień wartości dla elementu tablicy, np. $data =
36 array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3). Puste elementy mogą być
37 odrzucone, ignorowane lub taktowane jako wartości zerowe.
38
39 Ta klasa ma w PEAR status: %{_status}.
40
41
42 %prep
43 %pear_package_setup
44
45 mv docs/%{_pearname}/docs/examples .
46
47 mv .%{php_pear_dir}/contrib .
48 mv .%{php_pear_dir}/data/Math_Stats/contrib/ignatius_reilly/* contrib
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{php_pear_dir}
53 %pear_package_install
54
55 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log
64 %doc docs/%{_pearname}/docs/* contrib
65 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/Math/Stats.php
67
68 %{_examplesdir}/%{name}-%{version}
This page took 0.045819 seconds and 2 git commands to generate.