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