A new user interface for you! Read more...

File iosevka-fonts.spec of Package iosevka-fonts

#
# spec file for package iosevka-fonts
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:		iosevka-fonts
Version:	1.12.5
Release:	0
License:	OFL-1.1
Summary:	Spatial efficient monospace font family for programming
Url:		https://github.com/be5invis/Iosevka
Group:		System/X11/Fonts
Source0:	build.sh
Source1:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/01-iosevka-%{version}.zip
Source2:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/02-iosevka-term-%{version}.zip
Source3:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/03-iosevka-type-%{version}.zip
Source4:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/04-iosevka-cc-%{version}.zip
Source5:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/05-iosevka-slab-%{version}.zip
Source6:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/06-iosevka-term-slab-%{version}.zip
Source7:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/07-iosevka-type-slab-%{version}.zip
Source8:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/08-iosevka-cc-slab-%{version}.zip
Source9:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/09-iosevka-hooky-%{version}.zip
Source10:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/10-iosevka-hooky-term-%{version}.zip
Source11:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/11-iosevka-zshaped-%{version}.zip
Source12:	https://github.com/be5invis/Iosevka/releases/download/v%{version}/12-iosevka-zshaped-term-%{version}.zip
Source20: 	https://raw.githubusercontent.com/be5invis/Iosevka/master/LICENSE.md
Source21: 	https://raw.githubusercontent.com/be5invis/Iosevka/master/README.md
Source22:	https://raw.githubusercontent.com/be5invis/Iosevka/master/ISSUE_TEMPLATE.md
BuildRequires:	unzip
BuildRequires:	fontpackages-devel
BuildArch:	noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%reconfigure_fonts_prereq

%description
Iosevka is a slender monospace sans-serif and slab-serif typeface inspired by
Pragmata Pro, M+ and PF DIN Mono, designed to be the ideal font for
programming.

Iosevka comes in regular, bold, italic and bold-italic with over 2000 latin,
greek, cyrillic, phonetic and PowerLine glyphs. A IosevkaCC variant is also
provided, with several symbols enwiden, to be compatible with most CJK
typefaces.

Iosevka is completely generated from its source code. You can build your own
variant by adjusting its parameters.

%prep
%{__unzip} %{SOURCE1}
%{__unzip} %{SOURCE2}
%{__unzip} %{SOURCE3}
%{__unzip} %{SOURCE4}
%{__unzip} %{SOURCE5}
%{__unzip} %{SOURCE6}
%{__unzip} %{SOURCE7}
%{__unzip} %{SOURCE8}
%{__unzip} %{SOURCE9}
%{__unzip} %{SOURCE10}
%{__unzip} %{SOURCE11}
%{__unzip} %{SOURCE12}
%{__cp} %{SOURCE20} %{SOURCE21} %{SOURCE22} .

%build
%{___build_shell} %{SOURCE0}

%install
%{__install} -d %{buildroot}%{_ttfontsdir}
%{__install} -m 0644 *.ttf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README.md LICENSE.md ISSUE_TEMPLATE.md
%{_ttfontsdir}