File firstyear-b612-fonts.spec of Package b612-fonts
#
# spec file for package bitstream-vera-fonts
#
# Copyright (c) 2024 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 B612
Name: firstyear-b612-fonts
Version: 4.20.69
Release: 0
Summary: Aeronautical fonts designed for cockpits
License: OFL-1.1 AND EPL-2.0 AND BSD-3-Clause
Group: System/X11/Fonts
URL: https://github.com/Firstyear/b612
Source: https://github.com/Firstyear/b612/archive/v%{version}.tar.gz#/b612-%{version}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
Provides: %{fontname} = %{version}
%reconfigure_fonts_prereq
%description
B612 is an highly legible open source font family designed and
tested to be used on aircraft cockpit screens. It was originally
commissioned by Airbus then later donated to the Eclipse
Foundation as part of the PolarSys project.
This contains the B612 font family with patches from SUSE's
William Brown adjusting some characters for better readability.
%prep
%setup -cT
%{uncompress:%{S:0}}
%build
%install
install -d %{buildroot}%{_ttfontsdir}
install -m0644 b612-%{version}/fonts/ttf/*.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets -c
%files
%license b612-%{version}/OFL.txt
%license b612-%{version}/EPL-2.0.html
%license b612-%{version}/edl-v10.html
%doc b612-%{version}/README.md
%{_ttfontsdir}
%changelog