## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 commit 7925f50f649b3813257faf2f4c0b381011f434f1 %global shortcommit %{sub %{commit} 1 7} %global commitdate 20250222 %global fontname atkinson-hyperlegible-next %global fontconf 64-%{fontname} %global fontdescription %{expand: Atkinson Hyperlegible is a uniquely accessible typeface created by Braille Institute of America. It has been developed specifically to increase legibility for readers with low vision, and to improve comprehension. Atkinson Hyperlegible Next, a refined version of Atkinson Hyperlegible, improves on the original in every way. It features new weights, improved kerning, refined curves, added symbols, and additional language support. } #Name: %{fontname}-fonts Version: 2.100 Release: %autorelease URL: https://www.brailleinstitute.org/freefont/ Source0: https://github.com/googlefonts/%{fontname}/archive/%{shortcommit}.tar.gz Source1: %{fontconf}.xml #BuildArch: noarch BuildRequires: fontpackages-devel %global fontfamily Atkinson Hyperlegible Next %global fontsummary Second-gen font family made for low-vision legibility %global fontlicense OFL-1.1 %global fontlicenses OFL.txt %global fontdocs DESCRIPTION.en_us.html %global fonts fonts/otf/*.otf %fontpkg -a %fontmetapkg %prep %setup -n %{fontname}-%{commit} %build %fontbuild -a %install %fontinstall #install -m 0755 -d %{buildroot}%{_fontdir} #install -m 0644 -p fonts/otf/*.otf %{buildroot}%{_fontdir} #install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir} #install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.xml #for fconf in %{fontconf}.xml ; do # ln -s %{_fontconfig_templatedir}/$fconf \ # %{buildroot}%{_fontconfig_confdir}/$fconf #done #%_font_pkg -f %{fontconf}.xml AtkinsonHyperlegibleNext-*.otf %check %fontcheck -a %fontfiles -a #%files #%doc DESCRIPTION.en_us.html #%license OFL.txt %changelog ## START: Generated by rpmautospec * Thu Jul 31 2025 John Doe - 2.100-1 - Uncommitted changes ## END: Generated by rpmautospec