File tanukizamurai-yusei-magic-fonts.spec of Package tanukizamurai-yusei-magic-fonts
#
# spec file for package tanukizamurai-yusei-magic-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/
#
%global commit_id 77e9fd3bcea003fc115f377cbd0f2fe2963d4979
Name: tanukizamurai-yusei-magic-fonts
Version: 1.200
Release: 0
Summary: Yusei Magic
License: OFL-1.1
Url: https://github.com/tanukifont/YuseiMagic
# Since there are no release packages nor Git tags, repository archive is used.
Source: https://github.com/tanukifont/YuseiMagic/archive/%{commit_id}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Yusei Magic is a font based on handwritten letters written with
permanent marker. It has a thick vertical stroke and a thin horizontal
stroke, so it is highly visible. The design of the letters has both
the strength of bold lines and the softness of spaciousness. Highly
recommended for handwriting on blackboards and pop art designs.
%prep
%setup -Tca0
%build
%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av YuseiMagic-%{commit_id}/fonts/ttf/*.ttf "$c/"
rm -f YuseiMagic-%{commit_id}/documentation/YuseiMagic-Characters-List.ai
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc YuseiMagic-%{commit_id}/README.md YuseiMagic-%{commit_id}/AUTHORS.txt YuseiMagic-%{commit_id}/CONTRIBUTORS.txt YuseiMagic-%{commit_id}/FONTLOG.txt YuseiMagic-%{commit_id}/documentation
%license YuseiMagic-%{commit_id}/OFL.txt
%changelog