Name: perl-Encode-HanExtra Version: 0.23 Release: 42%{?dist} Summary: Extra sets of Chinese encodings License: MIT URL: https://metacpan.org/release/Encode-HanExtra Source0: https://cpan.metacpan.org/modules/by-module/Encode/Encode-HanExtra-%{version}.tar.gz # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-Encode-devel BuildRequires: perl-generators BuildRequires: perl(Config) BuildRequires: perl(File::Spec) BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::External) BuildRequires: perl(Module::Install::Makefile) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) BuildRequires: sed # Run-time BuildRequires: perl(base) BuildRequires: perl(Encode) BuildRequires: perl(Encode::Encoding) BuildRequires: perl(vars) BuildRequires: perl(XSLoader) # Tests BuildRequires: perl(Test::More) %{?perl_default_filter} %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, Encode::CN and Encode::TW 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 Encode-HanExtra-%{version} # Remove bundled libraries rm -r inc sed -i -e '/^inc\// d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' # Remove the next line from noarch packages (unneeded) find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto/ %{_mandir}/man3/* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.23-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.23-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.23-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.23-39 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.23-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.23-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.23-36 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.23-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.23-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.23-33 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.23-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.23-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.23-30 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.23-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.23-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.23-27 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.23-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.23-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.23-24 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.23-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.23-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.23-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.23-20 - Perl 5.26 rebuild * Tue May 16 2017 Jitka Plesnikova - 0.23-19 - Fix building on Perl without '.' in @INC * Sat Feb 11 2017 Fedora Release Engineering - 0.23-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 0.23-17 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.23-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.23-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.23-14 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 0.23-13 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.23-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.23-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.23-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.23-9 - Perl 5.18 rebuild * Mon Feb 25 2013 Xavier Bachelot 0.23-8 - BR: perl-Encode-devel for enc2xs, FTBFS #914278. * Thu Feb 14 2013 Fedora Release Engineering - 0.23-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.23-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Petr Pisar - 0.23-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.23-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Dec 21 2011 Xavier Bachelot 0.23-3 - Fix bad copy/paste. * Tue Dec 20 2011 Xavier Bachelot 0.23-2 - Follow the rpmdevtools perl spec template to fix packaging bugs. * Tue Nov 29 2011 Xavier Bachelot 0.23-1 - Initial Fedora release.