%define pdir Text
%define pnam Diff
Summary: Text::Diff - Perform diffs on files and record sets
-#Summary(pl):
+Summary(pl): Text::Diff - wyszukiwanie ró¿nic miêdzy plikami i zbiorami rekordów
Name: perl-Text-Diff
Version: 0.34
-Release: 1
+Release: 2
License: GPL v2+/Artistic
Group: Development/Languages/Perl
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-26
%if %{?_without_tests:0}%{!?_without_tests:1}
BuildRequires: perl-Algorithm-Diff
%endif
+BuildRequires: rpm-perlprov >= 3.0.3-26
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-C<diff()> provides a basic set of services akin to the GNU C<diff>
-utility. It is not anywhere near as feature complete as GNU C<diff>,
-but it is better integrated with Perl and available on all platforms.
-It is often faster than shelling out to a system's C<diff> executable
-for small files, and generally slower on larger files.
-
-# %description -l pl
-# TODO
+diff() provides a basic set of services akin to the GNU diff utility.
+It is not anywhere near as feature complete as GNU diff, but it is
+better integrated with Perl and available on all platforms. It is
+often faster than shelling out to a system's diff executable for small
+files, and generally slower on larger files.
+
+%description -l pl
+Funkcja diff() udostêpnia podstawowy zbiór us³ug podobnych do
+narzêdzia GNU diff. Daleko jej do pe³nej funkcjonalno¶ci GNU diffa,
+ale jest lepiej zintegrowana z Perlem i dostêpna na wszystkich
+platformach. Jest przewa¿nie szybsza ni¿ uruchamianie polecenia
+systemowego w przypadku ma³ych plików, a wolniejsza dla du¿ych plików.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}