Updates to 20180905.

Remove Group tag.
Don't call fc-cache in scriptlets. this isn't needed anymore.
Drop BR: fontforge.
Generate fontconfig config files in macro for simple one.
This commit is contained in:
Akira TAGOH 2018-09-21 12:16:08 +00:00
parent dccc1e0c85
commit ed26fbee7e
36 changed files with 121 additions and 649 deletions

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Mono</family>
</prefer>
</alias>
<alias>
<family>Noto Mono</family>
<default>
<family>monospace</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Avestan</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Avestan</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Brahmi</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Brahmi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Carian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Carian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Deseret</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Deseret</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Egyptian Hieroglyphs</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Egyptian Hieroglyphs</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Glagolitic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Glagolitic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Imperial Aramaic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Imperial Aramaic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Inscriptional Pahlavi</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Inscriptional Pahlavi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Inscriptional Parthian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Inscriptional Parthian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Kaithi</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Kaithi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Kayah Li</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Kayah Li</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Kharoshthi</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Kharoshthi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Linear B</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Linear B</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Lycian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Lycian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Lydian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Lydian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Mandaic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Mandaic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Old Italic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Old Italic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Old Persian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Old Persian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Old South Arabian</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Old South Arabian</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Old Turkic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Old Turkic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Osmanya</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Osmanya</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Phags Pa</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Phags Pa</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Phoenician</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Phoenician</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Samaritan</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Samaritan</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Syloti Nagri</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Syloti Nagri</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>fantasy</family>
<prefer>
<family>Noto Sans Symbols</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Symbols</family>
<default>
<family>fantasy</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>"Noto Sans Tai Le</family>
</prefer>
</alias>
<alias>
<family>"Noto Sans Tai Le</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Tai Tham</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Tai Tham</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Tai Viet</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Tai Viet</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Ugaritic</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Ugaritic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans UI</family>
</prefer>
</alias>
<alias>
<family>Noto Sans UI</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans Yi</family>
</prefer>
</alias>
<alias>
<family>Noto Sans Yi</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
</prefer>
</alias>
<alias>
<family>Noto Sans</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,16 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
</prefer>
</alias>
<alias>
<family>Noto Serif</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>

View File

