diff --git a/66-google-noto-mono.conf b/66-google-noto-mono.conf deleted file mode 100644 index c003973..0000000 --- a/66-google-noto-mono.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - monospace - - Noto Mono - - - - Noto Mono - - monospace - - - diff --git a/66-google-noto-sans-avestan.conf b/66-google-noto-sans-avestan.conf deleted file mode 100644 index f1f24f7..0000000 --- a/66-google-noto-sans-avestan.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Avestan - - - - Noto Sans Avestan - - sans-serif - - - - diff --git a/66-google-noto-sans-brahmi.conf b/66-google-noto-sans-brahmi.conf deleted file mode 100644 index 6e530d9..0000000 --- a/66-google-noto-sans-brahmi.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Brahmi - - - - Noto Sans Brahmi - - sans-serif - - - - diff --git a/66-google-noto-sans-carian.conf b/66-google-noto-sans-carian.conf deleted file mode 100644 index 70bfc58..0000000 --- a/66-google-noto-sans-carian.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Carian - - - - Noto Sans Carian - - sans-serif - - - - diff --git a/66-google-noto-sans-deseret.conf b/66-google-noto-sans-deseret.conf deleted file mode 100644 index e54595b..0000000 --- a/66-google-noto-sans-deseret.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Deseret - - - - Noto Sans Deseret - - sans-serif - - - - diff --git a/66-google-noto-sans-egyptian-hieroglyphs.conf b/66-google-noto-sans-egyptian-hieroglyphs.conf deleted file mode 100644 index 771db93..0000000 --- a/66-google-noto-sans-egyptian-hieroglyphs.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Egyptian Hieroglyphs - - - - Noto Sans Egyptian Hieroglyphs - - sans-serif - - - - diff --git a/66-google-noto-sans-glagolitic.conf b/66-google-noto-sans-glagolitic.conf deleted file mode 100644 index 3c6b620..0000000 --- a/66-google-noto-sans-glagolitic.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Glagolitic - - - - Noto Sans Glagolitic - - sans-serif - - - - diff --git a/66-google-noto-sans-imperial-aramaic.conf b/66-google-noto-sans-imperial-aramaic.conf deleted file mode 100644 index ec30f33..0000000 --- a/66-google-noto-sans-imperial-aramaic.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Imperial Aramaic - - - - Noto Sans Imperial Aramaic - - sans-serif - - - - diff --git a/66-google-noto-sans-inscriptional-pahlavi.conf b/66-google-noto-sans-inscriptional-pahlavi.conf deleted file mode 100644 index de2f04d..0000000 --- a/66-google-noto-sans-inscriptional-pahlavi.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Inscriptional Pahlavi - - - - Noto Sans Inscriptional Pahlavi - - sans-serif - - - diff --git a/66-google-noto-sans-inscriptional-parthian.conf b/66-google-noto-sans-inscriptional-parthian.conf deleted file mode 100644 index 3204d47..0000000 --- a/66-google-noto-sans-inscriptional-parthian.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Inscriptional Parthian - - - - Noto Sans Inscriptional Parthian - - sans-serif - - - diff --git a/66-google-noto-sans-kaithi.conf b/66-google-noto-sans-kaithi.conf deleted file mode 100644 index 170f13f..0000000 --- a/66-google-noto-sans-kaithi.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Kaithi - - - - Noto Sans Kaithi - - sans-serif - - - - diff --git a/66-google-noto-sans-kayah-li.conf b/66-google-noto-sans-kayah-li.conf deleted file mode 100644 index eac10fe..0000000 --- a/66-google-noto-sans-kayah-li.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Kayah Li - - - - Noto Sans Kayah Li - - sans-serif - - - - diff --git a/66-google-noto-sans-kharoshthi.conf b/66-google-noto-sans-kharoshthi.conf deleted file mode 100644 index 3efe6b7..0000000 --- a/66-google-noto-sans-kharoshthi.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Kharoshthi - - - - Noto Sans Kharoshthi - - sans-serif - - - - diff --git a/66-google-noto-sans-linear-b.conf b/66-google-noto-sans-linear-b.conf deleted file mode 100644 index 72e5895..0000000 --- a/66-google-noto-sans-linear-b.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Linear B - - - - Noto Sans Linear B - - sans-serif - - - diff --git a/66-google-noto-sans-lycian.conf b/66-google-noto-sans-lycian.conf deleted file mode 100644 index e064209..0000000 --- a/66-google-noto-sans-lycian.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Lycian - - - - Noto Sans Lycian - - sans-serif - - - - diff --git a/66-google-noto-sans-lydian.conf b/66-google-noto-sans-lydian.conf deleted file mode 100644 index 9c506e4..0000000 --- a/66-google-noto-sans-lydian.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Lydian - - - - Noto Sans Lydian - - sans-serif - - - - diff --git a/66-google-noto-sans-mandaic.conf b/66-google-noto-sans-mandaic.conf deleted file mode 100644 index 02f1824..0000000 --- a/66-google-noto-sans-mandaic.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Mandaic - - - - Noto Sans Mandaic - - sans-serif - - - - diff --git a/66-google-noto-sans-old-italic.conf b/66-google-noto-sans-old-italic.conf deleted file mode 100644 index 2ba7cfa..0000000 --- a/66-google-noto-sans-old-italic.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Old Italic - - - - Noto Sans Old Italic - - sans-serif - - - diff --git a/66-google-noto-sans-old-persian.conf b/66-google-noto-sans-old-persian.conf deleted file mode 100644 index 9ad828b..0000000 --- a/66-google-noto-sans-old-persian.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Old Persian - - - - Noto Sans Old Persian - - sans-serif - - - diff --git a/66-google-noto-sans-old-south-arabian.conf b/66-google-noto-sans-old-south-arabian.conf deleted file mode 100644 index 4ebd288..0000000 --- a/66-google-noto-sans-old-south-arabian.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Old South Arabian - - - - Noto Sans Old South Arabian - - sans-serif - - - - diff --git a/66-google-noto-sans-old-turkic.conf b/66-google-noto-sans-old-turkic.conf deleted file mode 100644 index 54ef249..0000000 --- a/66-google-noto-sans-old-turkic.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Old Turkic - - - - Noto Sans Old Turkic - - sans-serif - - - - diff --git a/66-google-noto-sans-osmanya.conf b/66-google-noto-sans-osmanya.conf deleted file mode 100644 index e2638dc..0000000 --- a/66-google-noto-sans-osmanya.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Osmanya - - - - Noto Sans Osmanya - - sans-serif - - - - diff --git a/66-google-noto-sans-phags-pa.conf b/66-google-noto-sans-phags-pa.conf deleted file mode 100644 index 1baca72..0000000 --- a/66-google-noto-sans-phags-pa.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Phags Pa - - - - Noto Sans Phags Pa - - sans-serif - - - diff --git a/66-google-noto-sans-phoenician.conf b/66-google-noto-sans-phoenician.conf deleted file mode 100644 index a55660a..0000000 --- a/66-google-noto-sans-phoenician.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Phoenician - - - - Noto Sans Phoenician - - sans-serif - - - - diff --git a/66-google-noto-sans-samaritan.conf b/66-google-noto-sans-samaritan.conf deleted file mode 100644 index 9fe5f5b..0000000 --- a/66-google-noto-sans-samaritan.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Samaritan - - - - Noto Sans Samaritan - - sans-serif - - - diff --git a/66-google-noto-sans-syloti-nagri.conf b/66-google-noto-sans-syloti-nagri.conf deleted file mode 100644 index 8132865..0000000 --- a/66-google-noto-sans-syloti-nagri.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Syloti Nagri - - - - Noto Sans Syloti Nagri - - sans-serif - - - diff --git a/66-google-noto-sans-symbols.conf b/66-google-noto-sans-symbols.conf deleted file mode 100644 index be551a4..0000000 --- a/66-google-noto-sans-symbols.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - fantasy - - Noto Sans Symbols - - - - Noto Sans Symbols - - fantasy - - - - diff --git a/66-google-noto-sans-tai-le.conf b/66-google-noto-sans-tai-le.conf deleted file mode 100644 index a7bc5e4..0000000 --- a/66-google-noto-sans-tai-le.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - "Noto Sans Tai Le - - - - "Noto Sans Tai Le - - sans-serif - - - diff --git a/66-google-noto-sans-tai-tham.conf b/66-google-noto-sans-tai-tham.conf deleted file mode 100644 index 925a363..0000000 --- a/66-google-noto-sans-tai-tham.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Tai Tham - - - - Noto Sans Tai Tham - - sans-serif - - - - diff --git a/66-google-noto-sans-tai-viet.conf b/66-google-noto-sans-tai-viet.conf deleted file mode 100644 index 6bb4b45..0000000 --- a/66-google-noto-sans-tai-viet.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Tai Viet - - - - Noto Sans Tai Viet - - sans-serif - - - - diff --git a/66-google-noto-sans-ugaritic.conf b/66-google-noto-sans-ugaritic.conf deleted file mode 100644 index 1a8aeaa..0000000 --- a/66-google-noto-sans-ugaritic.conf +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sans-serif - - Noto Sans Ugaritic - - - - Noto Sans Ugaritic - - sans-serif - - - - diff --git a/66-google-noto-sans-ui.conf b/66-google-noto-sans-ui.conf deleted file mode 100644 index f3d3271..0000000 --- a/66-google-noto-sans-ui.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans UI - - - - Noto Sans UI - - sans-serif - - - diff --git a/66-google-noto-sans-yi.conf b/66-google-noto-sans-yi.conf deleted file mode 100644 index d6763ff..0000000 --- a/66-google-noto-sans-yi.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans Yi - - - - Noto Sans Yi - - sans-serif - - - diff --git a/66-google-noto-sans.conf b/66-google-noto-sans.conf deleted file mode 100644 index 012aebe..0000000 --- a/66-google-noto-sans.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - sans-serif - - Noto Sans - - - - Noto Sans - - sans-serif - - - diff --git a/66-google-noto-serif.conf b/66-google-noto-serif.conf deleted file mode 100644 index 036baf7..0000000 --- a/66-google-noto-serif.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - serif - - Noto Serif - - - - Noto Serif - - serif - - - diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec index af0a955..6cff1c6 100644 --- a/google-noto-fonts.spec +++ b/google-noto-fonts.spec @@ -6,70 +6,46 @@ between multiple scripts. Noto family supports almost all scripts available\ in Unicode.\ %{nil} -%global commit 86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 +%global commit db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06 Name: %{fontname}-fonts -Version: 20161022 -Release: 8%{?dist} +Version: 20180905 +Release: 1%{?dist} Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts -Group: User Interface/X License: OFL URL: https://github.com/googlei18n/noto-fonts/ -# downloaded from https://github.com/googlei18n/noto-fonts/tree/86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 -> download [zip] -# link https://codeload.github.com/googlei18n/noto-fonts/zip/86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 +# downloaded from https://github.com/googlei18n/noto-fonts/tree/db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06 -> download [zip] +# link https://codeload.github.com/googlei18n/noto-fonts/zip/db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06 Source0: noto-fonts-%{commit}.zip -Source2: 66-%{fontconf}-sans.conf Source3: 66-%{fontconf}-sans-armenian.conf -Source4: 66-%{fontconf}-sans-avestan.conf Source5: 66-%{fontconf}-sans-bengali.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 Source10: 66-%{fontconf}-sans-coptic.conf -Source11: 66-%{fontconf}-sans-deseret.conf Source12: 66-%{fontconf}-sans-devanagari.conf Source13: 66-%{fontconf}-sans-devanagari-ui.conf -Source14: 66-%{fontconf}-sans-egyptian-hieroglyphs.conf Source15: 66-%{fontconf}-sans-ethiopic.conf Source16: 66-%{fontconf}-sans-georgian.conf -Source17: 66-%{fontconf}-sans-glagolitic.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 -Source22: 66-%{fontconf}-sans-kayah-li.conf -Source23: 66-%{fontconf}-sans-kharoshthi.conf Source24: 66-%{fontconf}-sans-khmer.conf Source25: 66-%{fontconf}-sans-khmer-ui.conf Source26: 66-%{fontconf}-sans-lao.conf Source27: 66-%{fontconf}-sans-lao-ui.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 Source32: 66-%{fontconf}-sans-malayalam-ui.conf -Source33: 66-%{fontconf}-sans-mandaic.conf Source34: 66-%{fontconf}-sans-meetei-mayek.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 -Source41: 66-%{fontconf}-sans-symbols.conf Source42: 66-%{fontconf}-sans-tagalog.conf -Source43: 66-%{fontconf}-sans-tai-tham.conf Source44: 66-%{fontconf}-sans-tamil.conf Source45: 66-%{fontconf}-sans-tamil-ui.conf Source46: 66-%{fontconf}-sans-telugu.conf Source47: 66-%{fontconf}-sans-thai.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 Source52: 66-%{fontconf}-serif-armenian.conf -Source53: 66-%{fontconf}-serif.conf Source54: 66-%{fontconf}-serif-georgian.conf Source55: 66-%{fontconf}-serif-khmer.conf Source56: 66-%{fontconf}-serif-lao.conf @@ -79,7 +55,6 @@ Source59: 66-%{fontconf}-sans-telugu-ui.conf Source60: 66-%{fontconf}-sans-gujarati.conf Source61: 66-%{fontconf}-sans-gujarati-ui.conf Source62: 66-%{fontconf}-sans-hanunoo.conf -Source63: 66-%{fontconf}-sans-tai-viet.conf Source64: 66-%{fontconf}-kufi-arabic.conf Source65: 66-%{fontconf}-naskh-arabic.conf Source66: 66-%{fontconf}-naskh-arabic-ui.conf @@ -95,34 +70,24 @@ Source75: 66-%{fontconf}-sans-cypriot.conf Source76: 66-%{fontconf}-sans-gothic.conf Source77: 66-%{fontconf}-sans-gurmukhi.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 Source82: 66-%{fontconf}-sans-lepcha.conf Source83: 66-%{fontconf}-sans-limbu.conf -Source84: 66-%{fontconf}-sans-linear-b.conf Source85: 66-%{fontconf}-sans-mongolian.conf Source86: 66-%{fontconf}-sans-myanmar.conf Source87: 66-%{fontconf}-sans-myanmar-ui.conf Source88: 66-%{fontconf}-sans-new-tai-lue.conf Source89: 66-%{fontconf}-sans-ogham.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 Source95: 66-%{fontconf}-sans-runic.conf -Source96: 66-%{fontconf}-sans-samaritan.conf Source97: 66-%{fontconf}-sans-saurashtra.conf Source98: 65-%{fontconf}-sans-sinhala.conf Source99: 66-%{fontconf}-sans-sundanese.conf -Source100: 66-%{fontconf}-sans-syloti-nagri.conf Source101: 66-%{fontconf}-sans-syriac-eastern.conf Source102: 66-%{fontconf}-sans-syriac-estrangela.conf Source103: 66-%{fontconf}-sans-syriac-western.conf -Source104: 66-%{fontconf}-sans-tai-le.conf Source105: 66-%{fontconf}-sans-tifinagh.conf -Source106: 66-%{fontconf}-sans-yi.conf Source107: 66-%{fontconf}-sans-tagbanwa.conf Source108: 66-%{fontconf}-sans-thaana.conf @@ -130,7 +95,6 @@ Source156: 66-%{fontconf}-sans-oriya.conf Source157: 66-%{fontconf}-sans-oriya-ui.conf Source158: 66-%{fontconf}-nastaliq-urdu.conf Source159: 66-%{fontconf}-sans-tibetan.conf -Source160: 66-%{fontconf}-mono.conf Source161: 66-%{fontconf}-serif-bengali.conf Source162: 66-%{fontconf}-serif-devanagari.conf Source163: 66-%{fontconf}-serif-gujarati.conf @@ -143,7 +107,6 @@ Source167: 66-%{fontconf}-serif-telugu.conf Source200: %{fontname}.metainfo.xml BuildArch: noarch -BuildRequires: fontforge >= 20080429 BuildRequires: fontpackages-devel Requires: fontpackages-filesystem @@ -177,25 +140,19 @@ Requires: %{name}-common = %{version}-%{release}\ %common_desc\ Noto %1 font%{?2: for %(echo %* | sed -e "s/%1 //")}.\ \ -%post -n %{subpkg}-fonts \ -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}\ +%_font_pkg -n %{pname} -f %{fconf} Noto%{-a*}%{!-a:%{fname}}-*.*t%{-c:c}%{!-c:f}\ %{_datadir}/appdata/%{subpkg}.metainfo.xml - %notopkg Kufi Arabic %notopkg Naskh Arabic %notopkg Naskh Arabic UI %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 Avestan %notopkg Sans Balinese @@ -208,6 +165,7 @@ fi\ %notopkg Sans Buhid %notopkg Sans Canadian Aboriginal %notopkg Sans Carian +%notopkg Sans Chakma %notopkg Sans Cham %notopkg Sans Cherokee %notopkg Sans Coptic @@ -261,6 +219,7 @@ fi\ %notopkg Sans Old Persian %notopkg Sans Old South Arabian %notopkg Sans Old Turkic +%notopkg Sans Osage %notopkg Sans Osmanya %notopkg Sans Phags Pa %notopkg Sans Phoenician @@ -270,9 +229,11 @@ fi\ %notopkg Sans Samaritan %notopkg Sans Saurashtra %notopkg -p 65 Sans Sinhala +%notopkg Sans Sinhala UI %notopkg Sans Sundanese %notopkg Sans Syloti Nagri %notopkg Sans Symbols +%notopkg Sans Symbols2 %notopkg Sans Syriac Eastern %notopkg Sans Syriac Estrangela %notopkg Sans Syriac Western @@ -294,26 +255,31 @@ fi\ %notopkg Sans Yi %notopkg Serif %notopkg Serif Armenian +%notopkg Serif Display +%notopkg Serif Ethiopic %notopkg Serif Georgian +%notopkg Serif Hebrew %notopkg Serif Khmer %notopkg Serif Lao +%notopkg Serif Myanmar %notopkg Serif Thai %notopkg Sans Oriya %notopkg Sans Oriya UI %notopkg Sans Tibetan %notopkg Nastaliq Urdu -%notopkg Mono +%notopkg -o mono Sans Mono %notopkg Serif Bengali %notopkg Serif Devanagari %notopkg Serif Gujarati %notopkg Serif Kannada %notopkg Serif Malayalam +%notopkg Serif Sinhala %notopkg Serif Tamil %notopkg Serif Telugu %prep -%setup -q -n noto-fonts-86b2e553c3e3e4d6614dadd1fa0a7a6dafd74552 +%setup -q -n noto-fonts-%{commit} %build @@ -332,12 +298,86 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ install -Dm 0644 -p %{SOURCE200} \ %{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}\ +\ +\ +\ + \ + %{-g*}\ + \ + Noto %{*}\ + \ + \ + \ + Noto %{*}\ + \ + %{-g*}\ + \ + \ +\ +_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 \ 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-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-egyptian-hieroglyphs sans-ethiopic sans-georgian \ 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-myanmar-ui sans-new-tai-lue sans-nko sans-ogham \ 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-samaritan sans-saurashtra sans-shavian sans-sinhala \ - sans-sundanese sans-syloti-nagri sans-symbols sans-syriac-eastern \ + sans-samaritan sans-saurashtra sans-shavian sans-sinhala sans-sinhala-ui \ + sans-sundanese sans-syloti-nagri sans-symbols sans-symbols2 sans-syriac-eastern \ sans-syriac-estrangela sans-syriac-western sans-tagalog \ sans-tagbanwa sans-tai-le sans-tai-tham sans-tai-viet \ sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \ sans-thaana sans-thai sans-thai-ui sans-tifinagh \ - sans-ugaritic sans-ui sans-vai sans-yi \ - serif serif-armenian serif-georgian serif-khmer serif-lao serif-thai \ - sans-oriya sans-oriya-ui sans-tibetan nastaliq-urdu mono \ + sans-ugaritic sans-display sans-vai sans-yi \ + serif serif-armenian serif-display serif-ethiopic serif-georgian \ + 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-malayalam serif-tamil serif-telugu \ ; do 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" exit 1 fi - install -m 0644 -p %{_sourcedir}/${fconf} \ - %{buildroot}%{_fontconfig_templatedir}/${fconf} + if [ -f %{_sourcedir}/${fconf} ]; then + install -m 0644 -p %{_sourcedir}/${fconf} \ + %{buildroot}%{_fontconfig_templatedir}/${fconf} + else + fconf=$ifconf + fi ln -s %{_fontconfig_templatedir}/${fconf} \ %{buildroot}%{_fontconfig_confdir}/${fconf} @@ -396,6 +442,13 @@ done %changelog +* Fri Sep 21 2018 Akira TAGOH - 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 - 20161022-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild