babelstone-han-fonts/babelstone-han-fonts.spec
Jan Engelhardt 0bc5b02514 Accepting request 1110782 from home:Pi-Cla:branches:M17N:fonts
- Update to 15.1.1
 * 128 PUA characters added from BabelStone Han PUA version 1.357
 * 193 PUA characters removed (now included in Ext. I)
 * 5 new IDC characters added
 * 786 Latin letters and non-Han symbols removed (due to the 65,535 glyph limit on TrueType fonts)
 * Glyph corrections and glyph improvements for 337 CJK unified ideographs

OBS-URL: https://build.opensuse.org/request/show/1110782
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/babelstone-han-fonts?expand=0&rev=11
2023-09-13 11:30:20 +00:00

58 lines
1.7 KiB
RPMSpec

#
# spec file for package babelstone-han-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: babelstone-han-fonts
Version: 15.1.1
Release: 0
Summary: BabelStone font for Han Script
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.babelstone.co.uk/Fonts/
Source0: http://babelstone.co.uk/Fonts/Download/BabelStoneHan.zip
Source1: LICENSE
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
BabelStone Han is a dual-width Unicode Han font in Song/Ming style
with G-source glyphs used in the People's Republic of China.
%prep
%autosetup -c -T -a0
%build
cp -a %{SOURCE1} .
%install
install -Dm 0644 -t %{buildroot}%{_ttfontsdir}/ *.ttf
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%license LICENSE
%dir %{_ttfontsdir}
%{_ttfontsdir}/BabelStoneHan.ttf
%changelog