From dd64f15903069424bb5c4841b73d0847fdbb83e5a72cc4490ccb12589d51b65f Mon Sep 17 00:00:00 2001 From: Lukas Kucharczyk Date: Wed, 30 Dec 2020 19:20:10 +0000 Subject: [PATCH] - Add Aile, Etoile, and Sparkle font families - Separate families into subpackages OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/iosevka-fonts?expand=0&rev=12 --- ...:download_files:ttc-iosevka-aile-4.2.0.zip | 3 + ...ownload_files:ttc-iosevka-etoile-4.2.0.zip | 3 + ...wnload_files:ttc-iosevka-sparkle-4.2.0.zip | 3 + iosevka-fonts.changes | 8 +- iosevka-fonts.spec | 119 ++++++++++++++++-- 5 files changed, 125 insertions(+), 11 deletions(-) create mode 100644 _service:download_files:ttc-iosevka-aile-4.2.0.zip create mode 100644 _service:download_files:ttc-iosevka-etoile-4.2.0.zip create mode 100644 _service:download_files:ttc-iosevka-sparkle-4.2.0.zip diff --git a/_service:download_files:ttc-iosevka-aile-4.2.0.zip b/_service:download_files:ttc-iosevka-aile-4.2.0.zip new file mode 100644 index 0000000..ac8db1d --- /dev/null +++ b/_service:download_files:ttc-iosevka-aile-4.2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ba60e030459986f07fc96ec96353a3bde4c1b0d3ba298bae18a658ad644c74 +size 6847843 diff --git a/_service:download_files:ttc-iosevka-etoile-4.2.0.zip b/_service:download_files:ttc-iosevka-etoile-4.2.0.zip new file mode 100644 index 0000000..9a7c480 --- /dev/null +++ b/_service:download_files:ttc-iosevka-etoile-4.2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3caf0a9effa2e2dac79a25bdece820e3d86ffbf0a59c6429fbeeccdac4816a48 +size 7800953 diff --git a/_service:download_files:ttc-iosevka-sparkle-4.2.0.zip b/_service:download_files:ttc-iosevka-sparkle-4.2.0.zip new file mode 100644 index 0000000..27cd5fd --- /dev/null +++ b/_service:download_files:ttc-iosevka-sparkle-4.2.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a50d85fbc02416036c51ace1b8fcc0522bd813fa08509516a7ce79e790628f8 +size 7030463 diff --git a/iosevka-fonts.changes b/iosevka-fonts.changes index f90a1ac..637308b 100644 --- a/iosevka-fonts.changes +++ b/iosevka-fonts.changes @@ -1,5 +1,11 @@ ------------------------------------------------------------------- -Tue Dec 29 20:19:47 UTC 2020 - Lukas Kucharczyk +Wed Dec 30 19:18:32 UTC 2020 - Lukas Kucharczyk + +- Add Aile, Etoile, and Sparkle font families +- Separate families into subpackages + +------------------------------------------------------------------- +Tue Dec 29 20:19:47 UTC 2020 - Lukas Kucharczyk - Update to v4.2.0 - Use TTC instead of TTF diff --git a/iosevka-fonts.spec b/iosevka-fonts.spec index a72649f..9c55b6e 100644 --- a/iosevka-fonts.spec +++ b/iosevka-fonts.spec @@ -13,22 +13,33 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + Name: iosevka-fonts Version: 4.2.0 -Release: 0 +Release: 1 Summary: Slender typeface for code, from code License: OFL-1.1 Group: System/X11/Fonts URL: https://typeof.net/Iosevka/ -Source1: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-%{version}.zip -Source2: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-slab-%{version}.zip -Source3: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-curly-%{version}.zip -Source4: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-curly-slab-%{version}.zip -Source20: https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE.md -Source21: https://raw.githubusercontent.com/be5invis/Iosevka/master/README.md +Source0: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-%{version}.zip +Source1: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-slab-%{version}.zip +Source2: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-curly-%{version}.zip +Source3: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-curly-slab-%{version}.zip +Source4: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-aile-%{version}.zip +Source5: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-etoile-%{version}.zip +Source6: https://github.com/be5invis/Iosevka/releases/download/v%{version}/ttc-iosevka-sparkle-%{version}.zip +Source7: https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE.md +Source8: https://raw.githubusercontent.com/be5invis/Iosevka/master/README.md BuildRequires: fontpackages-devel BuildRequires: unzip +Recommends: iosevka-aile-fonts +Recommends: iosevka-curly-fonts +Recommends: iosevka-curly-slab-fonts +Recommends: iosevka-etoile-fonts +Recommends: iosevka-slab-fonts +Recommends: iosevka-sparkle-fonts BuildArch: noarch %reconfigure_fonts_prereq @@ -37,12 +48,60 @@ Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proporti typeface family, designed for writing code, using in terminals, and preparing technical documents. +%package -n iosevka-slab-fonts +Summary: Monospace, Slab-serif + +%description -n iosevka-slab-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + +%package -n iosevka-curly-fonts +Summary: Monospace, Curly Style + +%description -n iosevka-curly-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + +%package -n iosevka-curly-slab-fonts +Summary: Monospace, Curly Style, Slab-serif + +%description -n iosevka-curly-slab-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + +%package -n iosevka-aile-fonts +Summary: Quasi-proportional, Sans-serif + +%description -n iosevka-aile-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + +%package -n iosevka-etoile-fonts +Summary: Quasi-proportional, Slab-serif + +%description -n iosevka-etoile-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + +%package -n iosevka-sparkle-fonts +Summary: Quasi-proportional, Hybrid, like iA Writer’s Duo + +%description -n iosevka-sparkle-fonts +Iosevka is an open-source, sans-serif + slab-serif, monospace + quasi‑proportional +typeface family, designed for writing code, using in terminals, and preparing +technical documents. + %prep -for s in %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; +for s in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}; do unzip $s '*.ttc'; done -cp %{SOURCE20} %{SOURCE21} . +cp %{SOURCE7} %{SOURCE8} . %build declare -A family=( \ @@ -50,6 +109,9 @@ declare -A family=( \ [iosevka-slab]=IosevkaSlab \ [iosevka-curly]=IosevkaCurly \ [iosevka-curly-slab]=IosevkaCurlySlab \ + [iosevka-aile]=IosevkaAile \ + [iosevka-etoile]=IosevkaEtoile \ + [iosevka-sparkle]=IosevkaSparkle \ ) declare -A variant=( \ @@ -80,6 +142,43 @@ install -m0644 *.ttc %{buildroot}%{_ttfontsdir} %files %doc README.md %license LICENSE.md -%{_ttfontsdir} +%dir %{_ttfontsdir} +%{_ttfontsdir}/Iosevka-*.ttc + +%files -n iosevka-slab-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaSlab-*.ttc + +%files -n iosevka-curly-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaCurly-*.ttc + +%files -n iosevka-curly-slab-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaCurlySlab-*.ttc + +%files -n iosevka-aile-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaAile-*.ttc + +%files -n iosevka-etoile-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaEtoile-*.ttc + +%files -n iosevka-sparkle-fonts +%doc README.md +%license LICENSE.md +%dir %{_ttfontsdir} +%{_ttfontsdir}/IosevkaSparkle-*.ttc %changelog