From: Elan Ruusamäe Date: Tue, 25 Nov 2014 20:00:33 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7227ce3ac6794dcb029da302eb9c9bd5e7c5226c;p=packages%2Fperl-Number-Format.git use generic url --- diff --git a/perl-Number-Format.spec b/perl-Number-Format.spec index 859ec80..f508a88 100644 --- a/perl-Number-Format.spec +++ b/perl-Number-Format.spec @@ -1,12 +1,12 @@ # # 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 @@ -16,30 +16,31 @@ 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: 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}