From 447b808ce75a133c144de92c51196d07515afbae Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 25 Nov 2022 16:40:14 +0900 Subject: [PATCH] Add an alias for Symbol font to Noto Sans Symbols/Symbols2. Resolves: rhbz#2088665 --- google-noto-fonts.spec | 21 +++++++++++++--- google-noto-sans-symbols-ex.conf | 38 +++++++++++++++++++++++++++++ google-noto-sans-symbols-vf-ex.conf | 38 +++++++++++++++++++++++++++++ google-noto-sans-symbols2-ex.conf | 38 +++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+), 4 deletions(-) create mode 100644 google-noto-sans-symbols-ex.conf create mode 100644 google-noto-sans-symbols-vf-ex.conf create mode 100644 google-noto-sans-symbols2-ex.conf diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec index 44a2094..bae7d41 100644 --- a/google-noto-fonts.spec +++ b/google-noto-fonts.spec @@ -22,7 +22,7 @@ in Unicode.\ Name: %{fontname}-fonts Version: 20201206^1.git%{snapver} -Release: 6%{?dist} +Release: 7%{?dist} Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts License: OFL URL: https://github.com/googlefonts/noto-fonts/ @@ -32,6 +32,9 @@ Source1: google-noto-sans-math-vf.conf Source2: google-noto-sans-math.conf Source3: google-noto-naskh-arabic-ex.conf Source4: NotoSansSinhala-v2.006.zip +Source5: google-noto-sans-symbols-ex.conf +Source6: google-noto-sans-symbols2-ex.conf +Source7: google-noto-sans-symbols-vf-ex.conf BuildArch: noarch BuildRequires: fonts-rpm-macros @@ -60,8 +63,12 @@ local subpackages = { { alias="cursive", family="Rashi Hebrew", lang={ "he" } }, { alias="fantasy", family="Music" }, - { alias="fantasy", family="Sans Symbols" }, - { alias="fantasy", family="Sans Symbols2" }, + { alias="fantasy", family="Sans Symbols", + fcconfexfile=rpm.expand('%{SOURCE5}') + }, + { alias="fantasy", family="Sans Symbols2", + fcconfexfile=rpm.expand('%{SOURCE6}') + }, { alias="sans-serif", family="Looped Lao", lang={ "lo" }, nogroup=1, obsoletes={ "sans-lao-looped" } @@ -418,7 +425,9 @@ local subpackages = { { alias="cursive", variable=true, family="Nastaliq Urdu", lang={ "ur" } }, { alias="cursive", variable=true, family="Rashi Hebrew", lang={ "he" } }, - { alias="fantasy", variable=true, family="Sans Symbols" }, + { alias="fantasy", variable=true, family="Sans Symbols", + fcconfexfile=rpm.expand('%{SOURCE7}') + }, { alias="sans-serif", variable=true, family="Looped Lao", lang={ "lo" }, nogroup=1, obsoletes={ "sans-lao-looped-vf" } @@ -1066,6 +1075,10 @@ done %changelog +* Fri Nov 25 2022 Akira TAGOH - 20201206-1.git0c78c8329-7 +- Add an alias for Symbol font to Noto Sans Symbols/Symbols2. + Resolves: rhbz#2088665 + * Thu Nov 24 2022 Akira TAGOH - 20201206-1.git0c78c8329-6 - Drop Noto Sans Display and Noto Serif Display fonts. These fonts isn't shipped from upstream anymore. diff --git a/google-noto-sans-symbols-ex.conf b/google-noto-sans-symbols-ex.conf new file mode 100644 index 0000000..65c95ed --- /dev/null +++ b/google-noto-sans-symbols-ex.conf @@ -0,0 +1,38 @@ + + + + + + fantasy + + + Noto Sans Symbols + + + false + + + + + Symbol + + + Noto Sans Symbols + + + false + + + + Noto Sans Symbols + + fantasy + + + + Noto Sans Symbols + + Symbol + + + diff --git a/google-noto-sans-symbols-vf-ex.conf b/google-noto-sans-symbols-vf-ex.conf new file mode 100644 index 0000000..ea18501 --- /dev/null +++ b/google-noto-sans-symbols-vf-ex.conf @@ -0,0 +1,38 @@ + + + + + + fantasy + + + Noto Sans Symbols + + + true + + + + + Symbol + + + Noto Sans Symbols + + + true + + + + Noto Sans Symbols + + fantasy + + + + Noto Sans Symbols + + Symbol + + + diff --git a/google-noto-sans-symbols2-ex.conf b/google-noto-sans-symbols2-ex.conf new file mode 100644 index 0000000..6793dcd --- /dev/null +++ b/google-noto-sans-symbols2-ex.conf @@ -0,0 +1,38 @@ + + + + + + fantasy + + + Noto Sans Symbols2 + + + false + + + + + Symbol + + + Noto Sans Symbols2 + + + false + + + + Noto Sans Symbols2 + + fantasy + + + + Noto Sans Symbols2 + + Symbol + + +