File fontworks-dotgothic16-fonts.spec of Package fontworks-dotgothic16-fonts
#
# spec file for package fontworks-dotgothic16-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: fontworks-dotgothic16-fonts
Version: 1.101
Release: 0
Summary: DotGothic16
License: OFL-1.1
Url: https://github.com/fontworks-fonts/DotGothic16
# Since there are no release packages but there are Git tags, repository archive is used.
Source: https://github.com/fontworks-fonts/DotGothic16/archive/refs/tags/Version%{version}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Dotgothic 16 is based on the old 16x16 Gothic bitmap font that can
best recreate the feel of pixel fonts from old video games, cell
phones and computer screens on print. With its high readability, this
font has become more popular in recent years due to the growing
popularity of pixel art.
%prep
%setup -Tca0
%build
%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av DotGothic16-Version%{version}/fonts/ttf/*.ttf "$c/"
%reconfigure_fonts_scriptlets
%files
%defattr(644,root,root,755)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc DotGothic16-Version%{version}/README.md DotGothic16-Version%{version}/README-JP.md DotGothic16-Version%{version}/documentation/DotGothic16.pdf DotGothic16-Version%{version}/image_DotGothic16.png
%license DotGothic16-Version%{version}/OFL.txt
%changelog