ba3a94f6b0
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/saja-cascadia-code-fonts?expand=0&rev=1
54 lines
1.8 KiB
RPMSpec
54 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package cascadia-code-fonts
|
|
#
|
|
# Copyright (c) 2019 Xu Zhao (i@xuzhao.net).
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define fontname cascadia-code
|
|
Name: saja-cascadia-code-fonts
|
|
Version: 1910.04
|
|
Release: 0
|
|
Summary: Monospace terminal fonts from Microsoft
|
|
License: OFL-1.1
|
|
Group: System/X11/Fonts
|
|
Url: https://github.com/microsoft/cascadia-code
|
|
Source0: https://github.com/microsoft/cascadia-code/archive/v%{version}.tar.gz
|
|
BuildRequires: fontpackages-devel
|
|
%reconfigure_fonts_prereq
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Cascadia Code is a monospaced font that was designed also with Visual Studio / Visual Studio Code in mind. But it's open-source and a TTF version is available, so for anyone interested you can use it where desired. Cascadia Code carries the SIL Open Font license.
|
|
|
|
%prep
|
|
%setup -q -n %{fontname}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_ttfontsdir}/
|
|
install -m 0644 *.ttf %{buildroot}%{_ttfontsdir}
|
|
|
|
%reconfigure_fonts_scriptlets
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%dir %{_ttfontsdir}/
|
|
%{_ttfontsdir}/*
|
|
%license LICENSE
|
|
|
|
%changelog
|