#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Number
%define pnam Format
%define major_ver 1.73
%define minor_ver %{nil}
+%include /usr/lib/rpm/macros.perl
Summary: Number::Format - Perl extension for formatting numbers
Summary(pl.UTF-8): Number::Format - moduł do formatowania liczb
Name: perl-Number-Format
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 3a4188de6e84b04361def285b93dc240
+URL: http://search.cpan.org/dist/Number-Format/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Number::Format is a library for formatting numbers. Functions are
-provided for converting numbers to strings in a variety of ways, and to
-convert strings that contain numbers back into numeric form. The output
-formats may include thousands separators - characters inserted between
-each group of three characters counting right to left from the decimal
-point. The characters used for the decimal point and the thousands
-separator come from the locale information or can be specified by
-the user.
+Number::Format is a library for formatting numbers. Functions are
+provided for converting numbers to strings in a variety of ways, and
+to convert strings that contain numbers back into numeric form. The
+output formats may include thousands separators - characters inserted
+between each group of three characters counting right to left from the
+decimal point. The characters used for the decimal point and the
+thousands separator come from the locale information or can be
+specified by the user.
%description -l pl.UTF-8
Number::Format jest biblioteką, służącą do formatowania liczb.
Dostarcza funkcji do konwersji liczb na ciągi znaków w różny sposób,
oraz do konwersji ciągów zawierających liczby z powrotem na ich postać
-numeryczną. Formaty wynikowe mogą zawierać separatory tysięczne --
-znaki, wstawiane pomiędzy każdą grupę trzech znaków licząc od prawej do
-lewej od kropki dziesiętnej. Znaki, używane jako kropka dziesiętna i
-separator tysięczny pochodzą z informacji o locale; mogą też być podane
-przez użytkownika.
+numeryczną. Formaty wynikowe mogą zawierać separatory tysięczne --
+znaki, wstawiane pomiędzy każdą grupę trzech znaków licząc od prawej
+do lewej od kropki dziesiętnej. Znaki, używane jako kropka dziesiętna
+i separator tysięczny pochodzą z informacji o locale; mogą też być
+podane przez użytkownika.
%prep
%setup -q -n %{pdir}-%{pnam}-%{major_ver}