]> git.pld-linux.org Git - packages/perl-Statistics-Descriptive.git/blob - perl-Statistics-Descriptive.spec
- misc patches
[packages/perl-Statistics-Descriptive.git] / perl-Statistics-Descriptive.spec
1 %define         perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
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 Copyright:      GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
11 BuildRequires:  perl >= 5.005_03-10
12 %requires_eq    perl
13 Requires:       %{perl_sitearch}
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 Statistics-Descriptive module provides basic functions used in descriptive
18 statistics. 
19
20 %description -l pl
21 Statistics-Descriptive udostêpnia podstawowe funkcje stosowane w statystyce
22 opisowej.
23
24 %prep
25 %setup -q -n Statistics-Descriptive-%{version}
26
27 %build
28 perl Makefile.PL
29 make
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 make install DESTDIR=$RPM_BUILD_ROOT
34
35 (
36   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Statistics/Descriptive
37   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
38   mv .packlist.new .packlist
39 )
40
41 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
42         Changes README
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc {Changes,README}.gz
50
51 %{perl_sitelib}/Statistics/Descriptive.pm
52 %{perl_sitearch}/auto/Statistics/Descriptive
53
54 %{_mandir}/man3/*
This page took 0.046939 seconds and 4 git commands to generate.