1 Star 0 Fork 15

Funda Wang/google-noto-emoji-fonts_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
google-noto-emoji-fonts.spec 3.05 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-12-08 20:51 . 2.047
# SPDX-License-Identifier: MIT
%global fontname google-noto-emoji
BuildRequires: gcc
BuildRequires: fontpackages-devel
BuildRequires: fonttools
BuildRequires: python3-fonttools
BuildRequires: nototools
BuildRequires: python3-nototools
BuildRequires: python3-devel
BuildRequires: GraphicsMagick
BuildRequires: pngquant
BuildRequires: zopfli
BuildRequires: cairo-devel
BuildRequires: make
Epoch: 1
Version: 2.047
Release: 1
URL: https://github.com/googlefonts/noto-emoji
%global foundry Google
# In noto-emoji-fonts source
## noto-emoji code is in ASL 2.0 license
## Emoji fonts are under OFL license
### third_party color-emoji code is in BSD license
### third_party region-flags code is in Public Domain license
# In nototools source
## nototools code is in ASL 2.0 license
### third_party ucd code is in Unicode license
%global fontlicense OFL-1.1 AND Apache-2.0
%global fontlicenses LICENSE OFL.txt
%global fontdocs AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md README.txt
%global fontfamily0 Noto Emoji
%global fontsummary0 Google “Noto Emoji” Black-and-White emoji font
%global fonts0 NotoEmoji-Regular.ttf
%global fontdescription0 %{expand:
This package provides the Google “Noto Emoji” Black-and-White emoji font.
}
%global fontfamily1 Noto Color Emoji
%global fontsummary1 Google “Noto Color Emoji” colored emoji font
%global fontpkgheader1 %{expand:
Obsoletes: google-noto-emoji-color-fonts < 20220916-6
Provides: google-noto-emoji-color-fonts = %{version}-%{release}
}
%global fonts1 NotoColorEmoji.ttf
%global fontdescription1 %{expand:
This package provides the Google “Noto Color Emoji” colored emoji font.
}
Source0: https://github.com/googlefonts/noto-emoji/archive/refs/tags/v%{version}.tar.gz
Source4: Noto_Emoji.zip
Patch0: noto-emoji-build-all-flags.patch
Patch1: noto-emoji-use-gm.patch
Patch2: noto-emoji-use-system-pngquant.patch
%fontpkg -a
%prep
%autosetup -p1 -a 4 -n noto-emoji-%{version}
rm -rf third_party/pngquant
cp -p static/NotoEmoji-Regular.ttf .
%build
# Work around UTF-8
export LANG=C.UTF-8
%make_build OPT_CFLAGS="$RPM_OPT_FLAGS" BYPASS_SEQUENCE_CHECK='True'
%fontbuild -a
%install
%fontinstall -a
%check
%fontcheck -a
%fontfiles -a
%changelog
* Sun Dec 08 2024 Funda Wang <[email protected]> - 1:2.047-1
- update to 2.047
* Fri Jun 14 2024 sunhai <[email protected]> - 20200916-4
- fix license rectify
* Tue Jul 20 2021 yushaogui <[email protected]> - 20200916-3
- Delete a BuildRequires for gdb
* Wed May 26 2021 liuyumeng <[email protected]> - 20200916-2
- Add a BuildRequires for gcc
* Thu Oct 29 2020 jinzhimin <[email protected]> - 20200916-1
- update to 20200916
* Fri Mar 20 2020 songnannan <[email protected]> - 20180814-4
- add gdb in buildrequires
* Fri Nov 22 2019 openEuler Buildteam <[email protected]> - 20180814-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:close build
* Thu Sep 19 2019 openEuler Buildteam <[email protected]> - 20180814-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fundawang/google-noto-emoji-fonts_1.git
[email protected]:fundawang/google-noto-emoji-fonts_1.git
fundawang
google-noto-emoji-fonts_1
google-noto-emoji-fonts_1
master

搜索帮助