## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autochangelog ## 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 common_desc %{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.0.0 Release: 0%{?dist} Summary: Second-gen font family made for legibility and comprehension with low-vision License: OFL-1.1 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 fontlicense OFL %global fontlicenses %{fontname}-%{commit}/OFL.txt Requires: %{name}-common = %{version}-%{release} %description %common_desc %package common Summary: Common files of %{name} Requires: fontpackages-filesystem %description common %common_desc This package consists of files used by other %{name} packages. %package -n %{fontname}-web-fonts Summary: Second-gen font family made for legibility and comprehension with low-vision Requires: %{name}-common = %{version}-%{release} %description -n %{fontname}-web-fonts %common_desc This package contains Web Open Font Format version 2 files. %prep %setup -n %{fontname}-%{commit} %build %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p fonts/otf/*.otf %{buildroot}%{_fontdir} install -m 0644 -p fonts/webfonts/*.woff2 %{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 %_font_pkg -n web AtkinsonHyperlegibleNext*.woff2 %check %fontcheck -a %fontfiles -a %files common %defattr(0644,root,root,-) %doc DESCRIPTION.en_us.html %{fontname}-%{version}/DESCRIPTION.en_us.html %changelog ## START: Generated by rpmautospec * Tue May 20 2025 John Doe - 2.0.0-1 - Uncommitted changes ## END: Generated by rpmautospec