sil-charis-fonts/sil-charis-fonts.spec

72 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package sil-charis-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-charis-fonts
Version: 6.200
Release: 0
Summary: Smart Unicode Font for Latin and Cyrillic Scripts
License: OFL-1.1
Group: System/X11/Fonts
URL: https://software.sil.org/charis/
Source0: https://software.sil.org/downloads/r/charis/CharisSIL-%{version}.zip
BuildRequires: fontpackages-devel
BuildRequires: unzip
%reconfigure_fonts_prereq
Provides: locale(vi;ru;bg)
BuildArch: noarch
%description
Charis is similar to Bitstream Charter, one of the first fonts designed
specifically for laser printers. It is highly readable and holds up
well in less-than-ideal reproduction environments. It also has a full
set of styles - regular, italic, bold, bold italic - and so is more
useful in general publishing than Doulos SIL. Charis is a serif,
proportionally-spaced font optimized for readability in long printed
documents.
The goal for this product was to provide a single Unicode-based font
family that would contain a comprehensive inventory of glyphs needed
for almost any Roman- or Cyrillic-based writing system, whether used
for phonetic or orthographic needs. In addition, there is provision for
other characters and symbols useful to linguists. This font makes use
of state-of-the-art font technologies to support complex typographic
issues, such as the need to position arbitrary combinations of base
glyphs and diacritics optimally.
%prep
%setup -q -n CharisSIL-%{version}
chmod 644 *.txt
# Remove DOS line endings:
perl -i -pe 's{\r}{}g' *.txt
%build
%install
install -d %{buildroot}%{_ttfontsdir}
install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%files
%defattr(-, root,root)
%license OFL.txt
%doc FONTLOG.txt OFL-FAQ.txt README.txt
%{_ttfontsdir}
%changelog