Compare commits

..

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

3
.gitignore vendored

@ -1 +1,2 @@
SOURCES/noto-emoji-9a5261d.tar.gz
SOURCES/Noto_Emoji.zip
SOURCES/noto-emoji-d79d23e.tar.gz

@ -1 +1,2 @@
09fc7c375808a9d0bb190fe2101472ddc5064df4 SOURCES/noto-emoji-9a5261d.tar.gz
493a72eaaaf98f00c17d4290aa14116510873f94 SOURCES/Noto_Emoji.zip
17d843bae71a700fb8e3a61f4a9997bc9173e22e SOURCES/noto-emoji-d79d23e.tar.gz

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Peng Wu <pwu AT redhat DOT com> -->
<component type="font">
<id>google-noto-emoji-color</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Noto Color Emoji</name>
<summary>Google Noto Color Emoji Font</summary>
<url type="homepage">https://github.com/googlei18n/noto-emoji</url>
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
<extends>google-noto</extends>
</component>

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Peng Wu <pwu AT redhat DOT com> -->
<component type="font">
<id>google-noto-emoji</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Noto Emoji</name>
<summary>Google Noto Emoji Font</summary>
<url type="homepage">https://github.com/googlei18n/noto-emoji</url>
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
<extends>google-noto</extends>
</component>

@ -1,4 +1,6 @@
%global commit0 9a5261d871451f9b5183c93483cbd68ed916b1e9
# SPDX-License-Identifier: MIT
%global commit0 d79d23e6822e0f6e5731b114cbfb26b2a4e380da
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global fontname google-noto-emoji
@ -9,31 +11,6 @@
%global buildfont 0
%endif
Name: %{fontname}-fonts
Version: 20211102
Release: 1%{?dist}
Summary: Google “Noto Emoji” Black-and-White emoji font
# 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
Source2: %{fontname}.metainfo.xml
Source3: %{fontname}-color.metainfo.xml
Patch0: noto-emoji-build-all-flags.patch
Patch1: noto-emoji-use-gm.patch
Patch2: noto-emoji-use-system-pngquant.patch
BuildArch: noarch
BuildRequires: gcc
BuildRequires: fontpackages-devel
%if %buildfont
@ -47,81 +24,137 @@ BuildRequires: pngquant
BuildRequires: zopfli
BuildRequires: cairo-devel
%endif
BuildRequires: make
BuildRequires: make
Requires: fontpackages-filesystem
Version: 20231130
Release: 3%{?dist}
URL: https://github.com/googlefonts/noto-emoji
Obsoletes: google-noto-color-emoji-fonts < 20150617
Provides: google-noto-color-emoji-fonts = 20150617
%description
%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.
}
%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
Source0: https://github.com/googlefonts/noto-emoji/archive/%{commit0}.tar.gz#/noto-emoji-%{shortcommit0}.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
%description -n %{fontname}-color-fonts
This package provides the Google “Noto Color Emoji” colored emoji font.
%prep
%setup -n noto-emoji-%{commit0}
%patch0 -p1 -b .noto-emoji-build-all-flags
%patch1 -p1 -b .noto-emoji-use-gm.patch
%patch2 -p1 -b .noto-emoji-use-system-pngquant
%autosetup -p1 -a 4 -n noto-emoji-%{commit0}
rm -rf third_party/pngquant
cp -p static/NotoEmoji-Regular.ttf .
%build
%if %buildfont
# Work around UTF-8
export LANG=C.UTF-8
%make_build OPT_CFLAGS="$RPM_OPT_FLAGS" BYPASS_SEQUENCE_CHECK='True'
%else
cp -p fonts/NotoColorEmoji.ttf .
%endif
%fontbuild -a
%install
install -m 0755 -d %{buildroot}%{_fontdir}
%fontinstall -a
%if %buildfont
# Built by us from the supplied pngs:
install -m 0644 -p NotoColorEmoji.ttf %{buildroot}%{_fontdir}
%else
# Pre-built, and included with the source:
install -m 0644 -p fonts/NotoColorEmoji.ttf %{buildroot}%{_fontdir}
%endif
%check
%fontcheck -a
%fontfiles -a
# Pre-built, and included with the source:
install -m 0644 -p fonts/NotoEmoji-Regular.ttf %{buildroot}%{_fontdir}
mkdir -p %{buildroot}%{_datadir}/appdata
install -m 0644 -p %{SOURCE2} %{buildroot}%{_datadir}/appdata
install -m 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/appdata
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 20231130-3
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
%_font_pkg NotoEmoji-Regular.ttf
%license LICENSE
%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
%{_datadir}/appdata/google-noto-emoji.metainfo.xml
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 20231130-2
- Rebuilt for MSVSphere 10
%_font_pkg -n color NotoColorEmoji.ttf
%license LICENSE
%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
%{_datadir}/appdata/google-noto-emoji-color.metainfo.xml
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 20231130-2
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Peng Wu <pwu@redhat.com> - 20231130-1
- Update to v2.042
%changelog
* Tue Nov 1 2022 Peng Wu <pwu@redhat.com> - 20211102-1
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20220916-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20220916-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20220916-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu May 25 2023 Peng Wu <pwu@redhat.com> - 20220916-6
- Update to follow New Fonts Packaging Guidelines
* Mon May 22 2023 Peng Wu <pwu@redhat.com> - 20220916-5
- Migrate to SPDX license
* Thu Mar 16 2023 Peng Wu <pwu@redhat.com> - 20220916-4
- Use metainfodir macro for metainfo files
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20220916-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Sep 28 2022 Peng Wu <pwu@redhat.com> - 20220916-2
- Update Upstream URL
* Tue Sep 27 2022 Peng Wu <pwu@redhat.com> - 20220916-1
- Update to v2.038
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211102-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Mar 21 2022 Peng Wu <pwu@redhat.com> - 20211102-1
- Update to v2.034
- Resolves: #2118299
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20200916-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20210716-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Sep 28 2021 Peng Wu <pwu@redhat.com> - 20210716-1
- Update to v2.028
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 20200916-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200916-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200916-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save