2022-09-27 05:50:56 +00:00
|
|
|
%global commit0 e8073ab740292f8d5f19b5de144087ac58044d06
|
2016-04-22 07:20:53 +00:00
|
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
|
|
|
|
%global fontname google-noto-emoji
|
|
|
|
|
2018-06-26 08:58:00 +00:00
|
|
|
%if (0%{?fedora} > 25)
|
2018-06-19 08:37:54 +00:00
|
|
|
%global buildfont 1
|
|
|
|
%else
|
|
|
|
%global buildfont 0
|
|
|
|
%endif
|
|
|
|
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2017-09-28 13:12:12 +00:00
|
|
|
Name: %{fontname}-fonts
|
2022-09-27 05:50:56 +00:00
|
|
|
Version: 20220916
|
|
|
|
Release: 1%{?dist}
|
2017-09-28 13:12:12 +00:00
|
|
|
Summary: Google “Noto Emoji” Black-and-White emoji font
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
License: OFL and ASL 2.0
|
|
|
|
URL: https://github.com/googlei18n/noto-emoji
|
|
|
|
Source0: https://github.com/googlei18n/noto-emoji/archive/%{commit0}.tar.gz#/noto-emoji-%{shortcommit0}.tar.gz
|
2017-09-28 13:12:12 +00:00
|
|
|
Source2: %{fontname}.metainfo.xml
|
|
|
|
Source3: %{fontname}-color.metainfo.xml
|
2022-09-27 05:50:56 +00:00
|
|
|
Source4: Noto_Emoji.zip
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2020-07-21 08:51:08 +00:00
|
|
|
Patch0: noto-emoji-build-all-flags.patch
|
|
|
|
Patch1: noto-emoji-use-gm.patch
|
|
|
|
Patch2: noto-emoji-use-system-pngquant.patch
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2018-03-05 08:28:34 +00:00
|
|
|
BuildRequires: gcc
|
2018-06-21 01:29:14 +00:00
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
%if %buildfont
|
2016-05-06 04:26:28 +00:00
|
|
|
BuildRequires: fonttools
|
2019-07-15 14:13:12 +00:00
|
|
|
BuildRequires: python3-fonttools
|
2018-02-05 07:51:37 +00:00
|
|
|
BuildRequires: nototools
|
2019-07-15 14:13:12 +00:00
|
|
|
BuildRequires: python3-nototools
|
|
|
|
BuildRequires: python3-devel
|
2018-05-23 06:49:20 +00:00
|
|
|
BuildRequires: GraphicsMagick
|
2016-04-22 07:20:53 +00:00
|
|
|
BuildRequires: pngquant
|
2017-11-07 23:59:44 +00:00
|
|
|
BuildRequires: zopfli
|
2016-04-22 07:20:53 +00:00
|
|
|
BuildRequires: cairo-devel
|
2018-06-21 01:29:14 +00:00
|
|
|
%endif
|
2021-01-05 05:27:55 +00:00
|
|
|
BuildRequires: make
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
2016-04-29 05:27:37 +00:00
|
|
|
Obsoletes: google-noto-color-emoji-fonts < 20150617
|
|
|
|
Provides: google-noto-color-emoji-fonts = 20150617
|
|
|
|
|
2016-04-22 07:20:53 +00:00
|
|
|
%description
|
2017-09-28 13:12:12 +00:00
|
|
|
This package provides the Google “Noto Emoji” Black-and-White emoji font.
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2017-09-28 13:12:12 +00:00
|
|
|
%package -n %{fontname}-color-fonts
|
|
|
|
Summary: Google “Noto Color Emoji” colored emoji font
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
Obsoletes: google-noto-color-emoji-fonts < 20150617
|
|
|
|
Provides: google-noto-color-emoji-fonts = 20150617
|
|
|
|
|
|
|
|
%description -n %{fontname}-color-fonts
|
|
|
|
This package provides the Google “Noto Color Emoji” colored emoji font.
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
%prep
|
2022-09-27 05:50:56 +00:00
|
|
|
%setup -a 4 -n noto-emoji-%{commit0}
|
2020-07-21 08:51:08 +00:00
|
|
|
%patch0 -p1 -b .noto-emoji-build-all-flags
|
|
|
|
%patch1 -p1 -b .noto-emoji-use-gm.patch
|
|
|
|
%patch2 -p1 -b .noto-emoji-use-system-pngquant
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
rm -rf third_party/pngquant
|
|
|
|
|
|
|
|
%build
|
2018-06-19 08:37:54 +00:00
|
|
|
%if %buildfont
|
2016-04-22 07:20:53 +00:00
|
|
|
# Work around UTF-8
|
2017-12-14 08:29:41 +00:00
|
|
|
export LANG=C.UTF-8
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2020-07-21 08:51:08 +00:00
|
|
|
%make_build OPT_CFLAGS="$RPM_OPT_FLAGS" BYPASS_SEQUENCE_CHECK='True'
|
2018-06-19 08:37:54 +00:00
|
|
|
%endif
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
2017-11-08 13:15:53 +00:00
|
|
|
|
2018-06-19 08:37:54 +00:00
|
|
|
%if %buildfont
|
2017-11-08 13:15:53 +00:00
|
|
|
# Built by us from the supplied pngs:
|
|
|
|
install -m 0644 -p NotoColorEmoji.ttf %{buildroot}%{_fontdir}
|
2018-06-19 08:37:54 +00:00
|
|
|
%else
|
|
|
|
# Pre-built, and included with the source:
|
|
|
|
install -m 0644 -p fonts/NotoColorEmoji.ttf %{buildroot}%{_fontdir}
|
|
|
|
%endif
|
2017-11-08 13:15:53 +00:00
|
|
|
|
|
|
|
# Pre-built, and included with the source:
|
2022-09-27 05:50:56 +00:00
|
|
|
install -m 0644 -p static/NotoEmoji-Regular.ttf %{buildroot}%{_fontdir}
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2016-04-25 05:35:55 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/appdata
|
|
|
|
install -m 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata
|
2017-09-28 13:12:12 +00:00
|
|
|
install -m 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/appdata
|
2016-04-25 05:35:55 +00:00
|
|
|
|
2017-09-28 13:12:12 +00:00
|
|
|
%_font_pkg NotoEmoji-Regular.ttf
|
2016-04-22 07:20:53 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
|
2016-04-25 05:35:55 +00:00
|
|
|
%{_datadir}/appdata/google-noto-emoji.metainfo.xml
|
2016-04-22 07:20:53 +00:00
|
|
|
|
2017-09-28 13:12:12 +00:00
|
|
|
%_font_pkg -n color NotoColorEmoji.ttf
|
|
|
|
%license LICENSE
|
|
|
|
%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
|
|
|
|
%{_datadir}/appdata/google-noto-emoji-color.metainfo.xml
|
|
|
|
|
2016-04-22 07:20:53 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-09-27 05:50:56 +00:00
|
|
|
* Tue Sep 27 2022 Peng Wu <pwu@redhat.com> - 20220916-1
|
|
|
|
- Update to v2.038
|
|
|
|
|
2022-07-21 12:47:16 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211102-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-03-21 07:15:54 +00:00
|
|
|
* Mon Mar 21 2022 Peng Wu <pwu@redhat.com> - 20211102-1
|
|
|
|
- Update to v2.034
|
|
|
|
|
2022-01-20 11:35:02 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20210716-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-09-28 07:45:44 +00:00
|
|
|
* Tue Sep 28 2021 Peng Wu <pwu@redhat.com> - 20210716-1
|
|
|
|
- Update to v2.028
|
|
|
|
|
2021-07-22 06:54:43 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200916-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 12:46:26 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200916-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-24 04:00:10 +00:00
|
|
|
* Thu Dec 24 2020 Peng Wu <pwu@redhat.com> - 20200916-1
|
|
|
|
- Update to upstream snapshot tarball (Unicode 13.1.0 support)
|
|
|
|
|
2020-07-28 00:09:51 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200723-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-21 08:51:08 +00:00
|
|
|
* Tue Jul 21 2020 Mike FABIAN <mfabian@redhat.com> - 20200723-1
|
|
|
|
- Update to upstream snapshot tarball (Unicode 13.0.0 support)
|
|
|
|
|
2020-07-13 19:56:08 +00:00
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 20200402-2
|
|
|
|
- Use make macros
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
2020-04-03 06:38:03 +00:00
|
|
|
* Thu Apr 02 2020 Mike FABIAN <mfabian@redhat.com> - 20200402-1
|
|
|
|
- Update to upstream snapshot tarball (fixes U+1F9D1 U+200D U+1F3A8 "artist"
|
|
|
|
and many other sequences)
|
|
|
|
|
2020-01-29 03:17:31 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20191019-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-19 16:07:16 +00:00
|
|
|
* Sat Oct 19 2019 Mike FABIAN <mfabian@redhat.com> - 20191019-1
|
|
|
|
- Update to upstream snapshot tarball (Fixes for people holding hands)
|
|
|
|
|
2019-08-29 10:30:35 +00:00
|
|
|
* Thu Aug 29 2019 Mike FABIAN <mfabian@redhat.com> - 20190829-1
|
|
|
|
- Update to upstream snapshot tarball (Fixes FR and NL flags)
|
|
|
|
|
2019-07-25 07:30:36 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190709-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-09 07:52:18 +00:00
|
|
|
* Tue Jul 09 2019 Mike FABIAN <mfabian@redhat.com> - 20190709-1
|
|
|
|
- Update to upstream snapshot tarball (Contains the new emoji added in Unicode 12.0.0,
|
|
|
|
also fixes the "people holding hands" sequence.
|
2019-07-15 14:13:12 +00:00
|
|
|
- Port to Python3 and build using Python3
|
2019-07-09 07:52:18 +00:00
|
|
|
|
2019-02-01 01:20:45 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180814-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-14 12:08:13 +00:00
|
|
|
* Tue Aug 14 2018 Mike FABIAN <mfabian@redhat.com> - 20180814-1
|
|
|
|
- Update to upstream snapshot tarball (Contains the new emoji added in Unicode 11.0.0)
|
|
|
|
|
2018-07-23 15:05:25 +00:00
|
|
|
* Mon Jul 23 2018 Mike FABIAN <mfabian@redhat.com> - 20180508-6
|
|
|
|
- Fix build in rawhide
|
|
|
|
- Resolves: rhbz#1604247
|
|
|
|
|
2018-07-13 04:22:12 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180508-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-26 08:58:00 +00:00
|
|
|
* Tue Jun 26 2018 Peng Wu <pwu@redhat.com> - 20180508-4
|
|
|
|
- Fixes buildfont macro
|
|
|
|
|
2018-06-19 08:37:54 +00:00
|
|
|
* Tue Jun 19 2018 Peng Wu <pwu@redhat.com> - 20180508-3
|
|
|
|
- Only build emoji color font since Fedora 26
|
|
|
|
|
2018-05-23 06:49:20 +00:00
|
|
|
* Wed May 23 2018 Peng Wu <pwu@redhat.com> - 20180508-2
|
|
|
|
- Use GraphicsMagick instead of ImageMagick
|
|
|
|
|
2018-05-08 09:51:39 +00:00
|
|
|
* Tue May 08 2018 Mike FABIAN <mfabian@redhat.com> - 20180508-1
|
|
|
|
- Update to upstream snapshot tarball (color emoji font version 2.011)
|
|
|
|
- Add patch to build all country flags (Resolves: rhbz#1574195)
|
|
|
|
|
2018-03-07 08:56:32 +00:00
|
|
|
* Wed Mar 07 2018 Mike FABIAN <mfabian@redhat.com> - 20180307-1
|
|
|
|
- Update to upstream snapshot tarball (color emoji font version 2.004)
|
|
|
|
|
2018-02-07 15:12:39 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170928-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 07:51:37 +00:00
|
|
|
* Mon Feb 5 2018 Peng Wu <pwu@redhat.com> - 20170928-3
|
|
|
|
- Use nototools package to build google-noto-emoji-fonts
|
|
|
|
|
2017-11-08 13:15:53 +00:00
|
|
|
* Wed Nov 8 2017 Peter Oliver <rpm@mavit.org.uk> - 20170928-2
|
2017-11-07 23:59:44 +00:00
|
|
|
- Prefer zopflipng to optipng, since it should yield smaller files.
|
2017-11-08 13:15:53 +00:00
|
|
|
- Use the font we built, rather than the one included with the source.
|
2017-11-07 23:59:44 +00:00
|
|
|
|
2017-09-28 13:12:12 +00:00
|
|
|
* Thu Sep 28 2017 Mike FABIAN <mfabian@redhat.com> - 20170828-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
- split black-and-white and color fonts into different sub-packages.
|
|
|
|
|
2017-08-28 08:46:47 +00:00
|
|
|
* Mon Aug 28 2017 Mike FABIAN <mfabian@redhat.com> - 20170827-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
- Update color emoji font to version 2.001, new design.
|
|
|
|
- Contains the new emoji added in Unicode 10.0.0.
|
|
|
|
|
2017-07-26 11:52:53 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170608-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-08 07:40:43 +00:00
|
|
|
* Thu Jun 08 2017 Mike FABIAN <mfabian@redhat.com> - 20170608-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
|
2017-05-23 07:20:11 +00:00
|
|
|
* Tue May 23 2017 Mike FABIAN <mfabian@redhat.com> - 20170523-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
- This fixes the skin tones of the light/medium light male cook emoji,
|
|
|
|
which had been swapped.
|
|
|
|
|
2017-04-26 07:42:16 +00:00
|
|
|
* Wed Apr 26 2017 Mike FABIAN <mfabian@redhat.com> - 20170426-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
(fixes the family emoji sequences:
|
|
|
|
kiss: woman, man U+1F469 U+200D U+2764 U+FE0F U+200D U+1F48B U+200D U+1F468
|
|
|
|
couple with heart: woman, man U+1F469 U+200D U+2764 U+FE0F U+200D U+1F468)
|
|
|
|
|
2017-02-23 08:06:02 +00:00
|
|
|
* Thu Feb 23 2017 Peng Wu <pwu@redhat.com> - 20170223-1
|
|
|
|
- Update to upstream snapshot tarball
|
|
|
|
|
2017-02-10 12:07:14 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20160406-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-06 03:38:46 +00:00
|
|
|
* Fri May 6 2016 Peng Wu <pwu@redhat.com> - 20160406-5
|
|
|
|
- Avoid to use python setup.py
|
|
|
|
|
2016-04-29 05:27:37 +00:00
|
|
|
* Fri Apr 29 2016 Peng Wu <pwu@redhat.com> - 20160406-4
|
|
|
|
- Replace google-noto-color-emoji-fonts package
|
|
|
|
|
2016-04-25 05:35:55 +00:00
|
|
|
* Mon Apr 25 2016 Peng Wu <pwu@redhat.com> - 20160406-3
|
|
|
|
- Add google-noto-emoji.metainfo.xml
|
|
|
|
|
2016-04-22 07:20:53 +00:00
|
|
|
* Wed Apr 20 2016 Peng Wu <pwu@redhat.com> - 20160406-2
|
|
|
|
- Use system pngquant
|
|
|
|
|
|
|
|
* Wed Apr 20 2016 Peng Wu <pwu@redhat.com> - 20160406-1
|
|
|
|
- Initial packaging
|