]> git.pld-linux.org Git - packages/perl-Statistics-Descriptive.git/blobdiff - perl-Statistics-Descriptive.spec
- release 5
[packages/perl-Statistics-Descriptive.git] / perl-Statistics-Descriptive.spec
index 9ada800b831d872ff9a61680d07686669bbafbcb..4bda12561a0a66ea97007b0c31b9d707569b6118 100644 (file)
@@ -3,25 +3,24 @@ Summary:      Statistics-Descriptive perl module
 Summary(pl):   Modu³ perla Statistics-Descriptive
 Name:          perl-Statistics-Descriptive
 Version:       2.4
-Release:       3
-Copyright:     GPL
+Release:       5
+License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
-Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
-Patch:         perl-Statistics-Descriptive-fix.patch
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Statistics/Statistics-Descriptive-%{version}.tar.gz
+Patch0:                %{name}-fix.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
-%requires_eq   perl
-Requires:      %{perl_sitearch}
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: perl >= 5.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Statistics-Descriptive module provides basic functions used in descriptive
-statistics. 
+Statistics-Descriptive module provides basic functions used in
+descriptive statistics.
 
 %description -l pl
-Statistics-Descriptive udostêpnia podstawowe funkcje stosowane w statystyce
-opisowej.
+Statistics-Descriptive udostêpnia podstawowe funkcje stosowane w
+statystyce opisowej.
 
 %prep
 %setup -q -n Statistics-Descriptive-%{version}
@@ -29,29 +28,20 @@ opisowej.
 
 %build
 perl Makefile.PL
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Statistics/Descriptive
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+gzip -9nf Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc *.gz
 %{perl_sitelib}/Statistics/Descriptive.pm
-%{perl_sitearch}/auto/Statistics/Descriptive
-
 %{_mandir}/man3/*
This page took 0.068224 seconds and 4 git commands to generate.