File morisawa-biz-ud-mincho-fonts.spec of Package morisawa-biz-ud-mincho-fonts

#
# spec file for package morisawa-biz-ud-mincho-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-mincho-fonts
Version:        1.06
Release:        0
Summary:        Universal design Japanese typeface
License:        OFL-1.1
Group:          System/X11/Fonts
Url:            https://github.com/googlefonts/morisawa-biz-ud-mincho

Source:         v%{version}.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
%reconfigure_fonts_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
BIZ UD Mincho is a universal design typeface designed to be easy to
read and ideal for education and business documentation. It combines
high quality in readability and legibility while carrying on the
stately Japanese Mincho type tradition. BIZ UD Mincho bases its design
on one of the typefaces from the Morisawa font library, which has
thicker horizontal lines than the traditional Mincho type style.
Because most Mincho types have thin horizontal strokes, the style can
be difficult to read on some displays or signs and for people with low
vision. For the universal design version, dakuten (゛) and handakuten
(゜) voicing marks are designed to be more legible, and the
letterforms are adjusted to maintain their balance while having a
larger face and wider counters.

%prep
%setup -Tca0

%build

%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av morisawa-biz-ud-mincho-%{version}/fonts/ttf/*.ttf "$c/"

%reconfigure_fonts_scriptlets

%files
%defattr(-,root,root)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc morisawa-biz-ud-mincho-%{version}/README.md morisawa-biz-ud-mincho-%{version}/AUTHORS.txt morisawa-biz-ud-mincho-%{version}/CONTRIBUTORS.txt morisawa-biz-ud-mincho-%{version}/documentation/header.png
%license morisawa-biz-ud-mincho-%{version}/OFL.txt

%changelog
openSUSE Build Service is sponsored by