File google-geologica-fonts.spec of Package google-geologica-fonts
#
# spec file for package google-geologica-fonts
#
# Copyright (c) 2024 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/
#
%global desc Geologica is grounded in the humanist genre, but leans assertively into \
geometric, constructed letterforms to find its stability. The wide stance,\
generous spacing, large apertures and even colour makes Geologica a serious\
text typeface. The stylistic “Sharpness” axis adds a rational interpretation of\
calligraphic pen strokes – a modernist echo of the roots of writing.\
\
The default style of the Geologica typeface is a sober humanist sans serif with\
a rational finish. The terminals are perpendicular to the direction of the pen\
stroke, emphasising the monolinearity of the letterforms. The alternate “Sharp”\
styles introduces details derived from writing with a broad-nib pen. Sharp\
points arise where the imagined pen is set to paper. These details are echoed\
in the Carthesian terminal treatment, causing curved shapes to form sharp inner\
points as they terminate.\
\
Geologica uses the power of the OpenType Variable Font format to simultaneously\
morph between Light and Black weights, Upright and Oblique, and stylistic\
variants. This gives an incredibly rich typographic palette, making Geologica a\
typeface of great versatility.
Name: google-geologica-fonts
Version: 1.010+git1681348297.685f38d7
Release: 0
Summary: A sober humanist sans serif typeface
License: OFL-1.1
Group: System/X11/Fonts
URL: https://github.com/googlefonts/geologica
Source0: %{name}-%{version}.tar.xz
BuildRequires: fontpackages-devel
BuildArch: noarch
%reconfigure_fonts_prereq
%description
%{desc}
%package -n google-geologica-variable-fonts
Summary: A sober humanist sans serif typeface (variable version)
%description -n google-geologica-variable-fonts
%{desc}
This package contains variable fonts.
%prep
%autosetup
chmod 0644 {OFL,AUTHORS,CONTRIBUTORS}.txt README.md
%build
%install
install -dm0755 %{buildroot}%{_ttfontsdir}
install -m0644 fonts/{ttf,variable}/*.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%files
%license OFL.txt
%doc README.md {AUTHORS,CONTRIBUTORS}.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.ttf
%exclude %{_ttfontsdir}/Geologica[CRSV,SHRP,slnt,wght].ttf
%files -n google-geologica-variable-fonts
%license OFL.txt
%doc README.md {AUTHORS,CONTRIBUTORS}.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/Geologica[CRSV,SHRP,slnt,wght].ttf
%changelog