2020-02-17 11:44:46 +00:00
|
|
|
#
|
|
|
|
# spec file for package cozette-fonts
|
|
|
|
#
|
2022-12-23 10:12:59 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2020-02-17 11:44:46 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2020-11-26 09:12:41 +00:00
|
|
|
|
2020-02-17 11:44:46 +00:00
|
|
|
%define fontname Cozette
|
|
|
|
Name: cozette-fonts
|
2023-12-31 09:02:52 +00:00
|
|
|
Version: 1.23.1
|
2020-02-17 11:44:46 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A bitmap programming font
|
|
|
|
License: MIT
|
|
|
|
Group: System/X11/Fonts
|
|
|
|
URL: https://github.com/slavfox/Cozette
|
2023-12-31 09:02:52 +00:00
|
|
|
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
|
2020-02-17 11:44:46 +00:00
|
|
|
BuildRequires: %{suseconfig_fonts_prereq}
|
|
|
|
BuildRequires: fontpackages-devel
|
2023-12-31 09:02:52 +00:00
|
|
|
BuildRequires: unzip
|
2020-02-17 11:44:46 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%reconfigure_fonts_prereq
|
|
|
|
|
|
|
|
%description
|
|
|
|
A bitmap font with great coverage of all the glyphs
|
|
|
|
that might encounter in the terminal.
|
|
|
|
|
|
|
|
%prep
|
2023-12-31 09:02:52 +00:00
|
|
|
%setup -q -n %{fontname}Fonts
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
cp %{SOURCE2} .
|
2020-02-17 11:44:46 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
2023-12-31 09:02:52 +00:00
|
|
|
find . -name "*.ttf" -execdir install -m 0644 {} %{buildroot}%{_ttfontsdir}/ \;
|
2020-02-17 11:44:46 +00:00
|
|
|
|
|
|
|
%reconfigure_fonts_scriptlets
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_ttfontsdir}
|
|
|
|
%license LICENSE
|
2023-12-31 09:02:52 +00:00
|
|
|
%doc README.md CHANGELOG.md
|
2020-02-17 11:44:46 +00:00
|
|
|
|
|
|
|
%changelog
|