X-Git-Url: http://git.pld-linux.org/?p=packages%2Fperl-Text-Unaccent.git;a=blobdiff_plain;f=perl-Text-Unaccent.spec;h=e701a0965928a7f7ed1ca59115eae88816fd5d32;hp=3b5553bb05075810737fd4c8acce9cc11255ddc9;hb=44c1345003dbae4ada7a9db7671f805a18b46ece;hpb=a632477d1d3a76758f69075fac02ad171c71c18e diff --git a/perl-Text-Unaccent.spec b/perl-Text-Unaccent.spec index 3b5553b..e701a09 100644 --- a/perl-Text-Unaccent.spec +++ b/perl-Text-Unaccent.spec @@ -3,23 +3,24 @@ %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 +Summary(pl.UTF-8): Text::Unaccent - usuwanie akcentów z napisów Name: perl-Text-Unaccent -Version: 1.01 -Release: 2 +Version: 1.08 +Release: 5 License: GPL v2+ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 9ac9b28cbb66f4829a50d563ace79cb5 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 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 @@ -27,13 +28,13 @@ command on GNU/Linux will show all charset supported. Text-Unaccent-1.01 has the same unac.[ch] files than unac-1.1.0. -%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ñ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. +%description -l pl.UTF-8 +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ń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. Text-Unaccent-1.01 ma te same pliki unac.[ch] co unac-1.1.0.