From ea7c28790bfd514a37384b134ab02a1a3486743b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:42:45 +0100 Subject: [PATCH] package created using the webbuild interface [release 2019_11_19_unicode12-1mamba;Mon Apr 06 2020] --- 66-noto-color-emoji.conf | 27 +++++++++++++++++++++ README.md | 2 ++ ttf-noto-emoji.spec | 52 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 66-noto-color-emoji.conf create mode 100644 ttf-noto-emoji.spec diff --git a/66-noto-color-emoji.conf b/66-noto-color-emoji.conf new file mode 100644 index 0000000..4f7c74c --- /dev/null +++ b/66-noto-color-emoji.conf @@ -0,0 +1,27 @@ + + + + + + + + Noto Color Emoji + + + charset + + 0x0000 + 0x00FF + + + + + + Noto + + Noto Color Emoji + + + diff --git a/README.md b/README.md index 7c9f2dd..01ad5b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ttf-noto-emoji +Google Noto emoji fonts. + diff --git a/ttf-noto-emoji.spec b/ttf-noto-emoji.spec new file mode 100644 index 0000000..fc85b6c --- /dev/null +++ b/ttf-noto-emoji.spec @@ -0,0 +1,52 @@ +%define gitver %(echo %version | tr _ -) +Name: ttf-noto-emoji +Version: 2019_11_19_unicode12 +Release: 1mamba +Summary: Google Noto emoji fonts +Group: System/Fonts +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/googlefonts/noto-emoji.git +## GITSOURCE https://github.com/googlefonts/noto-emoji.git v2019-11-19-unicode12 +Source: https://github.com/googlefonts/noto-emoji.git/v%{gitver}/noto-emoji-%{version}.tar.bz2 +Source1: 66-noto-color-emoji.conf +License: OFL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires(post): fontconfig +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Google Noto emoji fonts. + +%prep +%setup -q -n noto-emoji-%{version} + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m644 fonts/NotoColorEmoji.ttf %{buildroot}%{_datadir}/fonts/truetype/NotoColorEmoji.ttf +install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache +: + +%postun +[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache +: + +%files +%defattr(-,root,root) +%{_sysconfdir}/fonts/conf.d/66-noto-color-emoji.conf +%{_datadir}/fonts/truetype/NotoColorEmoji.ttf +%doc AUTHORS LICENSE + +%changelog +* Mon Apr 06 2020 Silvan Calarco 2019_11_19_unicode12-1mamba +- package created using the webbuild interface