%define module Encode-HanExtra %define name perl-%{module} %define version 0.23 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Extra sets of Chinese encodings Group: Development/Perl License: MIT Source: http://www.cpan.org/authors/id/S/SB/SBURKE/%{module}-%{version}.tar.gz Url: http://search.cpan.org/dist/%{module}/ BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description This version includes the following encoding tables: Canonical Alias Description ----------------------------------------------------------------------------- big5-1984 /\b(tca-)?big5-?(19)?84$/i TCA's original Big5-1984 big5-2003 /\b(cmex-)?big5-?(20)?03$/i Big5-2003 (national standard) big5ext /\b(cmex-)?big5-?e(xt)?$/i CMEX's Big5e Extension big5plus /\b(cmex-)?big5-?p(lus)?$/i CMEX's Big5+ Extension /\b(cmex-)?big5\+$/i cccii /\b(ccag-)?cccii$/i Chinese Character Code for Information Interchange cns11643-1 /\bCNS[-_ ]?11643[-_]1$/i Taiwan's CNS map, plane 1 cns11643-2 /\bCNS[-_ ]?11643[-_]2$/i Taiwan's CNS map, plane 2 cns11643-3 /\bCNS[-_ ]?11643[-_]3$/i Taiwan's CNS map, plane 3 cns11643-4 /\bCNS[-_ ]?11643[-_]4$/i Taiwan's CNS map, plane 4 cns11643-5 /\bCNS[-_ ]?11643[-_]5$/i Taiwan's CNS map, plane 5 cns11643-6 /\bCNS[-_ ]?11643[-_]6$/i Taiwan's CNS map, plane 6 cns11643-7 /\bCNS[-_ ]?11643[-_]7$/i Taiwan's CNS map, plane 7 cns11643-f /\bCNS[-_ ]?11643[-_]f$/i Taiwan's CNS map, plane F euc-tw /\beuc.*tw$/i EUC (Extended Unix Character) /\btw.*euc$/i gb18030 /\bGB[-_ ]?18030$/i GBK with Traditional Characters unisys /\bunisys$/i Unisys Traditional Chinese unisys-sosi1 Unisys SOSI1 transport encoding unisys-sosi2 Unisys SOSI2 transport encoding %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorarch}/Encode %{perl_vendorarch}/auto/Encode %{_mandir}/man3/* %changelog * Fri Sep 12 2008 Kazuhiko Shiozaki 0.23-1nxd2008.1 - initial package for Mandriva