File artakana-dela-gothic-one-fonts.spec of Package artakana-dela-gothic-one-fonts
#
# spec file for package artakana-dela-gothic-one-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 da8b03e57a8977132b3d0358c48c8463374c74ab
Name: artakana-dela-gothic-one-fonts
Version: 1.004
Release: 0
Summary: Dela Gothic
License: OFL-1.1
Url: https://github.com/syakuzen/DelaGothic
# Since there are no release packages nor Git tags, repository archive is used.
Source: https://github.com/syakuzen/DelaGothic/archive/%{commit_id}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
DelaGothic is a flat, very thick Gothic body. Its stability and
strength make it ideal for use on posters and packaging.
%prep
%setup -Tca0
%build
%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av DelaGothic-%{commit_id}/fonts/ttf/*.ttf "$c/"
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc DelaGothic-%{commit_id}/README.md DelaGothic-%{commit_id}/AUTHORS.txt DelaGothic-%{commit_id}/CONTRIBUTORS.txt
%license DelaGothic-%{commit_id}/OFL.txt
%changelog