File iosevka-fusion-fonts.spec of Package iosevka-fusion-fonts

%global         source_name Iosevka
%global         debug_package %{nil}
%undefine       _disable_source_fetch

Name:           iosevka-fusion-fonts
Version:        3.7.1
Release:        1%{?dist}
Summary:        A custom font based on iosevka

License:        SIL Open Font License Version 1.1
Source0:        v%{version}.tar.gz
Source1:        iosevka-fusion.toml

BuildArch:      noarch

BuildRequires:  clang
BuildRequires:  npm
BuildRequires:  ttfautohint

Based on Iosevka font,,
this font mixes elements from various fonts tailored to my personal taste.

%setup -n %{source_name}-%{version}
%{__cp} %SOURCE1 %{_builddir}/%{source_name}-%{version}/private-build-plans.toml

npm install
npm run build -- ttf::iosevka-fusion

%{__rm} -rf %{buildroot}
%{__install} -D -m 0644 %{_builddir}/%{source_name}-%{version}/dist/iosevka-fusion/ttf/*.ttf -t %{buildroot}%{_datadir}/fonts/%{name}

%{__rm} -rf %{buildroot}


* Tue Nov 17 11:42:02 EST 2020 Peter Wu <>
- New Release - v3.7.1