|
|
2f1999 |
%global cionly 0
|
|
|
2f1999 |
|
|
|
2f1999 |
%global _fontname google-noto
|
|
|
2f1999 |
%global fontname %{_fontname}
|
|
|
2f1999 |
%global fontconf %{_fontname}
|
|
|
2f1999 |
%global common_desc Noto fonts aims to remove tofu from web by providing fonts for all \
|
|
|
2f1999 |
Unicode supported scripts. Its design goal is to achieve visual harmonization\
|
|
|
2f1999 |
between multiple scripts. Noto family supports almost all scripts available\
|
|
|
2f1999 |
in Unicode.\
|
|
|
2f1999 |
%{nil}
|
|
|
2f1999 |
|
|
|
2f1999 |
%global srcver 20201206-phase3
|
|
|
2f1999 |
%global hprio 65
|
|
|
2f1999 |
%global mprio 66
|
|
|
2f1999 |
%global lprio 67
|
|
|
2f1999 |
|
|
|
2f1999 |
Name: %{fontname}-fonts
|
|
|
2f1999 |
Version: 20201206
|
|
|
2f1999 |
Release: 3%{?dist}
|
|
|
2f1999 |
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
|
|
|
2f1999 |
License: OFL
|
|
|
2f1999 |
URL: https://github.com/googlefonts/noto-fonts/
|
|
|
2f1999 |
Source0: https://github.com/googlefonts/noto-fonts/archive/v20201206-phase3.tar.gz#/noto-fonts-%{srcver}.tar.gz
|
|
|
2f1999 |
|
|
|
2f1999 |
BuildArch: noarch
|
|
|
2f1999 |
BuildRequires: fonts-rpm-macros
|
|
|
2f1999 |
Requires: fontpackages-filesystem
|
|
|
2f1999 |
|
|
|
2f1999 |
%description
|
|
|
2f1999 |
%common_desc
|
|
|
2f1999 |
|
|
|
2f1999 |
|
|
|
2f1999 |
%package common
|
|
|
2f1999 |
Summary: Common files for Noto fonts
|
|
|
2f1999 |
|
|
|
2f1999 |
%description common
|
|
|
2f1999 |
Common files for Google Noto fonts.
|
|
|
2f1999 |
|
|
|
2f1999 |
%{lua:
|
|
|
2f1999 |
-- To make lua-mode happy: '
|
|
|
2f1999 |
local group = {}
|
|
|
2f1999 |
group["sans-serif"] = "Noto Sans"
|
|
|
2f1999 |
group["serif"] = "Noto Serif"
|
|
|
2f1999 |
group["monospace"] = "Noto Sans Mono"
|
|
|
2f1999 |
|
|
|
2f1999 |
local subpackages = {
|
|
|
2f1999 |
{ alias="cursive", family="Kufi Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="fantasy", family="Music" },
|
|
|
2f1999 |
{ alias="cursive", family="Naskh Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="cursive", family="Naskh Arabic UI", lang={ "ar" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="cursive", family="Nastaliq Urdu", lang={ "ur" } },
|
|
|
2f1999 |
{ alias="serif", family="Rashi Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Display",
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}'),
|
|
|
2f1999 |
obsoletes={ "sans-ui" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Adlam" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Adlam Unjoined" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Anatolian Hieroglyphs" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Arabic UI", lang={ "ar" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Armenian", lang={ "hy" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Avestan" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Balinese", lang={ "ban" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Bamum", lang={ "bax" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Bassa Vah" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Batak", lang={ "bbc" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Bengali", lang= { "bn" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Bengali UI", lang= { "bn" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Bhaiksuki" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Brahmi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Buginese", lang={ "bug" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Buhid", lang={ "bku" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Canadian Aboriginal", lang={ "iu" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Caucasian Albanian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Carian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Chakma" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Cham", lang={ "cjm" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Cherokee", lang={ "chr" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Coptic", lang={ "cop" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Cuneiform", lang={ "slv" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Cypriot" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Deseret" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Devanagari", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Devanagari UI", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Duployan" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Egyptian Hieroglyphs" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Elbasan" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Elymaic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Ethiopic", lang={ "am", "byn", "gez", "sid", "ti-er", "ti-et", "tig", "wal" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Georgian", lang={ "ka" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Glagolitic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gothic", lang={ "got" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Grantha" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gujarati", lang={ "gu" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gujarati UI", lang={ "gu" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gunjala Gondi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gurmukhi", lang={ "pa" },
|
|
|
2f1999 |
priority=rpm.expand('%{hprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Gurmukhi UI", lang={ "pa" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Hanifi Rohingya" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Hanunoo", lang={ "hnn" },
|
|
|
2f1999 |
obsoletes={ "sans-hanunno" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Hatran" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Imperial Aramaic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Indic Siyaq Numbers" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Inscriptional Pahlavi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Inscriptional Parthian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Javanese" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Kaithi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Kannada", lang={ "kn" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Kannada UI", lang={ "kn" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Kayah Li" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Kharoshthi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Khmer", lang={ "km" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Khmer UI", lang={ "km" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Khojki" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Khudawadi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lao", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lao Looped", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lao UI", lang={ "lo" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lepcha", lang={ "lep" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Limbu", lang={ "lif" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Linear A" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Linear B",
|
|
|
2f1999 |
obsoletes={ "sans-linearb" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lisu" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lycian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Lydian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mahajani" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Malayalam", lang={ "ml" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Malayalam UI", lang={ "ml" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mandaic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Manichaean" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Marchen" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Masaram Gondi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Math",
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mayan Numerals" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Meetei Mayek",
|
|
|
2f1999 |
obsoletes={ "sans-meeteimayek" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Medefaidrin" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mende Kikakui" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Meroitic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Miao" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Modi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mongolian", lang={ "mn-cn" } },
|
|
|
2f1999 |
{ alias="monospace", family="Sans Mono",
|
|
|
2f1999 |
obsoletes={ "mono" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Mro" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Multani" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Myanmar", lang={ "my" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Myanmar UI", lang={ "my" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Nabataean" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans New Tai Lue", lang={ "khb" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Newa" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans NKo", lang={ "nqo" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Nushu" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Ogham", lang={ "pgl" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Ol Chiki" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Hungarian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Italic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old North Arabian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Permic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Persian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Sogdian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old South Arabian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Old Turkic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Oriya", lang={ "or" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Oriya UI", lang={ "or" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Osage" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Osmanya" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Pahawh Hmong" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Palmyrene" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Pau Cin Hau" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Phags Pa" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Phoenician" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Psalter Pahlavi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Rejang", lang={ "rej" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Runic", lang={ "gem" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Samaritan" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Saurashtra", lang={ "saz" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sharada" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Shavian", lang={ "en@shaw" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Siddham" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans SignWriting" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sinhala", lang={ "si" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sinhala UI", lang={ "si" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sogdian" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sora Sompeng" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Soyombo" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Sundanese" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Syloti Nagri" },
|
|
|
2f1999 |
|
|
|
2f1999 |
{ alias="fantasy", family="Sans Symbols" },
|
|
|
2f1999 |
{ alias="fantasy", family="Sans Symbols2" },
|
|
|
2f1999 |
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Syriac", lang={ "syr" },
|
|
|
2f1999 |
obsoletes={ "sans-syriac-eastern", "sans-syriac-estrangela", "sans-syriac-western" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tagalog" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tagbanwa", lang={ "twb" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Takri" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tai Le" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tai Tham" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tai Viet" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tamil", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tamil Supplement", lang={ "ta" },
|
|
|
2f1999 |
excludeci=true
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tamil UI", lang={ "ta" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Telugu", lang={ "te" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Telugu UI", lang={ "te" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Thaana", lang={ "dv" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Thai", lang={ "th" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Thai Looped", lang={ "th" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Thai UI", lang={ "th" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh APT", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Adrar", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Agraw Imazighen", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Ahaggar", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Air", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Azawagh", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Ghat", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Hawad", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Rhissa Ixa", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh SIL", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tifinagh Tawellemmet", lang={ "ber-ma" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Tirhuta" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Ugaritic" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Vai", lang={ "vai" } },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Wancho" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Warang Citi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Yi" },
|
|
|
2f1999 |
{ alias="sans-serif", family="Sans Zanabazar Square" },
|
|
|
2f1999 |
|
|
|
2f1999 |
{ alias="serif", family="Serif" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Ahom" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Armenian", lang={ "hy" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Balinese", lang={ "ban" },
|
|
|
2f1999 |
obsoletes={ "sans-balinese" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="serif", family="Serif Bengali", lang={ "bn" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Devanagari", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Display",
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="serif", family="Serif Dogra" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Ethiopic", lang={ "am", "byn", "gez", "sid", "ti-er", "ti-et", "tig", "wal" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Georgian", lang={ "ka" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Grantha" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Gujarati", lang={ "gu" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Gurmukhi", lang={ "pa" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Kannada", lang={ "kn" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Khmer", lang={ "km" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Khojki" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Lao", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Malayalam", lang={ "ml" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Myanmar", lang={ "my" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Nyiakeng Puachue Hmong" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Sinhala", lang={ "si" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Tamil", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Tamil Slanted", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Tangut" },
|
|
|
2f1999 |
{ alias="serif", family="Serif Telugu", lang={ "te" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Thai", lang={ "th" } },
|
|
|
2f1999 |
{ alias="serif", family="Serif Tibetan", lang={ "bo", "dz" },
|
|
|
2f1999 |
obsoletes={ "sans-tibetan" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="serif", family="Serif Yezidi" },
|
|
|
2f1999 |
{ alias="serif", family="Traditional Nushu" },
|
|
|
2f1999 |
|
|
|
2f1999 |
{ alias="cursive", variable=true, family="Kufi Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="cursive", variable=true, family="Naskh Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="cursive", variable=true, family="Naskh Arabic UI", lang={ "ar" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Rashi Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Adlam" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Adlam Unjoined" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Anatolian Hieroglyphs" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Arabic", lang={ "ar" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Arabic UI", lang={ "ar" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Armenian", lang={ "hy" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Avestan" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Balinese", lang={ "ban" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Bamum", lang={ "bax" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Bassa Vah" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Bengali", lang={ "bn" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Bengali UI", lang={ "bn" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Buginese", lang={ "bug" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Buhid", lang={ "bku" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Canadian Aboriginal", lang={ "iu" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Carian" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Cham", lang={ "cjm" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Cherokee", lang={ "chr" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Cuneiform", lang={ "slv" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Cypriot" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Deseret" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Devanagari", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Devanagari UI", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Display",
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Egyptian Hieroglyphs" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Elymaic" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Ethiopic", lang={ "am", "byn", "gez", "sid", "ti-er", "ti-et", "tig", "wal" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Georgian", lang={ "ka" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Gothic", lang={ "got" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Gurmukhi", lang={ "pa" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Gurmukhi UI", lang={ "pa" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Hanifi Rohingya" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Hatran" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Imperial Aramaic" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Kannada", lang={ "kn" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Kannada UI", lang={ "kn" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Kayah Li" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Khmer", lang={ "km" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Khmer UI", lang={ "km" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lao", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lao Looped", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lao UI", lang={ "lo" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Linear A" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Linear B" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lisu" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lycian" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Lydian" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Malayalam", lang={ "ml" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Malayalam UI", lang={ "ml" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Mandaic" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Marchen" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Math" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Mayan Numerals" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Medefaidrin" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans MeeteiMayek" },
|
|
|
2f1999 |
{ alias="monospace", variable=true, family="Sans Mono" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Mro" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Multani" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Myanmar", lang={ "my" },
|
|
|
2f1999 |
obsoletes={ "serif-myanmar-vf" }
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Myanmar UI", lang={ "my" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Nabataean" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans New Tai Lue", lang={ "khb" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Ogham", lang={ "pgl" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Ol Chiki" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Osmanya" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Phoenician" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Runic", lang={ "gem" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Shavian", lang={ "en@shaw" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Sinhala", lang={ "si" },
|
|
|
2f1999 |
priority=rpm.expand('%{hprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Sinhala UI", lang={ "si" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Sora Sompeng" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Soyombo" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Sundanese" },
|
|
|
2f1999 |
{ alias="fantasy", variable=true, family="Sans Symbols" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Tagbanwa", lang={ "twb" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Tai Tham" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Takri" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Tamil", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Tamil Supplement", lang={ "ta" },
|
|
|
2f1999 |
excludeci=true
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Tamil UI", lang={ "ta" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Telugu", lang={ "te" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Telugu UI", lang={ "te" },
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Thaana", lang={ "dv" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Thai", lang={ "th" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Thai UI", lang={ "th" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Ugaritic" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Vai", lang={ "vai" } },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Wancho" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Warang Citi" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Yi" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="Sans Zanabazar Square" },
|
|
|
2f1999 |
{ alias="sans-serif", variable=true, family="SansThai Looped", lang={ "th" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif" },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Armenian", lang={ "hy" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Bengali", lang={ "bn" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Devanagari", lang={ "bh", "bho", "brx", "doi", "hi", "hne", "kok", "ks@devanagari", "mai", "mr", "ne", "sa", "sat", "sd@devanagari" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Display",
|
|
|
2f1999 |
priority=rpm.expand('%{lprio}')
|
|
|
2f1999 |
},
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Ethiopic", lang={ "am", "byn", "gez", "sid", "ti-er", "ti-et", "tig", "wal" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Georgian", lang={ "ka" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Gujarati", lang={ "gu" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Gurmukhi", lang={ "pa" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Hebrew", lang={ "he" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Kannada", lang={ "kn" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Khmer", lang={ "km" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Khojki" },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Lao", lang={ "lo" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Malayalam", lang={ "ml" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Nyiakeng Puachue Hmong" },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Sinhala", lang={ "si" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Tamil", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Tamil Slanted", lang={ "ta" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Tangut" },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Telugu", lang={ "te" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Thai", lang={ "th" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Tibetan", lang={ "bo", "dz" } },
|
|
|
2f1999 |
{ alias="serif", variable=true, family="Serif Yezidi" }
|
|
|
2f1999 |
|
|
|
2f1999 |
}
|
|
|
2f1999 |
local _fcconflist = ''
|
|
|
2f1999 |
local _metafilelist = ''
|
|
|
2f1999 |
local _fcconfbuild = ''
|
|
|
2f1999 |
local _metainfobuild = ''
|
|
|
2f1999 |
|
|
|
2f1999 |
local function genfcconf(table)
|
|
|
2f1999 |
local generic = [[
|
|
|
2f1999 |
<test name="family">\
|
|
|
2f1999 |
<string>]] .. table.alias .. [[</string>\
|
|
|
2f1999 |
</test>\
|
|
|
2f1999 |
<edit name=\"family\" mode=\"prepend\">\
|
|
|
2f1999 |
<string>Noto ]] .. table.family .. [[</string>\
|
|
|
2f1999 |
</edit>\
|
|
|
2f1999 |
<edit name=\"fonthashint\" mode=\"append\">\
|
|
|
2f1999 |
<bool>]] .. (table.variable and "true" or "false") .. [[</bool>\
|
|
|
2f1999 |
</edit>\]]
|
|
|
2f1999 |
local xml = [[
|
|
|
2f1999 |
\
|
|
|
2f1999 |
\
|
|
|
2f1999 |
<fontconfig>\
|
|
|
2f1999 |
]]
|
|
|
2f1999 |
if table.lang then
|
|
|
2f1999 |
for i = 1, #table.lang do
|
|
|
2f1999 |
xml = xml .. [[ <match>\
|
|
|
2f1999 |
<test name=\"lang\" compare=\"contains\">\
|
|
|
2f1999 |
<string>]] .. table.lang[i] .. [[</string>\
|
|
|
2f1999 |
</test>\
|
|
|
2f1999 |
]] .. generic .. "\n" .. [[
|
|
|
2f1999 |
</match>\
|
|
|
2f1999 |
]]
|
|
|
2f1999 |
end
|
|
|
2f1999 |
else
|
|
|
2f1999 |
xml = xml .. [[ <match>\
|
|
|
2f1999 |
]] .. generic .. "\n" .. [[
|
|
|
2f1999 |
</match>\
|
|
|
2f1999 |
]]
|
|
|
2f1999 |
end
|
|
|
2f1999 |
xml = xml .. [[
|
|
|
2f1999 |
<alias>\
|
|
|
2f1999 |
<family>Noto ]] .. table.family .. [[</family>\
|
|
|
2f1999 |
<default>\
|
|
|
2f1999 |
<family>]] .. table.alias .. [[</family>\
|
|
|
2f1999 |
</default>\
|
|
|
2f1999 |
</alias>\
|
|
|
2f1999 |
</fontconfig>\]]
|
|
|
2f1999 |
_fcconfbuild = (_fcconfbuild ~= '' and _fcconfbuild .. "\n" or '') .. "cat<<_EOL_>" .. table.fcconf .. "\\\n" .. xml .. "\n_EOL_\\"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
-- Borrowed from fonts-rpm-macros
|
|
|
2f1999 |
-- koji doesn't sasisfy BR during generating srpm yet.
|
|
|
2f1999 |
-- We can't add a dependant code to fonts-rpm-macros at this stage.
|
|
|
2f1999 |
|
|
|
2f1999 |
-- https://github.com/rpm-software-management/rpm/issues/566
|
|
|
2f1999 |
-- Reformat a text intended to be used used in a package description, removing
|
|
|
2f1999 |
-- rpm macro generation artefacts.
|
|
|
2f1999 |
-- – remove leading and ending empty lines
|
|
|
2f1999 |
-- – trim intermediary empty lines to a single line
|
|
|
2f1999 |
-- – fold on spaces
|
|
|
2f1999 |
-- Should really be a %%{wordwrap:…} verb
|
|
|
2f1999 |
local function wordwrap(text)
|
|
|
2f1999 |
text = rpm.expand(text .. "\n")
|
|
|
2f1999 |
text = string.gsub(text, "\t", " ")
|
|
|
2f1999 |
text = string.gsub(text, "\r", "\n")
|
|
|
2f1999 |
text = string.gsub(text, " +\n", "\n")
|
|
|
2f1999 |
text = string.gsub(text, "\n+\n", "\n\n")
|
|
|
2f1999 |
text = string.gsub(text, "^\n", "")
|
|
|
2f1999 |
text = string.gsub(text, "\n( *)[-*—][  ]+", "\n%1– ")
|
|
|
2f1999 |
output = ""
|
|
|
2f1999 |
for line in string.gmatch(text, "[^\n]*\n") do
|
|
|
2f1999 |
local pos = 0
|
|
|
2f1999 |
local advance = ""
|
|
|
2f1999 |
for word in string.gmatch(line, "%s*[^%s]*\n?") do
|
|
|
2f1999 |
local wl, bad = utf8.len(word)
|
|
|
2f1999 |
if not wl then
|
|
|
2f1999 |
print("%{warn:Invalid UTF-8 sequence detected in:}" ..
|
|
|
2f1999 |
"%{warn:" .. word .. "}" ..
|
|
|
2f1999 |
"%{warn:It may produce unexpected results.}")
|
|
|
2f1999 |
wl = bad
|
|
|
2f1999 |
end
|
|
|
2f1999 |
if (pos == 0) then
|
|
|
2f1999 |
advance, n = string.gsub(word, "^(%s*– ).*", "%1")
|
|
|
2f1999 |
if (n == 0) then
|
|
|
2f1999 |
advance = string.gsub(word, "^(%s*).*", "%1")
|
|
|
2f1999 |
end
|
|
|
2f1999 |
advance = string.gsub(advance, "– ", " ")
|
|
|
2f1999 |
pos = pos + wl
|
|
|
2f1999 |
elseif (pos + wl < 81) or
|
|
|
2f1999 |
((pos + wl == 81) and string.match(word, "\n$")) then
|
|
|
2f1999 |
pos = pos + wl
|
|
|
2f1999 |
else
|
|
|
2f1999 |
word = advance .. string.gsub(word, "^%s*", "")
|
|
|
2f1999 |
output = output .. "\n"
|
|
|
2f1999 |
pos = utf8.len(word)
|
|
|
2f1999 |
end
|
|
|
2f1999 |
output = output .. word
|
|
|
2f1999 |
if pos > 80 then
|
|
|
2f1999 |
pos = 0
|
|
|
2f1999 |
if not string.match(word, "\n$") then
|
|
|
2f1999 |
output = output .. "\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
output = string.gsub(output, "\n*$", "\n")
|
|
|
2f1999 |
return output
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
-- A helper to close AppStream XML runs
|
|
|
2f1999 |
local function closetag(oldtag, newtag)
|
|
|
2f1999 |
if (oldtag == nil) then
|
|
|
2f1999 |
return ""
|
|
|
2f1999 |
else
|
|
|
2f1999 |
local output = "]]></" .. oldtag .. ">"
|
|
|
2f1999 |
if (oldtag == "li") and (newtag ~= oldtag) then
|
|
|
2f1999 |
output = output .. ""
|
|
|
2f1999 |
end
|
|
|
2f1999 |
return output
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
-- A helper to open AppStream XML runs
|
|
|
2f1999 |
local function opentag(oldtag, newtag)
|
|
|
2f1999 |
if (newtag == nil) then
|
|
|
2f1999 |
return ""
|
|
|
2f1999 |
else
|
|
|
2f1999 |
local output = "<" .. newtag .. ">
|
|
|
2f1999 |
if (newtag == "li") and (newtag ~= oldtag) then
|
|
|
2f1999 |
output = "
|
|
|
2f1999 |
end
|
|
|
2f1999 |
return output
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
-- A helper to switch AppStream XML runs
|
|
|
2f1999 |
local function switchtag(oldtag, newtag)
|
|
|
2f1999 |
return closetag(oldtag, newtag) .. opentag(oldtag, newtag)
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
-- Reformat some text into something that can be included in an AppStream
|
|
|
2f1999 |
-- XML description
|
|
|
2f1999 |
local function txt2xml(text)
|
|
|
2f1999 |
local text = wordwrap(text)
|
|
|
2f1999 |
local output = ""
|
|
|
2f1999 |
local oldtag = nil
|
|
|
2f1999 |
local oldadvance = nil
|
|
|
2f1999 |
local newtag = nil
|
|
|
2f1999 |
text = string.gsub(text, "^\n*", "")
|
|
|
2f1999 |
text = string.gsub(text, "\n*$", "\n")
|
|
|
2f1999 |
for line in string.gmatch(text, "[^\n]*\n") do
|
|
|
2f1999 |
local change = true
|
|
|
2f1999 |
local advance, n = string.gsub(line, "^(%s*– ).*", "%1")
|
|
|
2f1999 |
if (n == 1) then
|
|
|
2f1999 |
newtag = "li"
|
|
|
2f1999 |
else
|
|
|
2f1999 |
advance = string.gsub(line, "^(%s*).*", "%1")
|
|
|
2f1999 |
if (line == "\n") then
|
|
|
2f1999 |
newtag = nil
|
|
|
2f1999 |
elseif (advance ~= oldadvance) then
|
|
|
2f1999 |
newtag = "p"
|
|
|
2f1999 |
else
|
|
|
2f1999 |
change = false
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
local result = ""
|
|
|
2f1999 |
if change then
|
|
|
2f1999 |
result = string.gsub(line, "^" .. advance, switchtag(oldtag,newtag))
|
|
|
2f1999 |
oldtag = newtag
|
|
|
2f1999 |
oldadvance = string.gsub(advance, "– ", " ")
|
|
|
2f1999 |
else
|
|
|
2f1999 |
result = string.gsub(line, "^" .. advance, " ")
|
|
|
2f1999 |
end
|
|
|
2f1999 |
result = string.gsub(result, "\n$", "")
|
|
|
2f1999 |
output = output .. result
|
|
|
2f1999 |
end
|
|
|
2f1999 |
output = output .. closetag(oldtag, nil)
|
|
|
2f1999 |
return output
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
local function genmetainfo(table)
|
|
|
2f1999 |
local xmlfontname = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "echo \\\\\" <font>%{fullname[0]}</font>\\\\\";"; done); if test x"$cmd" != x; then echo "echo \\\\\" <provides>\\\\\"; $cmd echo \\\\\" </provides>\\\\\""|sh; fi|grep -v "font>
|
|
|
2f1999 |
local xmlfontlang = '$(cmd=$(for f in %{buildroot}' .. table.filename .. '; do fc-scan "$f" -f "%{[]lang{echo \\\\\" <lang>%{lang}</lang>\\\\\";}}"; done); if test x"$cmd" != x; then echo "echo \\\\\" <languages>\\\\\"; ($cmd)|sort -u; echo \\\\\" </languages>\\\\\""|sh; fi)'
|
|
|
2f1999 |
local xml = [[
|
|
|
2f1999 |
\
|
|
|
2f1999 |
\
|
|
|
2f1999 |
<component type=\"font\">\
|
|
|
2f1999 |
<id>]] .. rpm.expand("%{fontorg}.") .. table.pkgname .. [[</id>\
|
|
|
2f1999 |
<metadata_license>MIT</metadata_license>\
|
|
|
2f1999 |
<project_license>]] .. rpm.expand("%{license}") .. [[</project_license>\
|
|
|
2f1999 |
<name>Noto ]] .. table.family .. [[</name>\
|
|
|
2f1999 |
<summary></summary>\
|
|
|
2f1999 |
<description>\
|
|
|
2f1999 |
]] .. txt2xml(table.description) .. "\\\n" .. [[
|
|
|
2f1999 |
</description>\
|
|
|
2f1999 |
<updatecontact>]] .. rpm.expand("%{fontcontact}") .. [[</updatecontact>\
|
|
|
2f1999 |
<url type=\"homepage\">]] .. rpm.expand("%{url}") .. [[</url>\
|
|
|
2f1999 |
<releases>\
|
|
|
2f1999 |
<release version=\"]] .. rpm.expand("%{version}") .. [[\" date=\"$(date -d @$SOURCE_DATE_EPOCH -u --rfc-3339=d)\"/>\
|
|
|
2f1999 |
</releases>]] .. "\\\n" .. xmlfontname .. "\\\n" .. xmlfontlang .. "\\\n" .. [[
|
|
|
2f1999 |
</component>\]]
|
|
|
2f1999 |
_metainfobuild = (_metainfobuild ~= '' and _metainfobuild .. "\n" or '') .. "cat<<_EOL_>" .. table.metainfo .. "\\\n" .. xml .. "\n_EOL_\\\nif ! grep provides " .. table.metainfo .. " > /dev/null 2>&1; then echo \"" .. table.pkgname .. ": No family names provided\"; exit 1; fi\\"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
local function has_value(table, value)
|
|
|
2f1999 |
for _,v in ipairs(table) do
|
|
|
2f1999 |
if v == value then
|
|
|
2f1999 |
return true
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
return false
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
local function gentestyaml()
|
|
|
2f1999 |
local fcorth = { "aa","ab","af","ak","am","an","ar","as","ast","av","ay","az_az","az_ir","ba","be","ber_dz","ber_ma","bg","bh","bho","bi","bin","bm","bn","bo","br","brx","bs","bua","byn","ca","ce","ch","chm","chr","co","crh","cs","csb","cu","cv","cy","da","de","doi","dv","dz","ee","el","en","eo","es","et","eu","fa","fat","ff","fi","fil","fj","fo","fr","fur","fy","ga","gd","gez","gl","gn","gu","gv","ha","haw","he","hi","hne","ho","hr","hsb","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kaa","kab","ki","kj","kk","kl","km","kn","ko","kok","kr","ks","ku_am","ku_iq","ku_ir","ku_tr","kum","kv","kw","kwm","ky","la","lah","lb","lez","lg","li","ln","lo","lt","lv","mai","mg","mh","mi","mk","ml","mn_cn","mn_mn","mni","mo","mr","ms","mt","my","na","nb","nds","ne","ng","nl","nn","no","nqo","nr","nso","nv","ny","oc","om","or","os","ota","pa","pa_pk","pap_an","pap_aw","pes","pl","prs","ps_af","ps_pk","pt","qu","quz","rm","rn","ro","ru","rw","sa","sah","sat","sc","sco","sd","se","sel","sg","sh","shs","si","sid","sk","sl","sm","sma","smj","smn","sms","sn","so","sq","sr","ss","st","su","sv","sw","syr","szl","ta","te","tg","th","ti_er","ti_et","tig","tk","tl","tn","to","tr","ts","tt","tw","ty","tyv","ug","uk","und_zmth","und_zsye","ur","uz","ve","vi","vo","vot","wa","wal","wen","wo","xh","yap","yi","yo","za","zh_cn","zh_hk","zh_mo","zh_sg","zh_tw","zu" }
|
|
|
2f1999 |
local yaml = [[
|
|
|
2f1999 |
- hosts: localhost
|
|
|
2f1999 |
tags:
|
|
|
2f1999 |
- classic
|
|
|
2f1999 |
roles:
|
|
|
2f1999 |
- role: custom-test-fonts
|
|
|
2f1999 |
required_packages:
|
|
|
2f1999 |
]]
|
|
|
2f1999 |
local langs = {}
|
|
|
2f1999 |
local hash = {}
|
|
|
2f1999 |
local files = {}
|
|
|
2f1999 |
local exfiles = {}
|
|
|
2f1999 |
for i = 1, #subpackages do
|
|
|
2f1999 |
if subpackages[i]["lang"] ~= nil then
|
|
|
2f1999 |
for _,v in ipairs(subpackages[i].lang) do
|
|
|
2f1999 |
-- local f = has_value(fcorth, v)
|
|
|
2f1999 |
local f = true
|
|
|
2f1999 |
local fname = string.gsub(subpackages[i].filename, "(.*/)(.*)", "%2")
|
|
|
2f1999 |
if f and (not hash[v]) then
|
|
|
2f1999 |
langs[#langs+1] = v
|
|
|
2f1999 |
hash[v] = true
|
|
|
2f1999 |
files[v] = {}
|
|
|
2f1999 |
exfiles[v] = {}
|
|
|
2f1999 |
elseif (not f) then
|
|
|
2f1999 |
io.stderr:write("WARNING: " .. fname .. ": " .. v .. " isn't supported in fontconfig\n")
|
|
|
2f1999 |
end
|
|
|
2f1999 |
if files[v] ~= nil then
|
|
|
2f1999 |
if subpackages[i]["excludeci"] ~= nil then
|
|
|
2f1999 |
exfiles[v][#exfiles[v]+1] = fname
|
|
|
2f1999 |
else
|
|
|
2f1999 |
files[v][#files[v]+1] = fname
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
yaml = yaml .. " - " .. subpackages[i].pkgname .. "\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
yaml = yaml .. " coverage:\n"
|
|
|
2f1999 |
for i = 1, #langs do
|
|
|
2f1999 |
local f = has_value(fcorth, langs[i])
|
|
|
2f1999 |
if f then
|
|
|
2f1999 |
yaml = yaml .. " " .. langs[i] .. [[:
|
|
|
2f1999 |
path_prefix:
|
|
|
2f1999 |
- /usr/share/fonts/google-noto-vf
|
|
|
2f1999 |
- /usr/share/fonts/google-noto
|
|
|
2f1999 |
include:]] .. "\n"
|
|
|
2f1999 |
for j = 1, #files[langs[i]] do
|
|
|
2f1999 |
yaml = yaml .. " - " .. files[langs[i]][j] .. "\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
if next(exfiles[langs[i]]) ~= nil then
|
|
|
2f1999 |
yaml = yaml .. [[
|
|
|
2f1999 |
exclude:]] .. "\n"
|
|
|
2f1999 |
for j = 1, #exfiles[langs[i]] do
|
|
|
2f1999 |
yaml = yaml .. " - " .. exfiles[langs[i]][j] .. "\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
yaml = yaml .. " families:\n"
|
|
|
2f1999 |
for i = 1, #subpackages do
|
|
|
2f1999 |
if subpackages[i].lang then
|
|
|
2f1999 |
for _,v in ipairs(subpackages[i].lang) do
|
|
|
2f1999 |
yaml = yaml .. " - lang: " .. v .. "\n" .. [[
|
|
|
2f1999 |
package: ]] .. subpackages[i].pkgname .. "\n" .. [[
|
|
|
2f1999 |
alias: ]] .. subpackages[i].alias .. "\n" .. [[
|
|
|
2f1999 |
family: Noto ]] .. subpackages[i].family .. "\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
io.stderr:write("Generating tests.yml...")
|
|
|
2f1999 |
local f = io.open("tests/tests.yml", "w")
|
|
|
2f1999 |
if f then
|
|
|
2f1999 |
f:write(yaml)
|
|
|
2f1999 |
f:close()
|
|
|
2f1999 |
io.stderr:write("Done!")
|
|
|
2f1999 |
else
|
|
|
2f1999 |
io.stderr:write("Unable to open tests.yml")
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
local function notopkg(table)
|
|
|
2f1999 |
local _pname = string.lower(table.family):gsub(' ', '-')
|
|
|
2f1999 |
local pname = _pname .. (table.variable and '-vf' or '')
|
|
|
2f1999 |
local pkgname = rpm.expand('%{_fontname}-') .. pname .. '-fonts'
|
|
|
2f1999 |
local prio = tostring((table.priority and table.priority or (table.variable and rpm.expand('%{hprio}') or rpm.expand('%{mprio}'))))
|
|
|
2f1999 |
local fcconf = prio .. '-' .. rpm.expand('%{fontconf}') .. '-' .. pname .. '.conf'
|
|
|
2f1999 |
local fontdir = rpm.expand('%{_fontbasedir}') .. '/google-noto' .. (table.variable and '-vf/' or '/')
|
|
|
2f1999 |
local fontname = 'Noto' .. (table.fontname and table.fontname or string.gsub(table.family, ' ', '')) .. (table.variable and '-*VF*.*tf' or '-[^VF]*.*tf')
|
|
|
2f1999 |
local metaname = rpm.expand('%{fontorg}.') .. pkgname .. '.metainfo.xml'
|
|
|
2f1999 |
|
|
|
2f1999 |
table.fcconf = fcconf
|
|
|
2f1999 |
table.pkgname = pkgname
|
|
|
2f1999 |
table.filename = fontdir .. fontname
|
|
|
2f1999 |
table.summary = 'Noto ' .. table.family .. (table.variable and ' variable' or '') .. ' font'
|
|
|
2f1999 |
table.description = rpm.expand('%{common_desc}') .. [[
|
|
|
2f1999 |
Noto ]] .. table.family .. (table.variable and ' variable' or '') .. " font."
|
|
|
2f1999 |
table.metainfo = metaname
|
|
|
2f1999 |
_fcconflist = (_fcconflist ~= '' and _fcconflist .. ':' or '') .. fcconf
|
|
|
2f1999 |
_metafilelist = (_metafilelist ~= '' and _metafilelist .. ':' or '') .. metaname
|
|
|
2f1999 |
|
|
|
2f1999 |
local obsoletes = ''
|
|
|
2f1999 |
|
|
|
2f1999 |
if table.obsoletes then
|
|
|
2f1999 |
for i = 1, #table.obsoletes do
|
|
|
2f1999 |
obsoletes = obsoletes .. "Obsoletes: %{_fontname}-" .. table.obsoletes[i] .. "-fonts < %{version}-%{release}\n"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
print(rpm.expand([[
|
|
|
2f1999 |
|
|
|
2f1999 |
%package -n ]] .. table.pkgname .. "\n" .. [[
|
|
|
2f1999 |
Summary: ]] .. table.summary .. "\n" .. [[
|
|
|
2f1999 |
Requires: fontpackages-filesystem
|
|
|
2f1999 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
2f1999 |
]] .. obsoletes .. [[
|
|
|
2f1999 |
|
|
|
2f1999 |
%description -n ]] .. table.pkgname .. "\n" .. table.description .. "\n" .. [[
|
|
|
2f1999 |
|
|
|
2f1999 |
%files -n ]] .. pkgname .. "\n" .. [[
|
|
|
2f1999 |
%dir ]] .. fontdir .. "\n" .. [[
|
|
|
2f1999 |
%config(noreplace) %{_fontconfig_confdir}/]] .. fcconf .. "\n" .. [[
|
|
|
2f1999 |
%{_fontconfig_templatedir}/]] .. fcconf .. "\n" .. [[
|
|
|
2f1999 |
]] .. fontdir .. fontname .."\n" .. [[
|
|
|
2f1999 |
%{_metainfodir}/]] .. metaname .. "\n"))
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
for i = 1, #subpackages do
|
|
|
2f1999 |
notopkg(subpackages[i])
|
|
|
2f1999 |
if rpm.expand("%{cionly}") ~= 0 then
|
|
|
2f1999 |
genfcconf(subpackages[i])
|
|
|
2f1999 |
genmetainfo(subpackages[i])
|
|
|
2f1999 |
else
|
|
|
2f1999 |
_fcconfbuild = "false"
|
|
|
2f1999 |
_metainfobuild = "false"
|
|
|
2f1999 |
end
|
|
|
2f1999 |
end
|
|
|
2f1999 |
if rpm.expand("%{cionly}") == 1 then
|
|
|
2f1999 |
gentestyaml()
|
|
|
2f1999 |
end
|
|
|
2f1999 |
|
|
|
2f1999 |
rpm.define("noto_fcconflist " .. _fcconflist)
|
|
|
2f1999 |
rpm.define("noto_metafilelist " .. _metafilelist)
|
|
|
2f1999 |
local f = io.open("debug-noto-fcconf-build.sh", "w")
|
|
|
2f1999 |
if f then
|
|
|
2f1999 |
f:write(_fcconfbuild)
|
|
|
2f1999 |
f:close()
|
|
|
2f1999 |
end
|
|
|
2f1999 |
local f = io.open("debug-noto-metainfo-build.sh", "w")
|
|
|
2f1999 |
if f then
|
|
|
2f1999 |
f:write(_metainfobuild)
|
|
|
2f1999 |
f:close()
|
|
|
2f1999 |
end
|
|
|
2f1999 |
rpm.define("notobuild_fcconf " .. _fcconfbuild .. "\n")
|
|
|
2f1999 |
rpm.define("notobuild_metainfo " .. _metainfobuild .. "\n")
|
|
|
2f1999 |
} ## end of lua
|
|
|
2f1999 |
|
|
|
2f1999 |
%prep
|
|
|
2f1999 |
%setup -q -n noto-fonts-%{srcver}
|
|
|
2f1999 |
|
|
|
2f1999 |
|
|
|
2f1999 |
%build
|
|
|
2f1999 |
%if %{cionly}
|
|
|
2f1999 |
exit 1
|
|
|
2f1999 |
%endif
|
|
|
2f1999 |
%{notobuild_fcconf}
|
|
|
2f1999 |
|
|
|
2f1999 |
%install
|
|
|
2f1999 |
install -m 0755 -d %{buildroot}%{_fontbasedir}/google-noto
|
|
|
2f1999 |
for f in unhinted/ttf/*/Noto*.ttf hinted/ttf/*/Noto*.ttf; do
|
|
|
2f1999 |
install -m 0644 -p $f %{buildroot}%{_fontbasedir}/google-noto/
|
|
|
2f1999 |
done
|
|
|
2f1999 |
install -m 0755 -d %{buildroot}%{_fontbasedir}/google-noto-vf
|
|
|
2f1999 |
install -m 0644 -p unhinted/slim-variable-ttf/Noto*.ttf %{buildroot}%{_fontbasedir}/google-noto-vf/
|
|
|
2f1999 |
|
|
|
2f1999 |
# fc-scan in script expects fonts are already installed
|
|
|
2f1999 |
%{notobuild_metainfo}
|
|
|
2f1999 |
|
|
|
2f1999 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
2f1999 |
%{buildroot}%{_fontconfig_confdir} \
|
|
|
2f1999 |
%{buildroot}%{_metainfodir}
|
|
|
2f1999 |
|
|
|
2f1999 |
IFS=":"
|
|
|
2f1999 |
for f in $(echo %{noto_fcconflist}); do
|
|
|
2f1999 |
install -m 0644 -p $f %{buildroot}%{_fontconfig_templatedir}/$f
|
|
|
2f1999 |
ln -s $(realpath --relative-to=%{_fontconfig_confdir}/ %{_fontconfig_templatedir}/$f) \
|
|
|
2f1999 |
%{buildroot}%{_fontconfig_confdir}/$f
|
|
|
2f1999 |
done
|
|
|
2f1999 |
for f in $(echo %{noto_metafilelist}); do
|
|
|
2f1999 |
install -m 0644 -p $f %{buildroot}%{_metainfodir}/$f
|
|
|
2f1999 |
done
|
|
|
2f1999 |
|
|
|
2f1999 |
|
|
|
2f1999 |
%check
|
|
|
2f1999 |
IFS=":"
|
|
|
2f1999 |
for f in $(echo %{noto_fcconflist}); do
|
|
|
2f1999 |
xmllint --loaddtd --valid --nonet %{buildroot}%{_fontconfig_templatedir}/$f
|
|
|
2f1999 |
done
|
|
|
2f1999 |
for f in $(echo %{noto_metafilelist}); do
|
|
|
2f1999 |
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/$f
|
|
|
2f1999 |
done
|
|
|
2f1999 |
|
|
|
2f1999 |
%files common
|
|
|
2f1999 |
%license LICENSE
|
|
|
2f1999 |
%doc README.md FAQ.md
|
|
|
2f1999 |
|
|
|
2f1999 |
|
|
|
2f1999 |
%changelog
|
|
|
2f1999 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20201206-3
|
|
|
2f1999 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
2f1999 |
Related: rhbz#1991688
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed May 12 2021 Akira TAGOH <tagoh@redhat.com> - 20201206-2
|
|
|
2f1999 |
- Add some Obsoletes lines for dropped sub packages.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri May 12 2021 Akira TAGOH <tagoh@redhat.com> - 20201206-1
|
|
|
2f1999 |
- Updates to 20201206.
|
|
|
2f1999 |
Resolves: rhbz#1899847
|
|
|
2f1999 |
- Refactoring spec file.
|
|
|
2f1999 |
- Fix invalid metainfo files.
|
|
|
2f1999 |
Resolves: rhbz#1830709
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 20181223-10
|
|
|
2f1999 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-9
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-8
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-7
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Aug 12 2019 Akira TAGOH <tagoh@redhat.com> - 20181223-6
|
|
|
2f1999 |
- Make variable fonts priority more than non variable fonts. (#1739976)
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Jul 26 2019 Parag Nemade <pnemade AT redhat DOT com> - 20181223-5
|
|
|
2f1999 |
- Resolves:rh#1554988 - google-noto-sans-gurmkukhi-fonts default for pa_IN locale
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-4
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Jun 4 2019 Akira TAGOH <tagoh@redhat.com> - 20181223-3
|
|
|
2f1999 |
- Install metainfo files under %%{_metainfodir}.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181223-2
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Dec 27 2018 Akira TAGOH <tagoh@redhat.com> - 20181223-1
|
|
|
2f1999 |
- Updates to 20181223.
|
|
|
2f1999 |
- Add new sub-packages for variable fonts.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Dec 17 2018 Akira TAGOH <tagoh@redhat.com> - 20181130-2
|
|
|
2f1999 |
- Make Display and UI fonts lower priority.
|
|
|
2f1999 |
- Add more languages to google-noto-*-devanagari.conf, google-noto-sans-ethiopic.conf,
|
|
|
2f1999 |
and google-noto-sans-hebrew.conf
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Dec 7 2018 Akira TAGOH <tagoh@redhat.com> - 20181130-1
|
|
|
2f1999 |
- Updates to 20181130.
|
|
|
2f1999 |
- Noto Sans Balinese is now Noto Serif Balinese.
|
|
|
2f1999 |
- Add new sub-packages: google-noto-music-fonts,
|
|
|
2f1999 |
google-noto-sans-bassa-vah-fonts, google-noto-sans-bhaiksuki-fonts,
|
|
|
2f1999 |
google-noto-sans-caucasian-albanian-fonts, google-noto-sans-duployan-fonts,
|
|
|
2f1999 |
google-noto-sans-elbasan-fonts, google-noto-sans-grantha-fonts,
|
|
|
2f1999 |
google-noto-sans-hatran-fonts, google-noto-sans-khojki-fonts,
|
|
|
2f1999 |
google-noto-sans-khudawadi-fonts, google-noto-sans-linear-a-fonts,
|
|
|
2f1999 |
google-noto-sans-mahajani-fonts, google-noto-sans-manichaean-fonts,
|
|
|
2f1999 |
google-noto-sans-marchen-fonts, google-noto-sans-mende-kikakui-fonts,
|
|
|
2f1999 |
google-noto-sans-meroitic-fonts, google-noto-sans-miao-fonts,
|
|
|
2f1999 |
google-noto-sans-modi-fonts, google-noto-sans-mro-fonts,
|
|
|
2f1999 |
google-noto-sans-multani-fonts, google-noto-sans-nabataean-fonts,
|
|
|
2f1999 |
google-noto-sans-newa-fonts, google-noto-sans-old-hungarian-fonts,
|
|
|
2f1999 |
google-noto-sans-old-north-arabian-fonts, google-noto-sans-old-permic-fonts,
|
|
|
2f1999 |
google-noto-sans-pahawh-hmong-fonts, google-noto-sans-palmyrene-fonts,
|
|
|
2f1999 |
google-noto-sans-pau-cin-hau-fonts, google-noto-sans-psalter-pahlavi-fonts,
|
|
|
2f1999 |
google-noto-sans-sharada-fonts, google-noto-sans-sora-sompeng-fonts,
|
|
|
2f1999 |
google-noto-sans-syriac-fonts, google-noto-sans-takri-fonts,
|
|
|
2f1999 |
google-noto-sans-tirhuta-fonts, google-noto-sans-warang-citi-fonts,
|
|
|
2f1999 |
google-noto-serif-ahom-fonts, google-noto-serif-gurmukhi-fonts,
|
|
|
2f1999 |
google-noto-serif-tamil-slanted-fonts, google-noto-serif-tibetan-fonts
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Sep 21 2018 Akira TAGOH <tagoh@redhat.com> - 20180905-1
|
|
|
2f1999 |
- Updates to 20180905.
|
|
|
2f1999 |
- Remove Group tag.
|
|
|
2f1999 |
- Don't call fc-cache in scriptlets. this isn't needed anymore.
|
|
|
2f1999 |
- Drop BR: fontforge.
|
|
|
2f1999 |
- Generate fontconfig config files in macro for simple one.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-8
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Apr 5 2018 Jens Petersen <petersen@redhat.com> - 20161022-7
|
|
|
2f1999 |
- change the Sinhala fontconfig priority to 65 (#1450802)
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-6
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Dec 11 2017 Jens Petersen <petersen@redhat.com> - 20161022-5
|
|
|
2f1999 |
- use _font_pkg
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-4
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Jul 5 2017 Jens Petersen <petersen@redhat.com> - 20161022-3
|
|
|
2f1999 |
- add a fontconfig priority option to the notopkg macro,
|
|
|
2f1999 |
which allows overriding the default 66 priority
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-2
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Nov 07 2016 Pravin Satpute <psatpute@redhat.com> - 20161022-1
|
|
|
2f1999 |
- Resolves #1321685 - Added Noto Mono font.
|
|
|
2f1999 |
- License changed from ASL 2.0 to OFL.
|
|
|
2f1999 |
- New package addition: Mono, Serif Bengali, Serif Devanagari
|
|
|
2f1999 |
- Serif Gujarari, Serif Malayalam, Serif Tamil and Serif Telugu.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Aug 24 2016 Pravin Satpute <psatpute@redhat.com> - 20150929-2
|
|
|
2f1999 |
- Resolves #1368772 - Fixes issue with LICENSE file.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Apr 28 2016 Pravin Satpute <psatpute@redhat.com> - 20150929-1
|
|
|
2f1999 |
- Resolves #1269404 - Update to new git release 20150929
|
|
|
2f1999 |
- Upstream divided google-noto-fonts package into noto-cjk-font and noto-emoji
|
|
|
2f1999 |
- Removed packages: google-noto-color-emoji-fonts, google-noto-sans (cjk-fonts,
|
|
|
2f1999 |
- japanese-fonts, simplified-chinese-fonts and traditional-chinese-fonts)
|
|
|
2f1999 |
- Replaced by google-noto-cjk-fonts and google-noto-emoji-fonts
|
|
|
2f1999 |
- New subpackages - google-noto-nastaliq-urdu-fonts and google-noto-sans-tibetan-fonts
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Feb 04 2016 Parag Nemade <pnemade AT redhat DOT com> - 20150417-4
|
|
|
2f1999 |
- Fix for python2 fonttools
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20150417-3
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150417-2
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Apr 17 2015 Pravin Satpute <psatpute@redhat.com> - 20150417-1
|
|
|
2f1999 |
- Updating to git snapshot d47480343178.
|
|
|
2f1999 |
- Remove Thaana and Oriya from under-development list.
|
|
|
2f1999 |
- Add Syriac requirements from Unicode Core Specification.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Mar 27 2015 Pravin Satpute <psatpute@redhat.com> - 20150325-1
|
|
|
2f1999 |
- Updating to git snapshot 762640379a51.
|
|
|
2f1999 |
- Added 2 new packages Oriya and Oriya-UI.
|
|
|
2f1999 |
- Update Hebrew, Georgian, and Ethiopic fonts.
|
|
|
2f1999 |
- Fix cmap of U+06F7 to Urdu form of digit 7.
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Jan 13 2015 Pravin Satpute <psatpute@redhat.com> - 20141117-6
|
|
|
2f1999 |
- Resolves #1162341: Packaged Noto Color Emoji
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-5
|
|
|
2f1999 |
- improve generated font subpackage descriptions
|
|
|
2f1999 |
- it is Hanunoo not Hanuno!
|
|
|
2f1999 |
- specify font filenames more precisely
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-4
|
|
|
2f1999 |
- add obsoletes to cover the change of package names for Hanuno, Linear B,
|
|
|
2f1999 |
and Meetei Mayek
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Dec 2 2014 Jens Petersen <petersen@redhat.com> - 20141117-3
|
|
|
2f1999 |
- create the fonts subpackages with a macro
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Nov 21 2014 Jens Petersen <petersen@redhat.com> - 20141117-2
|
|
|
2f1999 |
- move cjk fonts fontconfig priority from 65-0 to 66
|
|
|
2f1999 |
- generate the appinfo metainfo for the subpackages
|
|
|
2f1999 |
- use a single for-loop to install the font config and appdata files
|
|
|
2f1999 |
- move parent appinfo metainfo to common (Parag Nemade)
|
|
|
2f1999 |
|
|
|
2f1999 |
* Thu Nov 20 2014 Jens Petersen <petersen@redhat.com> - 20141117-1
|
|
|
2f1999 |
- update to latest git (aae16d0cd626)
|
|
|
2f1999 |
- package Japanese, Korean, and CJK fonts
|
|
|
2f1999 |
- add Thaana font
|
|
|
2f1999 |
- add common subpackage for license and doc files
|
|
|
2f1999 |
- order spec subpackages lexically
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Nov 19 2014 Peng Wu <pwu@redhat.com> - 20141001-5
|
|
|
2f1999 |
- Rename Chinese sub-packages
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Nov 12 2014 Peng Wu <pwu@redhat.com> - 20141001-4
|
|
|
2f1999 |
- Add Chinese fonts
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Nov 11 2014 Parag Nemade <pnemade AT redhat DOT com> - 20141001-3
|
|
|
2f1999 |
- Add metainfo file to show this font in gnome-software
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Nov 03 2014 Pravin Satpute <psatpute@redhat.com> - 20141001-2
|
|
|
2f1999 |
- Resolves #1159562: Typo in fontconfig file
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Oct 01 2014 Pravin Satpute <psatpute@redhat.com> - 20141001-1
|
|
|
2f1999 |
- Google stops release tarball. Zip file derived from git Download zip.
|
|
|
2f1999 |
- 45 new packages added as follows.
|
|
|
2f1999 |
- kufi-arabic-fonts, naskh-arabic-fonts, naskh-arabic-ui-fonts, sans-balinese-fonts,
|
|
|
2f1999 |
- sans-bamum-fonts, sans-batak-fonts, sans-buginese-fonts, sans-buhid-fonts,
|
|
|
2f1999 |
- sans-canadian-aboriginal-fonts, sans-cham-fonts, sans-cuneiform-fonts, sans-cypriot-fonts,
|
|
|
2f1999 |
- sans-gothic-fonts, sans-gurmukhi-fonts, sans-gurmukhi-ui-fonts,
|
|
|
2f1999 |
- sans-inscriptional-pahlavi-fonts, sans-inscriptional-parthian-fonts, sans-javanese-fonts,
|
|
|
2f1999 |
- sans-lepcha-fonts, sans-limbu-fonts, sans-linearb-fonts, sans-mongolian-fonts,
|
|
|
2f1999 |
- sans-myanmar-fonts, sans-myanmar-ui-fonts, sans-new-tai-lue-fonts, sans-ogham-fonts,
|
|
|
2f1999 |
- sans-ol-chiki-fonts, sans-old-italic-fonts, sans-old-persian-fonts, sans-phags-pa-fonts,
|
|
|
2f1999 |
- sans-rejang-fonts, sans-runic-fonts, sans-samaritan-fonts, sans-saurashtra-fonts,
|
|
|
2f1999 |
- sans-sinhala-fonts, sans-sundanese-fonts, sans-syloti-nagri-fonts, sans-syriac-eastern-fonts,
|
|
|
2f1999 |
- sans-syriac-estrangela-fonts, sans-syriac-western-fonts, sans-tagbanwa-fonts,
|
|
|
2f1999 |
- sans-tai-le-fonts, sans-tifinagh-fonts, sans-yi-fonts
|
|
|
2f1999 |
- Resolves #1148413
|
|
|
2f1999 |
|
|
|
2f1999 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130807-2
|
|
|
2f1999 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2f1999 |
|
|
|
2f1999 |
* Wed Aug 14 2013 Pravin Satpute <psatpute@redhat.com> - 20130807-1
|
|
|
2f1999 |
- Upstream new release of 20130807 tarball.
|
|
|
2f1999 |
- Packages Non Hinted upstream tarball.
|
|
|
2f1999 |
- This pulled fonts for number of missing Unicode scripts in Fedora
|
|
|
2f1999 |
|
|
|
2f1999 |
* Tue Jul 16 2013 Pravin Satpute <psatpute@redhat.com> - 20130624-1
|
|
|
2f1999 |
- Resolved #984459 :- Upstream new release.
|
|
|
2f1999 |
- Added new package google-noto-serif-khmer-fonts
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Jun 24 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-5
|
|
|
2f1999 |
- Resolved #971886 :- Georgian Serif fontconfig file error
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon Jun 10 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-4
|
|
|
2f1999 |
- Resolved #971886 :- Georgian fontconfig file error
|
|
|
2f1999 |
|
|
|
2f1999 |
* Mon May 06 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-3
|
|
|
2f1999 |
- Initial import
|
|
|
2f1999 |
- Updated spec file
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Apr 19 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-2
|
|
|
2f1999 |
- Updated package as per 3rd comment on review request #953859
|
|
|
2f1999 |
|
|
|
2f1999 |
* Fri Apr 19 2013 Pravin Satpute <psatpute@redhat.com> - 20130411-1
|
|
|
2f1999 |
- Initial packaging
|