%define upstream_name Encode-HanExtra %define upstream_version 0.23 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 7 Summary: Extra sets of Chinese encodings License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Encode/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Encode) BuildRequires: perl-devel %description Perl 5.7.3 and later ships with an adequate set of Chinese encodings, including the commonly used 'CP950', 'CP936' (also known as 'GBK'), 'Big5' (alias for 'Big5-Eten'), 'Big5-HKSCS', 'EUC-CN', 'HZ', and 'ISO-IR-165'. However, the numbers of Chinese encodings are staggering, and a complete coverage will easily increase the size of perl distribution by several megabytes; hence, this CPAN module tries to provide the rest of them. If you are using Perl 5.8 or later, the Encode::CN manpage and the Encode::TW manpage will automatically load the extra encodings for you, so there's no need to explicitly write 'use Encode::HanExtra' if you are using one of them already. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.230.0-7.mga3 + Revision: 366874 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Oct 16 2012 fwang <fwang> 0.230.0-6.mga3 + Revision: 306915 - rebuild for perl 5.16.1 * Wed May 30 2012 jquelin <jquelin> 0.230.0-5.mga3 + Revision: 250592 - rebuild for perl 5.16 * Sat Jun 11 2011 sander85 <sander85> 0.230.0-4.mga2 + Revision: 104251 - perl 5.14 * Sat Jan 22 2011 jquelin <jquelin> 0.230.0-3.mga1 + Revision: 31959 - mageia rebuild - imported package perl-Encode-HanExtra