File zen-marugothic-fonts.spec of Package zen-marugothic-fonts
#
# spec file for package zen-marugothic-fonts
#
# Copyright (c) 2024 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 http://bugs.opensuse.org/
#
%global commit_id decae11c15a25910ded2a06a9d27ee01c4addc76
Name: zen-marugothic-fonts
Version: 1.002
Release: 0
Summary: Rounded sans serif font family
License: OFL-1.1
URL: https://github.com/googlefonts/zen-marugothic
# Since there are no release packages nor Git tags, repository archive is used.
Source: https://github.com/googlefonts/zen-marugothic/archive/%{commit_id}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildArch: noarch
%description
Zen Maru Gothis is a rounded sans serif family that gives a soft and
natural impression due to the deep rounds in the corners.
%prep
%autosetup -Tca0
%build
%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av zen-marugothic-%{commit_id}/fonts/ttf/*.ttf "$c/"
%reconfigure_fonts_scriptlets
%files
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc zen-marugothic-%{commit_id}/README.md zen-marugothic-%{commit_id}/images/*.png
%license zen-marugothic-%{commit_id}/OFL.txt
%changelog