google-noto-fonts/google-noto-fonts.spec.in

68 lines
2.2 KiB
RPMSpec

#
# spec file for package google-noto-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 hyear 2024
%define hmonth 09
%define hday 01
%define src_name NotoFonts
# DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run generate-specfile.sh script
Name: google-noto-fonts
Version: %{hyear}%{hmonth}%{hday}
Release: 0
Summary: All Noto Fonts except CJK and Emoji
License: OFL-1.1
URL: https://notofonts.github.io/
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.9.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.9.1.tar.gz
Source1: generate-specfile.sh
Source2: README.FAQ
Source3: README.maintain
BuildRequires: fontpackages-devel
BuildArch: noarch
Obsoletes: noto-fonts < %{version}
Provides: noto-fonts = %{version}
@LIST_OF_SUBPACKAGES@
%description
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
thicknesses) across languages. This package contains most noto fonts except for CJK and Emoji.
@SUBPACKAGE_HEADERS@
%prep
%autosetup -c
cp notofonts.github.io-noto-monthly-release-24.9.1/fonts/LICENSE .
%build
%install
rm -r notofonts.github.io-noto-monthly-release-24.9.1/fonts/Noto*Test
rm -r notofonts.github.io-noto-monthly-release-24.9.1/fonts/NotoSansArabicUI
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.9.1/fonts/*/hinted/ttf/*
@SUBPACKAGE_SCRIPTLETS@
%files
@SUBPACKAGE_FILELISTS@
%changelog