Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:Factory
google-noto-fonts
google-noto-fonts.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File google-noto-fonts.spec.in of Package google-noto-fonts
# # 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 06 %define hday 07 %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 Source3: README.FAQ Patch0: fix-arimo.patch BuildRequires: fontpackages-devel BuildRequires: fonttools 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 -n noto-fonts Summary: All Noto Fonts except CJK and Emoji Group: System/X11/Fonts @LIST_OF_SUBPACKAGES@ %description -n noto-fonts Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke thicknesses) across languages. This package contains most noto fonts except for CJK and Emoji. @SUBPACKAGE_HEADERS@ %prep tar -xzf %{SOURCE0} -C . # Arimo BoldItalic has an extra "Italic" style # https://bugzilla.suse.com/show_bug.cgi?id=1202279 and https://github.com/notofonts/Arimo/issues/14 # Fix weight too https://github.com/notofonts/Arimo/issues/13 ttx ttf/Arimo/Arimo-BoldItalic.ttf %patch0 ttx -f ttf/Arimo/Arimo-BoldItalic.ttx rm ttf/Arimo/Arimo-BoldItalic.ttx cp %{SOURCE2} . %build %install # 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/ install -Dm 644 -t %{buildroot}%{_ttfontsdir} ttf/*/*.ttf @SUBPACKAGE_SCRIPTLETS@ %files -n noto-fonts %defattr(0644,root,root,755) @SUBPACKAGE_FILELISTS@ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor