1
0
forked from pool/iosevka-fonts

- 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
This commit is contained in:
Lukas Kucharczyk 2020-12-30 19:20:10 +00:00 committed by Git OBS Bridge
parent c069939320
commit dd64f15903
5 changed files with 125 additions and 11 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ba60e030459986f07fc96ec96353a3bde4c1b0d3ba298bae18a658ad644c74
size 6847843

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3caf0a9effa2e2dac79a25bdece820e3d86ffbf0a59c6429fbeeccdac4816a48
size 7800953

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a50d85fbc02416036c51ace1b8fcc0522bd813fa08509516a7ce79e790628f8
size 7030463

View File

@ -1,5 +1,11 @@
-------------------------------------------------------------------
Tue Dec 29 20:19:47 UTC 2020 - Lukas Kucharczyk <lukas@localhost>
Wed Dec 30 19:18:32 UTC 2020 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Add Aile, Etoile, and Sparkle font families
- Separate families into subpackages
-------------------------------------------------------------------
Tue Dec 29 20:19:47 UTC 2020 - Lukas Kucharczyk <lukas.kucharczyk@suse.com>
- Update to v4.2.0
- Use TTC instead of TTF

View File

@ -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 + quasiproporti
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 + quasiproportional
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 + quasiproportional
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 + quasiproportional
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 + quasiproportional
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 + quasiproportional
typeface family, designed for writing code, using in terminals, and preparing
technical documents.
%package -n iosevka-sparkle-fonts
Summary: Quasi-proportional, Hybrid, like iA Writers Duo
%description -n iosevka-sparkle-fonts
Iosevka is an open-source, sans-serif + slab-serif, monospace + quasiproportional
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