]> git.pld-linux.org Git - packages/perl-Statistics-Descriptive.git/blobdiff - perl-Statistics-Descriptive.spec
use generic url
[packages/perl-Statistics-Descriptive.git] / perl-Statistics-Descriptive.spec
index d0c80493beb41a5da7eb51957257d27c8d1996e6..e22995db06289212deb449ed6687fa99c0749ea9 100644 (file)
@@ -1,36 +1,38 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+%bcond_without tests   # do not perform "make test"
+
 %define                pdir    Statistics
 %define                pnam    Descriptive
+%include       /usr/lib/rpm/macros.perl
 Summary:       Statistics::Descriptive Perl module
-Summary(cs):   Modul Statistics::Descriptive pro Perl
-Summary(da):   Perlmodul Statistics::Descriptive
-Summary(de):   Statistics::Descriptive Perl Modul
-Summary(es):   Módulo de Perl Statistics::Descriptive
-Summary(fr):   Module Perl Statistics::Descriptive
-Summary(it):   Modulo di Perl Statistics::Descriptive
-Summary(ja):   Statistics::Descriptive Perl ¥â¥¸¥å¡¼¥ë
-Summary(ko):   Statistics::Descriptive ÆÞ ¸ðÁÙ
-Summary(no):   Perlmodul Statistics::Descriptive
-Summary(pl):   Modu³ perla Statistics::Descriptive
-Summary(pt_BR):        Módulo Perl Statistics::Descriptive
-Summary(pt):   Módulo de Perl Statistics::Descriptive
-Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl Statistics::Descriptive
-Summary(sv):   Statistics::Descriptive Perlmodul
-Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl Statistics::Descriptive
-Summary(zh_CN):        Statistics::Descriptive Perl Ä£¿é
+Summary(cs.UTF-8):     Modul Statistics::Descriptive pro Perl
+Summary(da.UTF-8):     Perlmodul Statistics::Descriptive
+Summary(de.UTF-8):     Statistics::Descriptive Perl Modul
+Summary(es.UTF-8):     Módulo de Perl Statistics::Descriptive
+Summary(fr.UTF-8):     Module Perl Statistics::Descriptive
+Summary(it.UTF-8):     Modulo di Perl Statistics::Descriptive
+Summary(ja.UTF-8):     Statistics::Descriptive Perl モジュール
+Summary(ko.UTF-8):     Statistics::Descriptive 펄 모줄
+Summary(nb.UTF-8):     Perlmodul Statistics::Descriptive
+Summary(pl.UTF-8):     Moduł perla Statistics::Descriptive
+Summary(pt_BR.UTF-8):  Módulo Perl Statistics::Descriptive
+Summary(pt.UTF-8):     Módulo de Perl Statistics::Descriptive
+Summary(ru.UTF-8):     Модуль для Perl Statistics::Descriptive
+Summary(sv.UTF-8):     Statistics::Descriptive Perlmodul
+Summary(uk.UTF-8):     Модуль для Perl Statistics::Descriptive
+Summary(zh_CN.UTF-8):  Statistics::Descriptive Perl 模块
 Name:          perl-Statistics-Descriptive
-Version:       2.6
-Release:       2
-License:       Artistic or GPL
+Version:       3.0203
+Release:       1
+# 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: 05602b7028ada0393b503acee79d2616
+# Source0-md5: 2595c7c2e32eb33b6e730455a0313516
 Patch0:                %{name}-fix.patch
-BuildRequires: perl-devel >= 5.6
+URL:           http://search.cpan.org/dist/Statistics-Descriptive/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,24 +41,26 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Statistics::Descriptive module provides basic functions used in
 descriptive statistics.
 
-%description -l pl
-Statistics::Descriptive udostêpnia podstawowe funkcje stosowane w
+%description -l pl.UTF-8
+Statistics::Descriptive udostępnia podstawowe funkcje stosowane w
 statystyce opisowej.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -p0
+%patch0 -p0
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?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.055959 seconds and 4 git commands to generate.