File Inter-UI-fonts.spec of Package Inter-UI-fonts

#
# spec file for package Inter-UI-fonts
#
# Copyright (c) 2018 SUSE LINUX 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 https://bugs.opensuse.org/
#


Name:           Inter-UI-fonts
Version:        3.1
Release:        0
Summary:        Typeface designed for user interfaces
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            http://rsms.me/inter
Source0:        https://github.com/rsms/inter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  fontpackages-devel
%reconfigure_fonts_prereq
BuildArch:      noarch

%description
Inter UI is a typeface specially designed for user interfaces with
focus on high legibility of small-to-medium sized text on computer
screens.

The family features a tall x-height to aid in readability of
mixed-case and lower-case text. Several OpenType features are
provided as well, like contextual alternates that adjusts
punctuation depending on the shape of surrounding glyphs, slashed
zero for when you need to disambiguate "0" from "o", tabular
numbers, etc.

%prep
%setup -q -n inter-%{version}

%build
./init.sh
make V=1

%install
%make_install

%reconfigure_fonts_scriptlets

%files
%license LICENSE.txt
%doc README.md
%{_ttfontsdir}

%changelog