]> git.pld-linux.org Git - packages/perl-Statistics-Simpson.git/blame - perl-Statistics-Simpson.spec
use generic url
[packages/perl-Statistics-Simpson.git] / perl-Statistics-Simpson.spec
CommitLineData
d10caead 1#
2# Conditional build:
785ada67 3%bcond_without tests # do not perform "make test"
864db5ec 4
7c79465a 5%define pdir Statistics
6%define pnam Simpson
864db5ec 7%include /usr/lib/rpm/macros.perl
d10caead 8Summary: Statistics::Simpson - Simpson index
d0d5ead0 9Summary(pl.UTF-8): Statistics::Simpson - wskaźnik Simpsona
d10caead 10Name: perl-Statistics-Simpson
11Version: 0.01
d7193fad 12Release: 5
f33f33dc 13# same as perl
14License: GPL v1+ or Artistic
d10caead 15Group: Development/Languages/Perl
3cd8dbab 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
9559179e 17# Source0-md5: a60893a4efc2023d35eece27b1ab6aa8
864db5ec 18URL: http://search.cpan.org/dist/Statistics-Simpson/
ad524404 19BuildRequires: perl-devel >= 1:5.8.0
864db5ec 20BuildRequires: rpm-perlprov >= 4.1-13
785ada67 21%if %{with tests}
d10caead 22BuildRequires: perl-Statistics-Frequency >= 0.03
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
80d6ab84
JB
28The Statistics::Simpson module can be used to compute the Simpson
29index of data, which measures the variability of data.
d10caead 30
d7a496be
JR
31%description -l pl.UTF-8
32Moduł Statistics::Simpson może być używany do liczenia wskaźnika
33Simpsona danych, który jest miarą zmienności danych.
d10caead 34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
83eeabc2 39%{__perl} Makefile.PL \
3cc02aaa 40 INSTALLDIRS=vendor
d10caead 41%{__make}
42
785ada67 43%{?with_tests:%{__make} test}
d10caead 44
45%install
46rm -rf $RPM_BUILD_ROOT
47
785ada67 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
d10caead 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Change*
83eeabc2 57%{perl_vendorlib}/%{pdir}/*.pm
d10caead 58%{_mandir}/man3/*
This page took 0.082641 seconds and 4 git commands to generate.