## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # SPDX-License-Identifier: MIT %global source_name material-design-icons %global forgeurl https://github.com/google/%{source_name} %global commit0 bb04090f930e272697f2a1f0d7b352d92dfeee43 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global commitdate 20250919 %global version0 4.0.0 %global bumpver 1 %global foundry google %global fontlicense Apache-2.0 %global fontlicenses LICENSE %global fontdocs *.md %global fontdocsex %{fontlicenses} %global common_description %{expand: These icons were built/designed as variable fonts first (based on the 24 px designs from Material Icons). There are three separate Material Symbols variable fonts, which also have static icons available (but those do not have all the variations available, as that would be hundreds of styles)} %global fontfamily Material Design VF Rounded %global fontsummary Material Design icons by Google (Material Symbols) %global fonts variablefont/MaterialSymbolsRounded*.ttf # %%global fontconfs %%{SOURCE10} %global fontdescription %{expand: %{common_description} Material Design icons fonts.} Version: %{version0}%{?bumpver:^%{bumpver}.git%{shortcommit0}} Release: %autorelease -b1 URL: %{forgeurl} VCS: git:%{url}.git Source0: %{forgeurl}/archive/%{commit0}/%{source_name}-%{shortcommit0}.tar.gz # Source10: 66-%%{fontpkgname}.conf %fontpkg %prep %autosetup -n %{source_name}-%{commit0} %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog %autochangelog