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
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
13 Requires: %{perl_sitearch}
14 BuildRoot: /tmp/%{name}-%{version}-root
17 Statistics-Descriptive module provides basic functions used in descriptive
21 Statistics-Descriptive udostêpnia podstawowe funkcje stosowane w statystyce
25 %setup -q -n Statistics-Descriptive-%{version}
32 rm -rf $RPM_BUILD_ROOT
33 make install DESTDIR=$RPM_BUILD_ROOT
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
41 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc {Changes,README}.gz
51 %{perl_sitelib}/Statistics/Descriptive.pm
52 %{perl_sitearch}/auto/Statistics/Descriptive