mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 7c8c611fd7)
Co-authored-by: Pornpipat Popum <cappy@cappuchino.xyz>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "natrium-fonts.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
%global orgprefix fyralabs
|
||||
%global fontcontact security@fyralabs.com
|
||||
%global fontorg co.tauos
|
||||
%global foundry Fyra Labs
|
||||
%global fontlicense OFL-1.1
|
||||
%global fontlicenses LICENSE.md
|
||||
%global fontdocs README.md
|
||||
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
%global fontfamily Natrium
|
||||
%global fontsummary Natrium - The tauOS UI font
|
||||
%global fonts Natrium/otf/*.otf
|
||||
%global fontdescription %fontsummary
|
||||
|
||||
URL: https://github.com/tau-OS/natrium
|
||||
Provides: natrium-fonts = %{version}-%{release}
|
||||
Source0: %url/releases/download/v%{version}/natrium-fonts.zip
|
||||
|
||||
BuildRequires: fontforge
|
||||
BuildRequires: rpm_macro(fontpkg)
|
||||
|
||||
|
||||
%global fonts2 NatriumMono/otf/*.otf
|
||||
%global fontfamily2 Natrium Mono
|
||||
%global fontsummary2 Natrium Mono - The tauOS monospace font
|
||||
%global fontdescription2 %fontsummary2
|
||||
|
||||
%fontpkg -a
|
||||
%fontmetapkg
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -c
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
%fontinstall -a
|
||||
|
||||
|
||||
|
||||
%check
|
||||
%fontcheck -a
|
||||
|
||||
%fontfiles -a
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("tau-OS/natrium"));
|
||||
Reference in New Issue
Block a user