forked from pool/perl-Unicode-Collate
For TeXLive 2018 - updated to 1.25 see /usr/share/doc/packages/perl-Unicode-Collate/Changes 1.25 Wed Nov 22 20:48:48 2017 - Makefile.PL: [rt.cpan.org #123631] Switch Unicode::Collate to XSLoader 1.24 Sun Nov 19 22:06:03 2017 - xs: [rt.cpan.org #123631] Switch Unicode::Collate to XSLoader 1.23 Mon Nov 13 19:10:28 2017 - Now UCA_Version 36 (for Unicode 10.0.0) is supported. * But the default UCA_Version is still 34. - added nushu.t in t. 1.22 Sat Nov 11 10:53:35 2017 - internal: someone suggests using 'exists' for checking the truth of $collator->{mapping}{$variable} and $collator->{maxlength}{$variable}, where $variable may stand for codepoints whose mapping is not defined; though such a problem was not reproduced on my environment. 1.21 Sat Nov 4 10:49:19 2017 - mklocale: [rt.cpan.org #121664] . removed from @INC (take 2) - DUCET is updated (for Unicode 9.0.0) as Collate/allkeys.txt. - The default UCA_Version is 34. - added tangut.t in t. - Locale/*.pl and CJK/Korean.pm are updated. 1.20 Fri Nov 3 11:50:21 2017 - XS: [rt.cpan.org #121664] . removed from @INC - U::C::Locale newly supports locales: dsb, lkt. - Remove patch no-dot-inc.patch as now upstream OBS-URL: https://build.opensuse.org/request/show/596059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Unicode-Collate?expand=0&rev=21
58 lines
1.8 KiB
RPMSpec
58 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Unicode-Collate
|
|
#
|
|
# Copyright (c) 2018 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-Unicode-Collate
|
|
Version: 1.25
|
|
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: http://search.cpan.org/dist/Unicode-Collate/
|
|
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
|