File symbols-only-nerd-fonts.spec of Package symbols-only-nerd-fonts

#
# spec file for package symbols-only-nerd-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/
#

Name:           symbols-only-nerd-fonts
Version:        3.0.2
Release:        0
Summary:        A glyphs-only version of Nerd Fonts
License:        MIT
Group:          System/X11/Fonts
URL:			https://github.com/ryanoasis/nerd-fonts
Source:			https://github.com/ryanoasis/nerd-fonts/releases/download/v%{version}/NerdFontsSymbolsOnly.tar.xz
BuildRequires:  fontpackages-devel
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
Nerd Fonts takes popular programming fonts and adds a bunch of glyphs.
This package only contains the symbols without including a base font.

%prep
%autosetup -c

%build

%install
install -d %{buildroot}%{_ttfontsdir} %{buildroot}%{_docdir}/%{name} %{buildroot}%{_licensedir}/%{name}
install -m644 *.ttf %{buildroot}%{_ttfontsdir}
install -m644 README.md %{buildroot}%{_docdir}/%{name}
install -m644 LICENSE %{buildroot}%{_licensedir}/%{name}


%reconfigure_fonts_scriptlets

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

%changelog
openSUSE Build Service is sponsored by