- Switch back to hinted ttf as unhinted otf causes blurring (boo#1199938) - Add obsoletes and provides for: - noto-mono-fonts: Got merged into noto-sans-mono-fonts - noto-sans-syriac* variants: Got merged into noto-sans-syriac-fonts - noto-sans-tibetan-fonts: Got renamed to noto-serif-tibetan-fonts - Update to version 20220524 - Updated Noto Sans Myanmar and Noto Sans Tangsa Fonts OBS-URL: https://build.opensuse.org/request/show/979401 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=47
81 lines
2.3 KiB
RPMSpec
81 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package google-noto-fonts
|
|
#
|
|
# Copyright (c) 2022 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 hyear 2022
|
|
%define hmonth 05
|
|
%define hday 24
|
|
|
|
%define src_name NotoFonts
|
|
|
|
# DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run generate-fonts-and-specfile.sh script
|
|
|
|
Name: google-noto-fonts
|
|
Version: %{hyear}%{hmonth}%{hday}
|
|
Release: 0
|
|
Summary: Noto Font Families
|
|
License: OFL-1.1
|
|
Group: System/X11/Fonts
|
|
Url: https://github.com/googlefonts/noto-fonts
|
|
# Generate Source0 via generate-fonts-and-specfile.sh
|
|
Source0: ttf.tar.gz
|
|
Source1: generate-fonts-and-specfile.sh
|
|
Source2: LICENSE
|
|
BuildRequires: fontpackages-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
|
|
thicknesses) across languages.
|
|
|
|
%package doc
|
|
Summary: Noto Font Families License
|
|
Group: Documentation/Other
|
|
|
|
%description doc
|
|
License for Google's Noto fonts.
|
|
|
|
@SUBPACKAGE_HEADERS@
|
|
%prep
|
|
tar -xzf %{SOURCE0} -C .
|
|
cp %{SOURCE2} .
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
|
# Tifinagh fonts have duplicates in NotoSansTifinagh folder
|
|
# https://github.com/googlefonts/noto-fonts/issues/2177 and https://github.com/googlefonts/noto-fonts/issues/2326
|
|
rm ttf/NotoSansTifinagh/NotoSansTifinagh[!\-]*
|
|
|
|
# NotoSansDisplay is already provided by NotoSans
|
|
# Also they have inconsistent family names: https://github.com/googlefonts/noto-fonts/issues/2315
|
|
rm -r ttf/NotoSansDisplay/
|
|
|
|
cp ttf/*/*.ttf %{buildroot}%{_ttfontsdir}/
|
|
|
|
@SUBPACKAGE_SCRIPTLETS@
|
|
|
|
%files doc
|
|
%defattr(0644,root,root,755)
|
|
%doc LICENSE
|
|
|
|
@SUBPACKAGE_FILELISTS@
|
|
|
|
%changelog
|