forked from pool/perl-Unicode-Collate
- updated to 1.27 see /usr/share/doc/packages/perl-Unicode-Collate/Changes 1.27 - DUCET is updated (for Unicode 10.0.0) as Collate/allkeys.txt. - The default UCA_Version is 36. - Locale/*.pl and CJK/Korean.pm are updated. 1.26 - U::C::Locale newly supports locale: cu. - tailoring Cyrillic YI as BYELORUSSIAN-UKRAINIAN I with DIAERESIS. (affected locale: kk) - added loc_cu.t in t. OBS-URL: https://build.opensuse.org/request/show/733654 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Collate?expand=0&rev=23
58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package perl-Unicode-Collate
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Unicode-Collate
|
|
Version: 1.27
|
|
Release: 0
|
|
%define cpan_name Unicode-Collate
|
|
Summary: Unicode Collation Algorithm
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Group: Development/Libraries/Perl
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This module is an implementation of Unicode Technical Standard #10 (a.k.a.
|
|
UTS #10) - Unicode Collation Algorithm (a.k.a. UCA).
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes Collate.pmN disableXS enableXS MANIFEST.N mkheader mklocale README
|
|
|
|
%changelog
|