File arrowtype-recursive-fonts.spec of Package arrowtype-recursive-fonts
#
# spec file for package arrowtype-recursive-fonts
#
# Copyright (c) 2022 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/
#
Name: arrowtype-recursive-fonts
Version: 1.085
Release: 0
Summary: A variable font family for code & UI
License: OFL-1.1
Group: System/X11/Fonts
Url: https://github.com/arrowtype/recursive
Source: https://github.com/arrowtype/recursive/releases/download/v%{version}/ArrowType-Recursive-1.085.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
Built to maximize versatility, control, and performance, Recursive is a
five-axis variable font. This enables you to choose from a wide range of
predefined styles, or dial in exactly what you want for each of its axes:
Monospace, Casual, Weight, Slant, and Cursive.
Designer: Arrow Type
%package -n arrowtype-recursive-sans-fonts
Summary: A variable font made for text & user interface design
Group: System/X11/Fonts
%description -n arrowtype-recursive-sans-fonts
Recursive Sans is made for text & user interface design. While its proportional
characters deliver comfortable reading at text sizes, its heaviest weights are
perfect to create punchy, tightly-spaced headlines.
%package -n arrowtype-recursive-mono-fonts
Summary: A variable font made for code
Group: System/X11/Fonts
%description -n arrowtype-recursive-mono-fonts
Recursive Mono is made for code. Its characters share the same width for clear
legibility and perfect alignment. This is particularly helpful for use in
programming and data-heavy design tasks, but also allows for creative
possibilities in display typography.
%prep
%setup -Tcqa0
%build
%install
install -d %{buildroot}%{_ttfontsdir}
install -m0644 */Recursive_Code/*/*.ttf %{buildroot}%{_ttfontsdir}
install -m0644 */Recursive_Desktop/*/TTF/RecursiveSans*.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets -c -n arrowtype-recursive-sans-fonts
%reconfigure_fonts_scriptlets -c -n arrowtype-recursive-mono-fonts
%files -n arrowtype-recursive-sans-fonts
%doc */Recursive_Desktop/README.md
%license */LICENSE.txt
%dir %{_ttfontsdir}/
%{_ttfontsdir}/RecursiveSans*.*
%files -n arrowtype-recursive-mono-fonts
%doc */Recursive_Code/README.md
%license */LICENSE.txt
%dir %{_ttfontsdir}/
%{_ttfontsdir}/RecMono*.*
%changelog