]> git.pld-linux.org Git - packages/perl-Statistics-Descriptive.git/blob - perl-Statistics-Descriptive.spec
- more %%{__make} macros.
[packages/perl-Statistics-Descriptive.git] / perl-Statistics-Descriptive.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Statistics-Descriptive perl module
3 Summary(pl):    Modu³ perla Statistics-Descriptive
4 Name:           perl-Statistics-Descriptive
5 Version:        2.4
6 Release:        3
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
11 Patch0:         perl-Statistics-Descriptive-fix.patch
12 BuildRequires:  rpm-perlprov >= 3.0.3-16
13 BuildRequires:  perl >= 5.005_03-14
14 %requires_eq    perl
15 Requires:       %{perl_sitearch}
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Statistics-Descriptive module provides basic functions used in
20 descriptive statistics.
21
22 %description -l pl
23 Statistics-Descriptive udostêpnia podstawowe funkcje stosowane w
24 statystyce opisowej.
25
26 %prep
27 %setup -q -n Statistics-Descriptive-%{version}
28 %patch -p0
29
30 %build
31 perl Makefile.PL
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 (
39   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Statistics/Descriptive
40   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
41   mv .packlist.new .packlist
42 )
43
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
45         Changes README
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc {Changes,README}.gz
53
54 %{perl_sitelib}/Statistics/Descriptive.pm
55 %{perl_sitearch}/auto/Statistics/Descriptive
56
57 %{_mandir}/man3/*
This page took 0.037698 seconds and 3 git commands to generate.