%global commit 6d4a1cbbb77520ad317ed5a3b26185867cc1dca8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global snapdate 20260515 Name: material-symbols-fonts Version: 4.0.0^%{snapdate}git%{shortcommit} Release: 1%{?dist} Summary: Material Symbols variable icon font by Google License: Apache-2.0 URL: https://github.com/google/material-design-icons Source0: %{url}/raw/%{commit}/variablefont/MaterialSymbolsOutlined%%5BFILL%%2CGRAD%%2Copsz%%2Cwght%%5D.ttf#/MaterialSymbolsOutlined.ttf Source1: %{url}/raw/%{commit}/variablefont/MaterialSymbolsRounded%%5BFILL%%2CGRAD%%2Copsz%%2Cwght%%5D.ttf#/MaterialSymbolsRounded.ttf Source2: %{url}/raw/%{commit}/variablefont/MaterialSymbolsSharp%%5BFILL%%2CGRAD%%2Copsz%%2Cwght%%5D.ttf#/MaterialSymbolsSharp.ttf BuildArch: noarch %description Material Symbols variable icon font in Outlined, Rounded, and Sharp styles. %prep # Font files are used directly as sources %build # Nothing to build %install install -m 0755 -d %{buildroot}%{_datadir}/fonts/%{name} install -m 0644 -p "%{SOURCE0}" %{buildroot}%{_datadir}/fonts/%{name}/MaterialSymbolsOutlined.ttf install -m 0644 -p "%{SOURCE1}" %{buildroot}%{_datadir}/fonts/%{name}/MaterialSymbolsRounded.ttf install -m 0644 -p "%{SOURCE2}" %{buildroot}%{_datadir}/fonts/%{name}/MaterialSymbolsSharp.ttf %files %{_datadir}/fonts/%{name} %changelog %autochangelog