google-noto-fonts/google-noto-fonts.spec.in
Gordon Leung 9c4d952818 - Update to 20230701
* Sans Kaithi, Sans Psalter Pahlavi, Serif Toto, Sans Nag Mundari,
   Sans Old Italic, Sans Old Sogdian, Sans Old Turkic, Serif Old Uyghur,
   Sans Masaram Gondi, Sans Hebrew, Sans Math, Sans Limbu, Sans Mandaic,
   and Sans Marchen have all received updates

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=75
2024-07-02 05:02:50 +00:00

67 lines
2.1 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 06
%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.6.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.7.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.7.1/fonts/LICENSE .
%build
%install
rm -r notofonts.github.io-noto-monthly-release-24.7.1/fonts/Noto*Test
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.7.1/fonts/*/hinted/ttf/*
@SUBPACKAGE_SCRIPTLETS@
%files
@SUBPACKAGE_FILELISTS@
%changelog