File arphic-uming-fonts.spec of Package arphic-uming-fonts

#
# spec file for package arphic-uming-fonts
#
# Copyright (c) 2023 SUSE LLC
#
# 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:           arphic-uming-fonts
Version:        0.2.20080216.1
Release:        0
Summary:        CJK Unicode Font Ming Style
License:        Arphic-1999
# rpmlint has not been updated yet to reflect the new license names already present on
# format specfile https://github.com/rpm-software-management/rpmlint/pull/982
Group:          System/X11/Fonts
URL:            http://www.freedesktop.org/wiki/Software/CJKUnifonts/
# download      http://ftp.tw.debian.org/debian/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.1.20060928.orig.tar.bz2
Source0:        ttf-arphic-uming-0.2.20080216.1.tar.bz2
BuildRequires:  fontpackages-devel
%reconfigure_fonts_prereq
Provides:       scalable-font-zh-CN
Provides:       scalable-font-zh-HK
Provides:       scalable-font-zh-MO
Provides:       scalable-font-zh-SG
Provides:       scalable-font-zh-TW
Provides:       ttf-arphic-uming = %{version}
Provides:       locale(zh_TW;zh_HK;zh_CN;zh_SG;zh_MO)
Obsoletes:      ttf-arphic-uming <= 0.1.20060928
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This font was taken from the from the TrueType fonts generously
released by Arphic Technologies Taiwan under the Arphic Public License.
It was modified with Fontforge by Arne Goetje <arne@linux.org.tw> to
contain both Big5 and GB2312 charsets plus some european characters.

Currently it fully supports the following charsets:
ISO8859-1,2,3,4,9,10,13,14,15 Big5 GB2312-80 HKSCS 2004 Bopomofo
Extensions for Hakka, Minnan (Unicode 4.0) and MBE variants using the
Alternatives (aalt) feature from the OTF spec.

Partly support is implemented for: CNS 11643 GB18030 Japanese Korean

%prep
%setup -n ttf-arphic-uming-%{version}

%build

%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -c -m 644 *.ttc %{buildroot}%{_ttfontsdir}/

%reconfigure_fonts_scriptlets -c

%files
%defattr(-, root,root)
%doc CONTRIBUTERS README* fonts.dir fonts.scale license Font_Comparison_ShanHeiSun_UMing.pdf FONTLOG KNOWN_ISSUES TODO
%{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by