|
|
ac1eb0 |
Name: perl-Unicode-Collate
|
|
|
ac1eb0 |
Version: 1.20
|
|
|
ac1eb0 |
Release: 2%{?dist}
|
|
|
ac1eb0 |
Summary: Unicode Collation Algorithm
|
|
|
ac1eb0 |
# Collate/allkeys.txt: Unicode (the file contains a link to
|
|
|
ac1eb0 |
# <http://www.unicode.org/terms_of_use.html>)
|
|
|
ac1eb0 |
# other files: GPL+ or Artistic
|
|
|
ac1eb0 |
License: (GPL+ or Artistic) and Unicode
|
|
|
ac1eb0 |
Group: Development/Libraries
|
|
|
ac1eb0 |
URL: http://search.cpan.org/dist/Unicode-Collate/
|
|
|
ac1eb0 |
Source0: http://www.cpan.org/authors/id/S/SA/SADAHIRO/Unicode-Collate-%{version}.tar.gz
|
|
|
ac1eb0 |
# Adapt to Perl without "." im @INC, CPAN RT#121664
|
|
|
ac1eb0 |
Patch0: Unicode-Collate-1.20-Fixes-for-removal-dot-from-INC.patch
|
|
|
ac1eb0 |
BuildRequires: gcc
|
|
|
ac1eb0 |
BuildRequires: findutils
|
|
|
ac1eb0 |
BuildRequires: make
|
|
|
ac1eb0 |
BuildRequires: perl-interpreter
|
|
|
ac1eb0 |
BuildRequires: perl-devel
|
|
|
ac1eb0 |
BuildRequires: perl-generators
|
|
|
ac1eb0 |
BuildRequires: perl(Carp)
|
|
|
ac1eb0 |
BuildRequires: perl(constant)
|
|
|
ac1eb0 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
ac1eb0 |
BuildRequires: perl(File::Spec)
|
|
|
ac1eb0 |
BuildRequires: perl(strict)
|
|
|
ac1eb0 |
BuildRequires: perl(warnings)
|
|
|
ac1eb0 |
# Run-time:
|
|
|
ac1eb0 |
BuildRequires: perl(base)
|
|
|
ac1eb0 |
BuildRequires: perl(DynaLoader)
|
|
|
ac1eb0 |
BuildRequires: perl(Unicode::Normalize)
|
|
|
ac1eb0 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
ac1eb0 |
Requires: perl(Unicode::Normalize)
|
|
|
ac1eb0 |
Conflicts: perl < 4:5.22.0-347
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%description
|
|
|
ac1eb0 |
This package is Perl implementation of Unicode Technical Standard #10 (Unicode
|
|
|
ac1eb0 |
Collation Algorithm).
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%prep
|
|
|
ac1eb0 |
%setup -q -n Unicode-Collate-%{version}
|
|
|
ac1eb0 |
%patch0 -p1
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
# Remove pregenerated files
|
|
|
ac1eb0 |
rm Collate/Locale/*
|
|
|
ac1eb0 |
# Collate/CJK/Korean.pm is input for mklocale script, do not remove it here
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%build
|
|
|
ac1eb0 |
# Regenerate code from Collate/allkeys.txt whose authority is
|
|
|
ac1eb0 |
# <http://www.unicode.org/Public/UCA/latest/allkeys.txt>
|
|
|
ac1eb0 |
perl mklocale
|
|
|
ac1eb0 |
mv Locale/*.pl Collate/Locale
|
|
|
ac1eb0 |
mv Korean.pm Collate/CJK
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
ac1eb0 |
make %{?_smp_mflags}
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%install
|
|
|
ac1eb0 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ac1eb0 |
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
ac1eb0 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
ac1eb0 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%check
|
|
|
ac1eb0 |
make test
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%files
|
|
|
ac1eb0 |
%doc Changes README
|
|
|
ac1eb0 |
%{perl_vendorarch}/auto/*
|
|
|
ac1eb0 |
%{perl_vendorarch}/Unicode*
|
|
|
ac1eb0 |
%{_mandir}/man3/*
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
%changelog
|
|
|
ac1eb0 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-2
|
|
|
ac1eb0 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Fri Nov 03 2017 Petr Pisar <ppisar@redhat.com> - 1.20-1
|
|
|
ac1eb0 |
- 1.20 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon May 15 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-3
|
|
|
ac1eb0 |
- Fixes for removal '.' from @INC in Perl 5.26
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
ac1eb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon Dec 05 2016 Petr Pisar <ppisar@redhat.com> - 1.19-1
|
|
|
ac1eb0 |
- 1.19 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 1.18-1
|
|
|
ac1eb0 |
- 1.18 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon Oct 31 2016 Petr Pisar <ppisar@redhat.com> - 1.17-1
|
|
|
ac1eb0 |
- 1.17 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Wed Oct 26 2016 Petr Pisar <ppisar@redhat.com> - 1.16-1
|
|
|
ac1eb0 |
- 1.16 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon Oct 24 2016 Petr Pisar <ppisar@redhat.com> - 1.15-1
|
|
|
ac1eb0 |
- 1.15 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon Sep 19 2016 Petr Pisar <ppisar@redhat.com> - 1.14-366
|
|
|
ac1eb0 |
- License corrected to ((GPL+ or Artistic) and Unicode)
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-365
|
|
|
ac1eb0 |
- Increase release to favour standalone package
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
|
|
|
ac1eb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Mon Jul 13 2015 Petr Pisar <ppisar@redhat.com> - 1.14-1
|
|
|
ac1eb0 |
- 1.14 bump
|
|
|
ac1eb0 |
|
|
|
ac1eb0 |
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 1.12-348
|
|
|
ac1eb0 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
ac1eb0 |
- Run mklocale only if not bootstrapping
|