%global fontname cascadia-code Name: %{fontname}-fonts Version: 1911.21 Release: 1%{?dist} Summary: Monospaced font that includes programming ligatures License: OFL URL: https://github.com/microsoft/cascadia-code Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/Cascadia.ttf Source2: %{url}/releases/download/v%{version}/CascadiaPL.ttf BuildArch: noarch #BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal. %prep %autosetup -n %{fontname}-%{version} %install install -m 0644 -Dp %{SOURCE1} %{buildroot}%{_datadir}/fonts/%{fontname}/Cascadia.ttf install -m 0644 -Dp %{SOURCE2} %{buildroot}%{_datadir}/fonts/%{fontname}/CascadiaPL.ttf %files %license LICENSE OFL-FAQ.txt %doc CODE_OF_CONDUCT.md FONTLOG.txt README.md %{_datadir}/fonts/%{fontname}/*.ttf %changelog * Fri Nov 22 2019 Artem Polishchuk - 1911.21-1 - Update to 1911.21 * Thu Nov 21 2019 Artem Polishchuk - 1911.20-1 - Update to 1911.20 * Thu Sep 19 2019 Artem Polishchuk - 1909.16-1 - Initial package - MS ❤️ Linux (nope)