cozette-fonts/cozette-fonts.spec
Takashi Iwai f34914237b Accepting request 1134230 from home:uncomfyhalomacro:branches:M17N:fonts
- Remove _service file
- Remove otf font
- Add README.md and CHANGELOG.md as sources.
- Update to version 1.23.1:
  * v.1.23.1 Emoji bugfix, new images
  * v.1.23.0: the Uiua update.
  * v.1.22.2 More math symbols
  * docs: Add FreeBSD pkg
  * v.1.22.1 Caron fixes
  * v.1.22.0 the zodiac update
  * v.1.21.0-woff - Fix OS/2 tables, add woff/woff2 export
  * v.1.21.0 The BQN update
  * Added BQN glyphs + some miscellaneous glyphs

OBS-URL: https://build.opensuse.org/request/show/1134230
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/cozette-fonts?expand=0&rev=16
2023-12-31 09:02:52 +00:00

59 lines
1.8 KiB
RPMSpec

#
# spec file for package cozette-fonts
#
# Copyright (c) 2022 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 fontname Cozette
Name: cozette-fonts
Version: 1.23.1
Release: 0
Summary: A bitmap programming font
License: MIT
Group: System/X11/Fonts
URL: https://github.com/slavfox/Cozette
Source0: https://github.com/slavfox/Cozette/releases/download/v.%{version}/CozetteFonts-v-1-23-1.zip
Source1: https://raw.githubusercontent.com/slavfox/Cozette/v.%{version}/README.md
Source2: https://raw.githubusercontent.com/slavfox/Cozette/v.%{version}/CHANGELOG.md
BuildRequires: %{suseconfig_fonts_prereq}
BuildRequires: fontpackages-devel
BuildRequires: unzip
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}Fonts
cp %{SOURCE1} .
cp %{SOURCE2} .
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}
find . -name "*.ttf" -execdir install -m 0644 {} %{buildroot}%{_ttfontsdir}/ \;
%reconfigure_fonts_scriptlets
%files
%{_ttfontsdir}
%license LICENSE
%doc README.md CHANGELOG.md
%changelog