commit 54ed66ea62bbd3b9b2febb510011b4e7358104e2 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Dec 10 17:20:22 2014 +0100 1.23 bump; fixes an issue with UTF16 decoding .gitignore | 1 + perl-Text-Unidecode.spec | 43 ++++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 26 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index be4ee10..f13dee4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Text-Unidecode-0.04.tar.gz +/Text-Unidecode-1.23.tar.gz diff --git a/perl-Text-Unidecode.spec b/perl-Text-Unidecode.spec index 6661362..763a6e9 100644 --- a/perl-Text-Unidecode.spec +++ b/perl-Text-Unidecode.spec @@ -1,38 +1,43 @@ Name: perl-Text-Unidecode -Version: 0.04 -Release: 4%{?dist}.1 +Version: 1.23 +Release: 1%{?dist} Summary: US-ASCII transliterations of Unicode text - Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Text-Unidecode/ Source0: http://www.cpan.org/modules/by-module/Text/Text-Unidecode-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch +# Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +# Runtime +BuildRequires: perl(Exporter) +BuildRequires: perl(integer) +BuildRequires: perl(strict) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Tests only +BuildRequires: perl(Test) +BuildRequires: perl(Text::Wrap) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description - -Text::Unidecode provides a function, `unidecode(...)' that -takes Unicode data and tries to represent it in US-ASCII -characters (i.e., the universally displayable characters between -0x00 and 0x7F). The representation is almost always an attempt at -*transliteration* -- i.e., conveying, in Roman letters, the -pronunciation expressed by the text in some other writing -system. - +Text::Unidecode provides a function, `unidecode(...)' that takes +Unicode data and tries to represent it in US-ASCII characters (i.e., +the universally displayable characters between 0x00 and 0x7F). The +representation is almost always an attempt at *transliteration* -- i.e., +conveying, in Roman letters, the pronunciation expressed by the text in +some other writing system. %prep %setup -q -n Text-Unidecode-%{version} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT @@ -40,23 +45,23 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* - %check make test - %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) -%doc README TODO.txt ChangeLog +%doc README TODO.txt ChangeLog LICENSE %{perl_vendorlib}/Text/ %{_mandir}/man3/*.3* %changelog +* Wed Dec 10 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.23-1 +- 1.23 bump; fixes an issue with UTF16 decoding + * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.04-4.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) diff --git a/sources b/sources index 131fe09..979fffb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06f6bddb396ab386aa66a2bc8a04df76 Text-Unidecode-0.04.tar.gz +52340aa179053fa779fda6eeaa09425f Text-Unidecode-1.23.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel