File displaay-azeret-fonts.spec of Package displaay-azeret-fonts

#
# spec file for package displaay-azeret-fonts
#
# Copyright (c) 2021 SUSE LLC
#
# 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/
#


%define fontname azeret
Name:           displaay-azeret-fonts
Version:        1.002
Release:        0
Summary:        Sans-serif typeface with a mono-linear character
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://github.com/displaay/Azeret/
Source0:        %{fontname}.zip
BuildRequires:  dos2unix
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
The story of the typeface began with a draft that was driven by an exploration
of OCR fonts, past and futuristic operating systems, various interfaces and the
nineties. The final result is more based on a desire to achieve an appearance of
the typeface that could serve in operating systems. Thus the overall character
is a conjunction of everything described with details that evoke a specific
personality.

Azeret is a sans-serif typeface with a mono-linear character. Don't go looking
for too much contrast in the strokes! The circular parts of the letters do not
have a smooth connection to the stems. The x-height is higher than usual and
thus the ascenders and descenders are short. Alternates are also available which
open the possibility of creating different moods. A number of them hint at a
nineties aesthetic.

%prep
%setup -q -n %{fontname}
find . -type f -name \*.txt -print0 | xargs -0 dos2unix

%build

%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -m 644 fonts/{otf,ttf}/* %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%files
%doc README.md AUTHORS.txt CONTRIBUTORS.txt
%license OFL.txt
%dir %{_ttfontsdir}/
%{_ttfontsdir}/*

%changelog
openSUSE Build Service is sponsored by