]> git.pld-linux.org Git - packages/perl-Math-VecStat.git/blobdiff - perl-Math-VecStat.spec
use generic url
[packages/perl-Math-VecStat.git] / perl-Math-VecStat.spec
index cbb46ef45956c3e6b47b2e9d360c7b842e98de01..9bb61feea06df46719d48abe8d84cce6fd901218 100644 (file)
@@ -1,16 +1,22 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%define                pdir    Math
+%define                pnam    VecStat
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Math
-%define        pnam    VecStat
 Summary:       Math::VecStat - some basic statistics on vectors (min,max,average,...)
-Summary(pl):   Math::VecStat - podstawowe statystyki na wektorach (min,max,¶rednia,...)
+Summary(pl.UTF-8):     Math::VecStat - podstawowe statystyki na wektorach (min,max,średnia,...)
 Name:          perl-Math-VecStat
-Version:       0.06
-Release:       4
-License:       GPL
+Version:       0.08
+Release:       2
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 74d96e32a41333afa0bd56e15b0f50ea
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 3df23fb451f73bb49fd4ea344ba94020
+URL:           http://search.cpan.org/dist/Math-VecStat/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,24 +27,27 @@ the subroutines can take a reference to the vector to be operated on.
 In some cases a copy of the vector is acceptable, but is not
 recommended for efficiency.
 
-%description -l pl
+%description -l pl.UTF-8
 Ten pakiet dostarcza kilku podstawowych statystyk na wektorach
-liczbowych. Wszystkie funkcje mog± przyj±æ referencjê do wektora, na
-którym maj± operowaæ. W niektóych przypadkach kopia wektora jest
-akceptowalna, ale nie jest to zalecane ze wzglêdu na wydajno¶æ.
+liczbowych. Wszystkie funkcje mogą przyjąć referencję do wektora, na
+którym mają operować. W niektóych przypadkach kopia wektora jest
+akceptowalna, ale nie jest to zalecane ze względu na wydajność.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.097355 seconds and 4 git commands to generate.