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