File sil-galatia-fonts.spec of Package sil-galatia-fonts

#
# spec file for package sil-galatia-fonts
#
# Copyright (c) 2023 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/
#


Name:           sil-galatia-fonts
Version:        2.1
Release:        0
Summary:        Unicode font designed to support Biblical Polytonic Greek
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://software.sil.org/galatia/
Source0:        https://software.sil.org/downloads/r/galatia/GalatiaSIL-%{version}.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
Galatia SIL is a Unicode 3.1 font designed to support Biblical
Polytonic Greek. The font supports precomposed characters rather than
decomposed characters. Thus, you must use a keyboard/IME that outputs
NFC encoding (precomposed).

%prep
%autosetup -n GalSIL21
# Remove DOS line endings:
sed -i -e 's/\r//' *.txt

%build

%install
install -dm0755 %{buildroot}%{_ttfontsdir}
install -m0644 *.ttf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%files
%license OFL.txt
%doc FONTLOG.txt OFL-FAQ.txt
%{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by