]> git.pld-linux.org Git - packages/perl-Text-Unaccent.git/blobdiff - perl-Text-Unaccent.spec
perl 5.38.0 rebuild
[packages/perl-Text-Unaccent.git] / perl-Text-Unaccent.spec
index d6d2aaa6a811037363b27f574ffbd066eedcbc32..5d116d099759a132eaf5f406ea6f5b60f5387afe 100644 (file)
@@ -1,35 +1,42 @@
 #
 # Conditional build:
-%bcond_without tests           # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    Text
-%define        pnam    Unaccent
-Summary:       Text::Unaccent - Remove accents from a string
-#Summary(pl):  
+%bcond_with    tests           # do not perform "make test"
+
+%define                pdir    Text
+%define                pnam    Unaccent
+Summary:       Text::Unaccent - remove accents from a string
+Summary(pl.UTF-8):     Text::Unaccent - usuwanie akcentów z napisów
 Name:          perl-Text-Unaccent
-Version:       1.01
-Release:       1
+Version:       1.08
+Release:       17
 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.6
+# Source0-md5: 9ac9b28cbb66f4829a50d563ace79cb5
+URL:           http://search.cpan.org/dist/Text-Unaccent/
+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
 command on GNU/Linux will show all charset supported.
 
-Text-Unaccent-1.01 has the same unac.[ch] files than unac-1.1.0
+Text-Unaccent-1.01 has the same unac.[ch] files than unac-1.1.0.
+
+%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.
 
-# %description -l pl
-# TODO
+Text-Unaccent-1.01 ma te same pliki unac.[ch] co unac-1.1.0.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -54,8 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README
-%{perl_vendorarch}/%{pdir}/*.pm
-%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
-%{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.bs
-%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/*.so
+%{perl_vendorarch}/Text/*.pm
+%dir %{perl_vendorarch}/auto/Text/Unaccent
+%attr(755,root,root) %{perl_vendorarch}/auto/Text/Unaccent/*.so
 %{_mandir}/man3/*
This page took 0.033624 seconds and 4 git commands to generate.