%{?scl:%scl_package perl-Unicode-Collate} Name: %{?scl_prefix}perl-Unicode-Collate Version: 1.25 Release: 2%{?dist} Summary: Unicode Collation Algorithm # Collate/allkeys.txt: Unicode (the file contains a link to # ) # other files: GPL+ or Artistic License: (GPL+ or Artistic) and Unicode URL: http://search.cpan.org/dist/Unicode-Collate/ Source0: http://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz BuildRequires: coreutils BuildRequires: gcc BuildRequires: findutils BuildRequires: make BuildRequires: %{?scl_prefix}perl-devel BuildRequires: %{?scl_prefix}perl-generators BuildRequires: %{?scl_prefix}perl-interpreter BuildRequires: %{?scl_prefix}perl(Carp) BuildRequires: %{?scl_prefix}perl(constant) BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: %{?scl_prefix}perl(File::Spec) BuildRequires: %{?scl_prefix}perl(strict) BuildRequires: %{?scl_prefix}perl(warnings) # Run-time: BuildRequires: %{?scl_prefix}perl(base) BuildRequires: %{?scl_prefix}perl(Unicode::Normalize) BuildRequires: %{?scl_prefix}perl(XSLoader) Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) Requires: %{?scl_prefix}perl(Unicode::Normalize) Conflicts: %{?scl_prefix}perl < 4:5.22.0-347 %description This package is Perl implementation of Unicode Technical Standard #10 (Unicode Collation Algorithm). %prep %setup -q -n Unicode-Collate-%{version} # Remove pregenerated files rm Collate/Locale/* # Collate/CJK/Korean.pm is input for mklocale script, do not remove it here %build # Regenerate code from Collate/allkeys.txt whose authority is # %{?scl:scl enable %{scl} '}perl mklocale%{?scl:'} mv Locale/*.pl Collate/Locale mv Korean.pm Collate/CJK %{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'} %install %{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check %{?scl:scl enable %{scl} '}make test%{?scl:'} %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Unicode* %{_mandir}/man3/* %changelog * Mon Dec 18 2017 Petr Pisar - 1.25-2 - SCL * Thu Nov 23 2017 Petr Pisar - 1.25-1 - 1.25 bump * Tue Nov 21 2017 Petr Pisar - 1.24-1 - 1.24 bump * Mon Nov 13 2017 Petr Pisar - 1.23-1 - 1.23 bump * Mon Nov 06 2017 Petr Pisar - 1.21-1 - 1.21 bump * Fri Nov 03 2017 Petr Pisar - 1.20-1 - 1.20 bump * Thu Aug 03 2017 Fedora Release Engineering - 1.19-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.19-394 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jun 03 2017 Jitka Plesnikova - 1.19-393 - Perl 5.26 rebuild * Mon May 15 2017 Jitka Plesnikova - 1.19-3 - Fixes for removal '.' from @INC in Perl 5.26 * Sat Feb 11 2017 Fedora Release Engineering - 1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 05 2016 Petr Pisar - 1.19-1 - 1.19 bump * Tue Nov 08 2016 Petr Pisar - 1.18-1 - 1.18 bump * Mon Oct 31 2016 Petr Pisar - 1.17-1 - 1.17 bump * Wed Oct 26 2016 Petr Pisar - 1.16-1 - 1.16 bump * Mon Oct 24 2016 Petr Pisar - 1.15-1 - 1.15 bump * Mon Sep 19 2016 Petr Pisar - 1.14-366 - License corrected to ((GPL+ or Artistic) and Unicode) * Sat May 14 2016 Jitka Plesnikova - 1.14-365 - Increase release to favour standalone package * Thu Feb 04 2016 Fedora Release Engineering - 1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jul 13 2015 Petr Pisar - 1.14-1 - 1.14 bump * Thu Jul 02 2015 Petr Pisar 1.12-348 - Specfile autogenerated by cpanspec 1.78. - Run mklocale only if not bootstrapping