%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
-%define pdir Text
-%define pnam Unaccent
+%define pdir Text
+%define pnam Unaccent
Summary: Text::Unaccent - remove accents from a string
Summary(pl): Text::Unaccent - usuwanie akcentów z napisów
Name: perl-Text-Unaccent
Version: 1.01
-Release: 1
+Release: 2
License: GPL v2+
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Text::Unaccent is a module that provides functions to remove accents
-from a string. For instance the string été will become ete. The
+from a string. For instance the string été will become ete. The
charset of the input string is specified as an argument. The input is
converted to UTF-16 using iconv(3), accents are stripped and the
result is converted back to the original charset. The iconv --list
%description -l pl
Text::Unaccent to modu³ dostarczaj±cy funkcje do usuwania akcentów z
napisów. Na przyk³ad tekst été zostanie zamieniony na ete. Zestaw
-znaków ³añucha wej¶ciowego jest podawany jako argument. Wej¶cie jest
+znaków ³añcucha wej¶ciowego jest podawany jako argument. Wej¶cie jest
konwertowane do UTF-16 przy u¿yciu iconv(3), usuwane s± akcenty, a
wynik jest konwertowany z powrotem do oryginalnego zestawu znaków.
Obs³ugiwane zestawy znaków mo¿na sprawdziæ poleceniem iconv --list.