File supernotes-snpro-fonts.spec of Package supernotes-snpro-fonts

#
# spec file for package snpro-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/
#


%define fontname snpro

Name:           supernotes-snpro-fonts
Version:        1.0
Release:        0
Summary:        Sans-serif typeface with rounded font tips
License:        OFL-1.1
Group:          System/X11/Fonts
BuildArch:      noarch
Source:         SN-Pro.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
%reconfigure_fonts_prereq
URL:            https://supernotes.app/open-source/sn-pro/

%description
SN Pro is a sans-serif fontface based on Nunito, a brilliant rounded
font designed by Vernon Adams. SN Pro has lowered cap heights,
improved kerning, and quirky characters like 'Q' and 't' were
modified.

%prep
%autosetup -p1 -cn SNPro

%build

%install
install -d %{buildroot}%{_ttfontsdir}
install -m 644 SNPro/*.otf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%files
%license SNPro/OFL.txt
%doc SNPro/README.md
%{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by