b2e716
Name:           perl-Unicode-Collate
b2e716
Version:        1.29
b2e716
Release:        4%{?dist}
b2e716
Summary:        Unicode Collation Algorithm
b2e716
# Collate/allkeys.txt:  Unicode (the file contains a link to
b2e716
#                       <http://www.unicode.org/terms_of_use.html>)
b2e716
# other files:          GPL+ or Artistic
b2e716
License:        (GPL+ or Artistic) and Unicode
b2e716
URL:            https://metacpan.org/release/Unicode-Collate
b2e716
Source0:        https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
b2e716
BuildRequires:  coreutils
b2e716
BuildRequires:  gcc
b2e716
BuildRequires:  findutils
b2e716
BuildRequires:  make
b2e716
BuildRequires:  perl-devel
b2e716
BuildRequires:  perl-generators
b2e716
BuildRequires:  perl-interpreter
b2e716
BuildRequires:  perl(Carp)
b2e716
BuildRequires:  perl(constant)
b2e716
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
b2e716
BuildRequires:  perl(File::Spec)
b2e716
BuildRequires:  perl(strict)
b2e716
BuildRequires:  perl(warnings)
b2e716
# Run-time:
b2e716
BuildRequires:  perl(base)
b2e716
BuildRequires:  perl(Unicode::Normalize)
b2e716
BuildRequires:  perl(XSLoader)
b2e716
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b2e716
Requires:       perl(Unicode::Normalize)
b2e716
Conflicts:      perl < 4:5.22.0-347
b2e716
b2e716
%description
b2e716
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
b2e716
Collation Algorithm).
b2e716
b2e716
%prep
b2e716
%setup -q -n Unicode-Collate-%{version}
b2e716
b2e716
# Remove pregenerated files
b2e716
rm Collate/Locale/*
b2e716
# Collate/CJK/Korean.pm is an input for the mklocale script, do not remove it
b2e716
b2e716
%build
b2e716
# Regenerate code from Collate/allkeys.txt whose authority is
b2e716
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
b2e716
perl mklocale
b2e716
mv Locale/*.pl Collate/Locale
b2e716
mv Korean.pm Collate/CJK
b2e716
b2e716
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
b2e716
%{make_build}
b2e716
b2e716
%install
b2e716
%{make_install}
b2e716
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
b2e716
%{_fixperms} $RPM_BUILD_ROOT/*
b2e716
b2e716
%check
b2e716
make test
b2e716
b2e716
%files
b2e716
%doc Changes README
b2e716
%{perl_vendorarch}/auto/*
b2e716
%{perl_vendorarch}/Unicode*
b2e716
%{_mandir}/man3/*
b2e716
b2e716
%changelog
b2e716
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-4
b2e716
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b2e716
  Related: rhbz#1991688
b2e716
b2e716
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.29-3
b2e716
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b2e716
b2e716
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b2e716
b2e716
* Tue Sep 29 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-1
b2e716
- 1.29 bump
b2e716
b2e716
* Wed Sep 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-1
b2e716
- 1.28 bump
b2e716
b2e716
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-457
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b2e716
b2e716
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-456
b2e716
- Increase release to favour standalone package
b2e716
b2e716
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.27-441
b2e716
- Spec file cleanups: Use make_build and make_install macros
b2e716
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
b2e716
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
b2e716
b2e716
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-440
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b2e716
b2e716
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-439
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b2e716
b2e716
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-438
b2e716
- Increase release to favour standalone package
b2e716
b2e716
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-2
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b2e716
b2e716
* Thu Jan 03 2019 Petr Pisar <ppisar@redhat.com> - 1.27-1
b2e716
- 1.27 bump
b2e716
b2e716
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-417
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b2e716
b2e716
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.25-416
b2e716
- Increase release to favour standalone package
b2e716
b2e716
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-2
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b2e716
b2e716
* Thu Nov 23 2017 Petr Pisar <ppisar@redhat.com> - 1.25-1
b2e716
- 1.25 bump
b2e716
b2e716
* Tue Nov 21 2017 Petr Pisar <ppisar@redhat.com> - 1.24-1
b2e716
- 1.24 bump
b2e716
b2e716
* Mon Nov 13 2017 Petr Pisar <ppisar@redhat.com> - 1.23-1
b2e716
- 1.23 bump
b2e716
b2e716
* Mon Nov 06 2017 Petr Pisar <ppisar@redhat.com> - 1.21-1
b2e716
- 1.21 bump
b2e716
b2e716
* Fri Nov 03 2017 Petr Pisar <ppisar@redhat.com> - 1.20-1
b2e716
- 1.20 bump
b2e716
b2e716
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-395
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b2e716
b2e716
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-394
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b2e716
b2e716
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-393
b2e716
- Perl 5.26 rebuild
b2e716
b2e716
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-3
b2e716
- Fixes for removal '.' from @INC in Perl 5.26
b2e716
b2e716
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b2e716
b2e716
* Mon Dec 05 2016 Petr Pisar <ppisar@redhat.com> - 1.19-1
b2e716
- 1.19 bump
b2e716
b2e716
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 1.18-1
b2e716
- 1.18 bump
b2e716
b2e716
* Mon Oct 31 2016 Petr Pisar <ppisar@redhat.com> - 1.17-1
b2e716
- 1.17 bump
b2e716
b2e716
* Wed Oct 26 2016 Petr Pisar <ppisar@redhat.com> - 1.16-1
b2e716
- 1.16 bump
b2e716
b2e716
* Mon Oct 24 2016 Petr Pisar <ppisar@redhat.com> - 1.15-1
b2e716
- 1.15 bump
b2e716
b2e716
* Mon Sep 19 2016 Petr Pisar <ppisar@redhat.com> - 1.14-366
b2e716
- License corrected to ((GPL+ or Artistic) and Unicode)
b2e716
b2e716
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-365
b2e716
- Increase release to favour standalone package
b2e716
b2e716
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
b2e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b2e716
b2e716
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.14-1
b2e716
- 1.14 bump
b2e716
b2e716
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.12-348
b2e716
- Specfile autogenerated by cpanspec 1.78.
b2e716
- Run mklocale only if not bootstrapping