]>
Commit | Line | Data |
---|---|---|
9c4651f2 | 1 | # |
2 | # Conditional build: | |
bf4f8e0c | 3 | %bcond_without tests # do not perform "make test" |
8d106aa0 | 4 | |
6306afae | 5 | %define pdir Statistics |
6 | %define pnam Descriptive | |
ba3ffd05 | 7 | Summary: Statistics::Descriptive Perl module |
09b85005 ER |
8 | Summary(cs.UTF-8): Modul Statistics::Descriptive pro Perl |
9 | Summary(da.UTF-8): Perlmodul Statistics::Descriptive | |
10 | Summary(de.UTF-8): Statistics::Descriptive Perl Modul | |
11 | Summary(es.UTF-8): Módulo de Perl Statistics::Descriptive | |
12 | Summary(fr.UTF-8): Module Perl Statistics::Descriptive | |
13 | Summary(it.UTF-8): Modulo di Perl Statistics::Descriptive | |
14 | Summary(ja.UTF-8): Statistics::Descriptive Perl モジュール | |
15 | Summary(ko.UTF-8): Statistics::Descriptive 펄 모줄 | |
16 | Summary(nb.UTF-8): Perlmodul Statistics::Descriptive | |
17 | Summary(pl.UTF-8): Moduł perla Statistics::Descriptive | |
18 | Summary(pt_BR.UTF-8): Módulo Perl Statistics::Descriptive | |
19 | Summary(pt.UTF-8): Módulo de Perl Statistics::Descriptive | |
20 | Summary(ru.UTF-8): Модуль для Perl Statistics::Descriptive | |
21 | Summary(sv.UTF-8): Statistics::Descriptive Perlmodul | |
22 | Summary(uk.UTF-8): Модуль для Perl Statistics::Descriptive | |
23 | Summary(zh_CN.UTF-8): Statistics::Descriptive Perl 模块 | |
a6df1f39 | 24 | Name: perl-Statistics-Descriptive |
8ad2140c | 25 | Version: 3.0203 |
4e05bf19 | 26 | Release: 1 |
bdf51b63 | 27 | # same as perl |
28 | License: GPL v1+ or Artistic | |
a6df1f39 | 29 | Group: Development/Languages/Perl |
cc5b6c08 | 30 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
8ad2140c | 31 | # Source0-md5: 2595c7c2e32eb33b6e730455a0313516 |
0be6221e | 32 | Patch0: %{name}-fix.patch |
8d106aa0 | 33 | URL: http://search.cpan.org/dist/Statistics-Descriptive/ |
d4a12687 | 34 | BuildRequires: perl-devel >= 1:5.8.0 |
cd88b509 | 35 | BuildRequires: rpm-perlprov >= 4.1-13 |
c8ea93f0 | 36 | BuildArch: noarch |
bf3d34e6 | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a6df1f39 | 38 | |
39 | %description | |
d60635f8 | 40 | Statistics::Descriptive module provides basic functions used in |
99d8be9b | 41 | descriptive statistics. |
a6df1f39 | 42 | |
2009b87c JR |
43 | %description -l pl.UTF-8 |
44 | Statistics::Descriptive udostępnia podstawowe funkcje stosowane w | |
99d8be9b | 45 | statystyce opisowej. |
a6df1f39 | 46 | |
47 | %prep | |
1b6f21af | 48 | %setup -q -n %{pdir}-%{pnam}-%{version} |
c3c4a531 | 49 | %patch0 -p0 |
a6df1f39 | 50 | |
51 | %build | |
cd88b509 | 52 | %{__perl} Makefile.PL \ |
53ce1e2d | 53 | INSTALLDIRS=vendor |
f5e93265 | 54 | %{__make} |
bf4f8e0c | 55 | |
56 | %{?with_tests:%{__make} test} | |
a6df1f39 | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
a6df1f39 | 60 | |
bf4f8e0c | 61 | %{__make} install \ |
62 | DESTDIR=$RPM_BUILD_ROOT | |
a6df1f39 | 63 | |
a6df1f39 | 64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
40685ff2 | 69 | %doc Changes README |
cd88b509 | 70 | %{perl_vendorlib}/Statistics/Descriptive.pm |
a6df1f39 | 71 | %{_mandir}/man3/* |