File google-alumni-sans-fonts.spec of Package google-alumni-sans-fonts

#
# spec file for package google-alumni-sans-fonts
#
# Copyright (c) 2023 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 git_hash 44a7998
Name:           google-alumni-sans-fonts
Version:        1.018
Release:        0
Summary:        Alumni typeface
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://github.com/googlefonts/alumni
Source0:        %{url}/tarball/%{git_hash}#/%{name}-%{version}.tar.gz
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
Originally inspired by the black face Impact, it soon evolved to include
numerous weights from the Black flavor of its progenitor to a super Thin
weight.

The extreme weights (Thin and Black) are designed for display situations while
the remaining weights may be used for more traditional textual design
applications.

%prep
%autosetup -n googlefonts-alumni-%{git_hash}

%build

%install
install -dm0755 %{buildroot}%{_ttfontsdir}
install -m0644 fonts/otf/*.otf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%files
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.otf
%doc README.md {AUTHORS,CONTRIBUTORS}.txt Documentation/*
%license OFL.txt

%changelog
openSUSE Build Service is sponsored by