File morisawa-biz-ud-gothic-fonts.spec of Package morisawa-biz-ud-gothic-fonts
#
# spec file for package morisawa-biz-ud-gothic-fonts
#
# Copyright (c) 2024 SUSE LINUX Products 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: morisawa-biz-ud-gothic-fonts
Version: 1.051
Release: 0
Summary: Universal design Japanese typeface
License: OFL-1.1
Group: System/X11/Fonts
Url: https://github.com/googlefonts/morisawa-biz-ud-gothic
Source: v%{version}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
BIZ UD Gothic is a universal design typeface designed to be easy to
read and ideal for education and business documentation. It is a
highly legible and well-balanced design sans serif. In order to make
the kanji more clear and identifiable, the letterforms are simplified
by omitting hane (hook) and geta (the vertical lines extending beyond
horizontal strokes at the bottom of kanji). Counters and other spaces
are finely adjusted so that the overall balance of the type is not
impaired even with the use in relatively large size. The kana are made
slightly smaller than the kanji to give a good rhythm and flow when
setting long texts in the lighter weights.
%prep
%setup -Tca0
%build
%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av morisawa-biz-ud-gothic-%{version}/fonts/ttf/*.ttf "$c/"
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc morisawa-biz-ud-gothic-%{version}/README.md morisawa-biz-ud-gothic-%{version}/AUTHORS.txt morisawa-biz-ud-gothic-%{version}/CONTRIBUTORS.txt morisawa-biz-ud-gothic-%{version}/documentation/header.png
%license morisawa-biz-ud-gothic-%{version}/OFL.txt
%changelog