File atkinson-hyperlegible-fonts.spec of Package atkinson-hyperlegible-fonts
#
# spec file for package atkinson-hyperlegible-fonts
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _fname atkinson-hyperlegible
%define _commit 1cb311624b2ddf88e9e37873999d165a8cd28b46
Name: atkinson-hyperlegible-fonts
Version: 1.006
Release: 0
Summary: High-legibility typeface
License: OFL-1.1
Group: System/X11/Fonts
URL: https://www.brailleinstitute.org/freefont
Source0: https://github.com/googlefonts/%{_fname}/archive/%{_commit}/%{_fname}-%{_commit}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fontpackages-devel
BuildArch: noarch
%reconfigure_fonts_prereq
%description
This packages contains the Atkinson Hyperlegible fonts, based on a
a typeface focusing on letterform distinction for legibility for low
vision readers.
%prep
%autosetup -n %{_fname}-%{_commit}
%build
%install
install -Dm0644 -t %{buildroot}%{_ttfontsdir} fonts/ttf/*.ttf
%reconfigure_fonts_scriptlets
%check
%files
%defattr(0644,root,root,755)
%license OFL.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/AtkinsonHyperlegible-*.ttf
%changelog