3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 %define pdir Statistics
8 Summary: Statistics::Simpson - Simpson index
9 Summary(pl.UTF-8): Statistics::Simpson - wskaźnik Simpsona
10 Name: perl-Statistics-Simpson
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: a60893a4efc2023d35eece27b1ab6aa8
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: perl-Statistics-Frequency >= 0.03
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The Statistics::Simpson module can be used to compute the Simpson
28 index of data, which measures the variability of data.
30 %description -l pl.UTF-8
31 Moduł Statistics::Simpson może być używany do liczenia wskaźnika
32 Simpsona danych, który jest miarą zmienności danych.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %{perl_vendorlib}/%{pdir}/*.pm