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
This commit is contained in:
2020-02-17 11:44:46 +00:00
committed by Git OBS Bridge
commit 820e3ab407
7 changed files with 110 additions and 0 deletions

25
.gitattributes vendored Normal file
View File

@@ -0,0 +1,25 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
CozetteVector.otf filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b75f010203bc5b07708523dae675f143efcfd95faeedc4225e95366810fdd48
size 72784

3
CozetteVector.otf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8df13fa0c5d198b98c973470191d86855d4f38043f94f071ef8ca57ea1b904e
size 51948

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">git://github.com/slavfox/Cozette.git</param>
<param name="scm">git</param>
<param name="revision">7882aee</param>
<param name="versionprefix">1.4.0+git</param>
<param name="versionformat">%ct.%h</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version" />
<service mode="disabled" name="download_files" />
</services>

6
cozette-fonts.changes Normal file
View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Sun Feb 16 00:22:51 UTC 2020 - andy great <andythe_great@pm.me>
- Initial release.

56
cozette-fonts.spec Normal file
View File

@@ -0,0 +1,56 @@
#
# 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