File fira-code-fonts.spec of Package fira-code-fonts

#
# spec file for package hack-fonts
#
# Copyright (c) 2020 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 http://bugs.opensuse.org/
#

Name:           fira-code-fonts
Version:        5.2
Release:        1
Summary:        Monospaced font with programming ligatures
License:        OFL-1.1
Group:          System/X11/Fonts
Url:            https://github.com/tonsky/FiraCode
Source:         FiraCode-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  fontpackages-devel

%reconfigure_fonts_prereq

%description
Fira Code is a free monospaced font containing ligatures for common programming multi-character combinations.

%prep
%setup -q -n FiraCode-%{version}

%build

%install
mkdir -p %{buildroot}%{_ttfontsdir}
install -m644 distr/ttf/*.ttf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

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

%changelog
openSUSE Build Service is sponsored by