## 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 roboto-flex %global forgeurl https://github.com/googlefonts/roboto-flex %global commit0 739e06dc46ebb14cddd88b9768a6c1504d4677f6 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global commitdate 20230630 %global version0 3.200 %global bumpver 1 %global foundry google %global fontlicense OFL-1.1 %global fontlicenses OFL.txt %global fontdocs *.md %global fontdocsex %{fontlicenses} %global common_description %{expand: Roboto became a flagship Google brand typeface in 2011, as the Android operating system UI type. It is prominently positioned in the global design community, with Google using it on Android, in web apps, and for branded content at small sizes. It is the default face of the Material Design Specification, and available to everyone under an unrestrictive license, it has been adopted by more than 11M websites and has become the most popular family in the Google Fonts library. In 2016 the OpenType format was updated with a revised version of Apple's “TrueType GX” run-time interpolation technology. The primary motivation for the OpenType specification authors to do this was obtaining dramatic reductions in the file-size of large font families, such as Google's Noto fonts. They want to make variable fonts meaningful. Variable fonts create new typographic possibilities, and could improve Material Specification Typography guidance in myriad ways. Today the Material typography guidelines include adjustments for tracking and font weight that are used to improve typographic-color and texture. Variations allow those adjustments to be built-in and “just work.” After the public announcement of the technology, the Google Fonts team commissioned Font Bureau to develop a pilot project, Amstelvar, that demonstrates a novel approach that uses a system of inter-related axes. This increases the fine typographic control available to typographers, and enables a new kind of “parametric” typography.} %global fontfamily Roboto Flex %global fontsummary Google Roboto Flex Fonts %global fonts fonts/RobotoFlex*.ttf # %%global fontconfs %%{SOURCE10} %global fontdescription %{expand: %{common_description} Roboto Flex 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