#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir File
%define pnam Sort
+%include /usr/lib/rpm/macros.perl
Summary: File::Sort - sort a file or merge sort multiple files
Summary(pl.UTF-8): File::Sort - sortowanie pliku lub połączenie wyniku sortowania wielu plików
Name: perl-File-Sort
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 1feb4128bba2edde68ada7838e55863a
+URL: http://search.cpan.org/dist/File-Sort/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The File::Sort Perl module sorts text files by lines (or records).
+The File::Sort Perl module sorts text files by lines (or records).
Comparisons are based on one or more sort keys extracted from each
line of input, and are performed lexicographically. By default, if
-keys are not given, sort regards each input line as a single field.
+keys are not given, sort regards each input line as a single field.
The sort is a merge sort.
%description -l pl.UTF-8
kluczy sortowania pobieranych z każdego wiersza danych wejściowych i
układane leksykograficznie. Domyślnie, jeśli nie podano klucza,
sortowanie dotyczy całych wierszy danych wejściowych jako pojedynczych
-pól. Wyniki sortowania są łączone.
+pól. Wyniki sortowania są łączone.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}