@ -6,70 +6,46 @@ between multiple scripts. Noto family supports almost all scripts available\
in Unicode.\ in Unicode.\
%{nil} %{nil}
%global commit 86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 %global commit db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 20161022 Version: 20180905
Release: 8%{?dist} Release: 1%{?dist}
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
Group: User Interface/X
License: OFL License: OFL
URL: https://github.com/googlei18n/noto-fonts/ URL: https://github.com/googlei18n/noto-fonts/
# downloaded from https://github.com/googlei18n/noto-fonts/tree/86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 -> download [zip] # downloaded from https://github.com/googlei18n/noto-fonts/tree/db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06 -> download [zip]
# link https://codeload.github.com/googlei18n/noto-fonts/zip/86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 # link https://codeload.github.com/googlei18n/noto-fonts/zip/db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06
Source0: noto-fonts-%{commit}.zip Source0: noto-fonts-%{commit}.zip
Source2: 66-%{fontconf}-sans.conf
Source3: 66-%{fontconf}-sans-armenian.conf Source3: 66-%{fontconf}-sans-armenian.conf
Source4: 66-%{fontconf}-sans-avestan.conf
Source5: 66-%{fontconf}-sans-bengali.conf Source5: 66-%{fontconf}-sans-bengali.conf
Source6: 66-%{fontconf}-sans-bengali-ui.conf Source6: 66-%{fontconf}-sans-bengali-ui.conf
Source7: 66-%{fontconf}-sans-brahmi.conf
Source8: 66-%{fontconf}-sans-carian.conf
Source9: 66-%{fontconf}-sans-cherokee.conf Source9: 66-%{fontconf}-sans-cherokee.conf
Source10: 66-%{fontconf}-sans-coptic.conf Source10: 66-%{fontconf}-sans-coptic.conf
Source11: 66-%{fontconf}-sans-deseret.conf
Source12: 66-%{fontconf}-sans-devanagari.conf Source12: 66-%{fontconf}-sans-devanagari.conf
Source13: 66-%{fontconf}-sans-devanagari-ui.conf Source13: 66-%{fontconf}-sans-devanagari-ui.conf
Source14: 66-%{fontconf}-sans-egyptian-hieroglyphs.conf
Source15: 66-%{fontconf}-sans-ethiopic.conf Source15: 66-%{fontconf}-sans-ethiopic.conf
Source16: 66-%{fontconf}-sans-georgian.conf Source16: 66-%{fontconf}-sans-georgian.conf
Source17: 66-%{fontconf}-sans-glagolitic.conf
Source18: 66-%{fontconf}-sans-hebrew.conf Source18: 66-%{fontconf}-sans-hebrew.conf
Source19: 66-%{fontconf}-sans-imperial-aramaic.conf
Source20: 66-%{fontconf}-sans-kaithi.conf
Source21: 66-%{fontconf}-sans-kannada.conf Source21: 66-%{fontconf}-sans-kannada.conf
Source22: 66-%{fontconf}-sans-kayah-li.conf
Source23: 66-%{fontconf}-sans-kharoshthi.conf
Source24: 66-%{fontconf}-sans-khmer.conf Source24: 66-%{fontconf}-sans-khmer.conf
Source25: 66-%{fontconf}-sans-khmer-ui.conf Source25: 66-%{fontconf}-sans-khmer-ui.conf
Source26: 66-%{fontconf}-sans-lao.conf Source26: 66-%{fontconf}-sans-lao.conf
Source27: 66-%{fontconf}-sans-lao-ui.conf Source27: 66-%{fontconf}-sans-lao-ui.conf
Source28: 66-%{fontconf}-sans-lisu.conf Source28: 66-%{fontconf}-sans-lisu.conf
Source29: 66-%{fontconf}-sans-lycian.conf
Source30: 66-%{fontconf}-sans-lydian.conf
Source31: 66-%{fontconf}-sans-malayalam.conf Source31: 66-%{fontconf}-sans-malayalam.conf
Source32: 66-%{fontconf}-sans-malayalam-ui.conf Source32: 66-%{fontconf}-sans-malayalam-ui.conf
Source33: 66-%{fontconf}-sans-mandaic.conf
Source34: 66-%{fontconf}-sans-meetei-mayek.conf Source34: 66-%{fontconf}-sans-meetei-mayek.conf
Source35: 66-%{fontconf}-sans-nko.conf Source35: 66-%{fontconf}-sans-nko.conf
Source36: 66-%{fontconf}-sans-old-south-arabian.conf
Source37: 66-%{fontconf}-sans-old-turkic.conf
Source38: 66-%{fontconf}-sans-osmanya.conf
Source39: 66-%{fontconf}-sans-phoenician.conf
Source40: 66-%{fontconf}-sans-shavian.conf Source40: 66-%{fontconf}-sans-shavian.conf
Source41: 66-%{fontconf}-sans-symbols.conf
Source42: 66-%{fontconf}-sans-tagalog.conf Source42: 66-%{fontconf}-sans-tagalog.conf
Source43: 66-%{fontconf}-sans-tai-tham.conf
Source44: 66-%{fontconf}-sans-tamil.conf Source44: 66-%{fontconf}-sans-tamil.conf
Source45: 66-%{fontconf}-sans-tamil-ui.conf Source45: 66-%{fontconf}-sans-tamil-ui.conf
Source46: 66-%{fontconf}-sans-telugu.conf Source46: 66-%{fontconf}-sans-telugu.conf
Source47: 66-%{fontconf}-sans-thai.conf Source47: 66-%{fontconf}-sans-thai.conf
Source48: 66-%{fontconf}-sans-thai-ui.conf Source48: 66-%{fontconf}-sans-thai-ui.conf
Source49: 66-%{fontconf}-sans-ugaritic.conf
Source50: 66-%{fontconf}-sans-ui.conf
Source51: 66-%{fontconf}-sans-vai.conf Source51: 66-%{fontconf}-sans-vai.conf
Source52: 66-%{fontconf}-serif-armenian.conf Source52: 66-%{fontconf}-serif-armenian.conf
Source53: 66-%{fontconf}-serif.conf
Source54: 66-%{fontconf}-serif-georgian.conf Source54: 66-%{fontconf}-serif-georgian.conf
Source55: 66-%{fontconf}-serif-khmer.conf Source55: 66-%{fontconf}-serif-khmer.conf
Source56: 66-%{fontconf}-serif-lao.conf Source56: 66-%{fontconf}-serif-lao.conf
@ -79,7 +55,6 @@ Source59: 66-%{fontconf}-sans-telugu-ui.conf
Source60: 66-%{fontconf}-sans-gujarati.conf Source60: 66-%{fontconf}-sans-gujarati.conf
Source61: 66-%{fontconf}-sans-gujarati-ui.conf Source61: 66-%{fontconf}-sans-gujarati-ui.conf
Source62: 66-%{fontconf}-sans-hanunoo.conf Source62: 66-%{fontconf}-sans-hanunoo.conf
Source63: 66-%{fontconf}-sans-tai-viet.conf
Source64: 66-%{fontconf}-kufi-arabic.conf Source64: 66-%{fontconf}-kufi-arabic.conf
Source65: 66-%{fontconf}-naskh-arabic.conf Source65: 66-%{fontconf}-naskh-arabic.conf
Source66: 66-%{fontconf}-naskh-arabic-ui.conf Source66: 66-%{fontconf}-naskh-arabic-ui.conf
@ -95,34 +70,24 @@ Source75: 66-%{fontconf}-sans-cypriot.conf
Source76: 66-%{fontconf}-sans-gothic.conf Source76: 66-%{fontconf}-sans-gothic.conf
Source77: 66-%{fontconf}-sans-gurmukhi.conf Source77: 66-%{fontconf}-sans-gurmukhi.conf
Source78: 66-%{fontconf}-sans-gurmukhi-ui.conf Source78: 66-%{fontconf}-sans-gurmukhi-ui.conf
Source79: 66-%{fontconf}-sans-inscriptional-pahlavi.conf
Source80: 66-%{fontconf}-sans-inscriptional-parthian.conf
Source81: 66-%{fontconf}-sans-javanese.conf Source81: 66-%{fontconf}-sans-javanese.conf
Source82: 66-%{fontconf}-sans-lepcha.conf Source82: 66-%{fontconf}-sans-lepcha.conf
Source83: 66-%{fontconf}-sans-limbu.conf Source83: 66-%{fontconf}-sans-limbu.conf
Source84: 66-%{fontconf}-sans-linear-b.conf
Source85: 66-%{fontconf}-sans-mongolian.conf Source85: 66-%{fontconf}-sans-mongolian.conf
Source86: 66-%{fontconf}-sans-myanmar.conf Source86: 66-%{fontconf}-sans-myanmar.conf
Source87: 66-%{fontconf}-sans-myanmar-ui.conf Source87: 66-%{fontconf}-sans-myanmar-ui.conf
Source88: 66-%{fontconf}-sans-new-tai-lue.conf Source88: 66-%{fontconf}-sans-new-tai-lue.conf
Source89: 66-%{fontconf}-sans-ogham.conf Source89: 66-%{fontconf}-sans-ogham.conf
Source90: 66-%{fontconf}-sans-ol-chiki.conf Source90: 66-%{fontconf}-sans-ol-chiki.conf
Source91: 66-%{fontconf}-sans-old-italic.conf
Source92: 66-%{fontconf}-sans-old-persian.conf
Source93: 66-%{fontconf}-sans-phags-pa.conf
Source94: 66-%{fontconf}-sans-rejang.conf Source94: 66-%{fontconf}-sans-rejang.conf
Source95: 66-%{fontconf}-sans-runic.conf Source95: 66-%{fontconf}-sans-runic.conf
Source96: 66-%{fontconf}-sans-samaritan.conf
Source97: 66-%{fontconf}-sans-saurashtra.conf Source97: 66-%{fontconf}-sans-saurashtra.conf
Source98: 65-%{fontconf}-sans-sinhala.conf Source98: 65-%{fontconf}-sans-sinhala.conf
Source99: 66-%{fontconf}-sans-sundanese.conf Source99: 66-%{fontconf}-sans-sundanese.conf
Source100: 66-%{fontconf}-sans-syloti-nagri.conf
Source101: 66-%{fontconf}-sans-syriac-eastern.conf Source101: 66-%{fontconf}-sans-syriac-eastern.conf
Source102: 66-%{fontconf}-sans-syriac-estrangela.conf Source102: 66-%{fontconf}-sans-syriac-estrangela.conf
Source103: 66-%{fontconf}-sans-syriac-western.conf Source103: 66-%{fontconf}-sans-syriac-western.conf
Source104: 66-%{fontconf}-sans-tai-le.conf
Source105: 66-%{fontconf}-sans-tifinagh.conf Source105: 66-%{fontconf}-sans-tifinagh.conf
Source106: 66-%{fontconf}-sans-yi.conf
Source107: 66-%{fontconf}-sans-tagbanwa.conf Source107: 66-%{fontconf}-sans-tagbanwa.conf
Source108: 66-%{fontconf}-sans-thaana.conf Source108: 66-%{fontconf}-sans-thaana.conf
@ -130,7 +95,6 @@ Source156: 66-%{fontconf}-sans-oriya.conf
Source157: 66-%{fontconf}-sans-oriya-ui.conf Source157: 66-%{fontconf}-sans-oriya-ui.conf
Source158: 66-%{fontconf}-nastaliq-urdu.conf Source158: 66-%{fontconf}-nastaliq-urdu.conf
Source159: 66-%{fontconf}-sans-tibetan.conf Source159: 66-%{fontconf}-sans-tibetan.conf
Source160: 66-%{fontconf}-mono.conf
Source161: 66-%{fontconf}-serif-bengali.conf Source161: 66-%{fontconf}-serif-bengali.conf
Source162: 66-%{fontconf}-serif-devanagari.conf Source162: 66-%{fontconf}-serif-devanagari.conf
Source163: 66-%{fontconf}-serif-gujarati.conf Source163: 66-%{fontconf}-serif-gujarati.conf
@ -143,7 +107,6 @@ Source167: 66-%{fontconf}-serif-telugu.conf
Source200: %{fontname}.metainfo.xml Source200: %{fontname}.metainfo.xml
BuildArch: noarch BuildArch: noarch
BuildRequires: fontforge >= 20080429
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
@ -177,25 +140,19 @@ Requires: %{name}-common = %{version}-%{release}\
%common_desc\ %common_desc\
Noto %1 font%{?2: for %(echo %* | sed -e "s/%1 //")}.\ Noto %1 font%{?2: for %(echo %* | sed -e "s/%1 //")}.\
\ \
%post -n %{subpkg}-fonts \ %_font_pkg -n %{pname} -f %{fconf} Noto%{-a*}%{!-a:%{fname}}-*.*t%{-c:c}%{!-c:f}\
if [ -x %{_bindir}/fc-cache ]; then \
%{_bindir}/fc-cache %{_fontdir} || : \
fi \
\
%postun -n %{subpkg}-fonts \
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then \
%{_bindir}/fc-cache %{_fontdir} || : \
fi\
\
%_font_pkg -n %{pname} -f %{fconf} Noto%{-a*}%{!-a:%{fname}}*.*t%{-c:c}%{!-c:f}\
%{_datadir}/appdata/%{subpkg}.metainfo.xml %{_datadir}/appdata/%{subpkg}.metainfo.xml
%notopkg Kufi Arabic %notopkg Kufi Arabic
%notopkg Naskh Arabic %notopkg Naskh Arabic
%notopkg Naskh Arabic UI %notopkg Naskh Arabic UI
%notopkg Sans %notopkg Sans
%notopkg Sans UI %notopkg -o sans-ui Sans Display
%notopkg Sans Adlam
%notopkg Sans Adlam Unjoined
%notopkg Sans Anatolian Hieroglyphs
%notopkg Sans Arabic
%notopkg Sans Arabic UI
%notopkg Sans Armenian %notopkg Sans Armenian
%notopkg Sans Avestan %notopkg Sans Avestan
%notopkg Sans Balinese %notopkg Sans Balinese
@ -208,6 +165,7 @@ fi\
%notopkg Sans Buhid %notopkg Sans Buhid
%notopkg Sans Canadian Aboriginal %notopkg Sans Canadian Aboriginal
%notopkg Sans Carian %notopkg Sans Carian
%notopkg Sans Chakma
%notopkg Sans Cham %notopkg Sans Cham
%notopkg Sans Cherokee %notopkg Sans Cherokee
%notopkg Sans Coptic %notopkg Sans Coptic
@ -261,6 +219,7 @@ fi\
%notopkg Sans Old Persian %notopkg Sans Old Persian
%notopkg Sans Old South Arabian %notopkg Sans Old South Arabian
%notopkg Sans Old Turkic %notopkg Sans Old Turkic
%notopkg Sans Osage
%notopkg Sans Osmanya %notopkg Sans Osmanya
%notopkg Sans Phags Pa %notopkg Sans Phags Pa
%notopkg Sans Phoenician %notopkg Sans Phoenician
@ -270,9 +229,11 @@ fi\
%notopkg Sans Samaritan %notopkg Sans Samaritan
%notopkg Sans Saurashtra %notopkg Sans Saurashtra
%notopkg -p 65 Sans Sinhala %notopkg -p 65 Sans Sinhala
%notopkg Sans Sinhala UI
%notopkg Sans Sundanese %notopkg Sans Sundanese
%notopkg Sans Syloti Nagri %notopkg Sans Syloti Nagri
%notopkg Sans Symbols %notopkg Sans Symbols
%notopkg Sans Symbols2
%notopkg Sans Syriac Eastern %notopkg Sans Syriac Eastern
%notopkg Sans Syriac Estrangela %notopkg Sans Syriac Estrangela
%notopkg Sans Syriac Western %notopkg Sans Syriac Western
@ -294,26 +255,31 @@ fi\
%notopkg Sans Yi %notopkg Sans Yi
%notopkg Serif %notopkg Serif
%notopkg Serif Armenian %notopkg Serif Armenian
%notopkg Serif Display
%notopkg Serif Ethiopic
%notopkg Serif Georgian %notopkg Serif Georgian
%notopkg Serif Hebrew
%notopkg Serif Khmer %notopkg Serif Khmer
%notopkg Serif Lao %notopkg Serif Lao
%notopkg Serif Myanmar
%notopkg Serif Thai %notopkg Serif Thai
%notopkg Sans Oriya %notopkg Sans Oriya
%notopkg Sans Oriya UI %notopkg Sans Oriya UI
%notopkg Sans Tibetan %notopkg Sans Tibetan
%notopkg Nastaliq Urdu %notopkg Nastaliq Urdu
%notopkg Mono %notopkg -o mono Sans Mono
%notopkg Serif Bengali %notopkg Serif Bengali
%notopkg Serif Devanagari %notopkg Serif Devanagari
%notopkg Serif Gujarati %notopkg Serif Gujarati
%notopkg Serif Kannada %notopkg Serif Kannada
%notopkg Serif Malayalam %notopkg Serif Malayalam
%notopkg Serif Sinhala
%notopkg Serif Tamil %notopkg Serif Tamil
%notopkg Serif Telugu %notopkg Serif Telugu
%prep %prep
%setup -q -n noto-fonts-86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 %setup -q -n noto-fonts-%{commit}
%build %build
@ -332,12 +298,86 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
install -Dm 0644 -p %{SOURCE200} \ install -Dm 0644 -p %{SOURCE200} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
%define fcconfbuild(a:g:p:)\
%define pname %(echo %{*} | tr "A-Z " "a-z-")\
%define fconf %{-p*}%{!-p:66}-%{fontconf}-%{pname}.conf\
cat<<_EOL_>%{buildroot}%{_fontconfig_templatedir}/%{fconf}\
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
<!DOCTYPE fontconfig SYSTEM \"fonts.dtd\">\
<fontconfig>\
<alias>\
<family>%{-g*}</family>\
<prefer>\
<family>Noto %{*}</family>\
</prefer>\
</alias>\
<alias>\
<family>Noto %{*}</family>\
<default>\
<family>%{-g*}</family>\
</default>\
</alias>\
</fontconfig>\
_EOL_
%fcconfbuild -g sans-serif Sans Adlam
%fcconfbuild -g sans-serif Sans Adlam Unjoined
%fcconfbuild -g sans-serif Sans Anatolian Hieroglyphs
%fcconfbuild -g sans-serif Sans Arabic
%fcconfbuild -g sans-serif Sans Arabic UI
%fcconfbuild -g sans-serif Sans Avestan
%fcconfbuild -g sans-serif Sans Brahmi
%fcconfbuild -g sans-serif Sans Carian
%fcconfbuild -g sans-serif Sans Chakma
%fcconfbuild -g sans-serif Sans Deseret
%fcconfbuild -g sans-serif Sans Display
%fcconfbuild -g sans-serif Sans Egyptian Hieroglyphs
%fcconfbuild -g sans-serif Sans Glagolitic
%fcconfbuild -g sans-serif Sans Imperial Aramaic
%fcconfbuild -g sans-serif Sans Inscriptional Pahlavi
%fcconfbuild -g sans-serif Sans Inscriptional Parthian
%fcconfbuild -g sans-serif Sans Kaithi
%fcconfbuild -g sans-serif Sans Kayah Li
%fcconfbuild -g sans-serif Sans Kharoshthi
%fcconfbuild -g sans-serif Sans Linear B
%fcconfbuild -g sans-serif Sans Lycian
%fcconfbuild -g sans-serif Sans Lydian
%fcconfbuild -g sans-serif Sans Mandaic
%fcconfbuild -g monospace Sans Mono
%fcconfbuild -g sans-serif Sans Old Italic
%fcconfbuild -g sans-serif Sans Old Persian
%fcconfbuild -g sans-serif Sans Old South Arabian
%fcconfbuild -g sans-serif Sans Old Turkic
%fcconfbuild -g sans-serif Sans Osage
%fcconfbuild -g sans-serif Sans Osmanya
%fcconfbuild -g sans-serif Sans Phags Pa
%fcconfbuild -g sans-serif Sans Phoenician
%fcconfbuild -g sans-serif Sans Samaritan
%fcconfbuild -g sans-serif Sans Sinhala UI
%fcconfbuild -g sans-serif Sans Syloti Nagri
%fcconfbuild -g fantasy Sans Symbols
%fcconfbuild -g fantasy Sans Symbols2
%fcconfbuild -g sans-serif Sans Tai Le
%fcconfbuild -g sans-serif Sans Tai Tham
%fcconfbuild -g sans-serif Sans Tai Viet
%fcconfbuild -g sans-serif Sans Ugaritic
%fcconfbuild -g sans-serif Sans Yi
%fcconfbuild -g sans-serif Sans
%fcconfbuild -g serif Serif Display
%fcconfbuild -g serif Serif Ethiopic
%fcconfbuild -g serif Serif Hebrew
%fcconfbuild -g serif Serif Myanmar
%fcconfbuild -g serif Serif Sinhala
%fcconfbuild -g serif Serif
for f in \ for f in \
kufi-arabic naskh-arabic naskh-arabic-ui \ kufi-arabic naskh-arabic naskh-arabic-ui \
sans sans-armenian sans-avestan sans-balinese sans-bamum \ sans sans-adlam sans-adlam-unjoined sans-anatolian-hieroglyphs \
sans-arabic sans-arabic-ui \
sans-armenian sans-avestan sans-balinese sans-bamum \
sans-batak sans-bengali sans-bengali-ui sans-brahmi \ sans-batak sans-bengali sans-bengali-ui sans-brahmi \
sans-buginese sans-buhid sans-canadian-aboriginal sans-carian \ sans-buginese sans-buhid sans-canadian-aboriginal sans-carian \
sans-cham sans-cherokee sans-coptic sans-cuneiform \ sans-chakma sans-cham sans-cherokee sans-coptic sans-cuneiform \
sans-cypriot sans-deseret sans-devanagari sans-devanagari-ui \ sans-cypriot sans-deseret sans-devanagari sans-devanagari-ui \
sans-egyptian-hieroglyphs sans-ethiopic sans-georgian \ sans-egyptian-hieroglyphs sans-ethiopic sans-georgian \
sans-glagolitic sans-gothic sans-gujarati sans-gujarati-ui \ sans-glagolitic sans-gothic sans-gujarati sans-gujarati-ui \
@ -351,27 +391,33 @@ for f in \
sans-mandaic sans-meetei-mayek sans-mongolian sans-myanmar \ sans-mandaic sans-meetei-mayek sans-mongolian sans-myanmar \
sans-myanmar-ui sans-new-tai-lue sans-nko sans-ogham \ sans-myanmar-ui sans-new-tai-lue sans-nko sans-ogham \
sans-ol-chiki sans-old-italic sans-old-persian \ sans-ol-chiki sans-old-italic sans-old-persian \
sans-old-south-arabian sans-old-turkic sans-osmanya \ sans-old-south-arabian sans-old-turkic sans-osage sans-osmanya \
sans-phags-pa sans-phoenician sans-rejang sans-runic \ sans-phags-pa sans-phoenician sans-rejang sans-runic \
sans-samaritan sans-saurashtra sans-shavian sans-sinhala \ sans-samaritan sans-saurashtra sans-shavian sans-sinhala sans-sinhala-ui \
sans-sundanese sans-syloti-nagri sans-symbols sans-syriac-eastern \ sans-sundanese sans-syloti-nagri sans-symbols sans-symbols2 sans-syriac-eastern \
sans-syriac-estrangela sans-syriac-western sans-tagalog \ sans-syriac-estrangela sans-syriac-western sans-tagalog \
sans-tagbanwa sans-tai-le sans-tai-tham sans-tai-viet \ sans-tagbanwa sans-tai-le sans-tai-tham sans-tai-viet \
sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \ sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \
sans-thaana sans-thai sans-thai-ui sans-tifinagh \ sans-thaana sans-thai sans-thai-ui sans-tifinagh \
sans-ugaritic sans-ui sans-vai sans-yi \ sans-ugaritic sans-display sans-vai sans-yi \
serif serif-armenian serif-georgian serif-khmer serif-lao serif-thai \ serif serif-armenian serif-display serif-ethiopic serif-georgian \
sans-oriya sans-oriya-ui sans-tibetan nastaliq-urdu mono \ serif-hebrew serif-khmer serif-lao serif-myanmar serif-sinhala serif-thai \
sans-oriya sans-oriya-ui sans-tibetan nastaliq-urdu sans-mono \
serif-bengali serif-devanagari serif-gujarati serif-kannada \ serif-bengali serif-devanagari serif-gujarati serif-kannada \
serif-malayalam serif-tamil serif-telugu \ serif-malayalam serif-tamil serif-telugu \
; do ; do
fconf=$(basename -a %{_sourcedir}/*-%{fontconf}-$f.conf) fconf=$(basename -a %{_sourcedir}/*-%{fontconf}-$f.conf)
if [ "$(echo $fconf | wc -w)" -ne 1 ]; then ifconf=$(basename -a %{buildroot}%{_fontconfig_templatedir}/*-%{fontconf}-$f.conf)
if [ "$(echo $fconf | wc -w)" -ne 1 -o "$(echo $ifconf | wc -w)" -ne 1 ]; then
echo "Did not find unique \*-%{fontconf}-$f.conf file" echo "Did not find unique \*-%{fontconf}-$f.conf file"
exit 1 exit 1
fi fi
install -m 0644 -p %{_sourcedir}/${fconf} \ if [ -f %{_sourcedir}/${fconf} ]; then
%{buildroot}%{_fontconfig_templatedir}/${fconf} install -m 0644 -p %{_sourcedir}/${fconf} \
%{buildroot}%{_fontconfig_templatedir}/${fconf}
else
fconf=$ifconf
fi
ln -s %{_fontconfig_templatedir}/${fconf} \ ln -s %{_fontconfig_templatedir}/${fconf} \
%{buildroot}%{_fontconfig_confdir}/${fconf} %{buildroot}%{_fontconfig_confdir}/${fconf}
@ -396,6 +442,13 @@ done
%changelog %changelog
* Fri Sep 21 2018 Akira TAGOH <tagoh@redhat.com> - 20180905-1
- Updates to 20180905.
- Remove Group tag.
- Don't call fc-cache in scriptlets. this isn't needed anymore.
- Drop BR: fontforge.
- Generate fontconfig config files in macro for simple one.
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-8 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20161022-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild