cozette-fonts/cozette-fonts.spec
Takashi Iwai 820e3ab407 Accepting request 774700 from home:andythe_great
Initial package for cozette font. The .otf file is not found in the source file but can be found in the same git repo.

OBS-URL: https://build.opensuse.org/request/show/774700
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/cozette-fonts?expand=0&rev=1
2020-02-17 11:44:46 +00:00

57 lines
1.6 KiB
RPMSpec

#
# spec file for package cozette-fonts
#
# Copyright (c) 2020 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 https://bugs.opensuse.org/
#
%define ttf_fontdir %{_datadir}/fonts/truetype
%define fontname Cozette
%define fontversion 1.4.0
Name: cozette-fonts
Version: 1.4.0+git.1581781581.7882aee
Release: 0
Summary: A bitmap programming font
License: MIT
Group: System/X11/Fonts
URL: https://github.com/slavfox/Cozette
Source0: Cozette-%{version}.tar.xz
Source1: %{url}/releases/download/v.%{fontversion}/CozetteVector.otf
BuildRequires: %{suseconfig_fonts_prereq}
BuildRequires: fontpackages-devel
BuildArch: noarch
%reconfigure_fonts_prereq
%description
A bitmap font with great coverage of all the glyphs
that might encounter in the terminal.
%prep
%setup -q -n %{fontname}-%{version}
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}
install -m 0644 %{SOURCE1} %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets
%files
%{_ttfontsdir}
%license LICENSE
%doc CHANGELOG.md README.md
%changelog