File fantasque-sans-fonts.spec of Package fantasque-sans-fonts

#
# spec file for package fantasque-sans-fonts
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#

# Definitions
%define fontname fantasque-sans

Name:		fantasque-sans-fonts
Summary:	Fantasque Sans Mono Font
License:	OFL-1.1
Group:		System/X11/Fonts
BuildArch:	noarch
Version:	1.8.0
Release:	1
Source:		https://github.com/belluzj/%{fontname}/releases/download/v%{version}/FantasqueSansMono-Normal.tar.gz
URL:		https://fontlibrary.org/en/font/fantasque-sans-mono
BuildRequires:  fontpackages-devel

%reconfigure_fonts_prereq
## If the font supports several languages (denoted as X and Y), it's recommended
## to add the following lines:
# Provides:       scalable-font-X
# Provides:       scalable-font-Y
Provides:       locale(bat;cyrl;el;la;ca;eo;nl;ro;tr)

%description
Fantasque Sans Mono is an open source (OFL-licensed) monospace typeface with a distinct slightly cursive look to it. 

Designer: Jany Belluz

#-----
%prep
%setup -q -c -n %{fontname}

%build

#-----
%install
install -d '%{buildroot}%{_ttfontsdir}'
install '-t%{buildroot}%{_ttfontsdir}' -m 644 OTF/*.otf

# call fonts-config after installation or deinstallation of this package
%reconfigure_fonts_scriptlets

%files
%doc README.md
%license LICENSE.txt
%{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by