[packages/fonts-TTF-Google-noto-emoji] new

atler atler at pld-linux.org
Tue Jul 5 18:40:08 CEST 2022


commit 5216371b8d7caa090cee7314d5ea7f71bbe93590
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 5 18:39:22 2022 +0200

    new

 fonts-TTF-Google-noto-emoji.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/fonts-TTF-Google-noto-emoji.spec b/fonts-TTF-Google-noto-emoji.spec
new file mode 100644
index 0000000..911e04d
--- /dev/null
+++ b/fonts-TTF-Google-noto-emoji.spec
@@ -0,0 +1,40 @@
+Summary:	Noto Emoji fonts
+Name:		fonts-TTF-Google-noto-emoji
+Version:	2.034
+Release:	1
+License:	OFL v1.1
+Group:		Fonts
+URL:		https://github.com/googlefonts/noto-emoji
+Source0:	https://github.com/googlefonts/noto-emoji/archive/v%{version}/noto-emoji-%{version}.tar.gz
+# Source0-md5:	6fc89f4ffbf8c9be68e94f5d99d02090
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_ttffontsdir	%{_fontsdir}/TTF
+
+%description
+Color and Black-and-White Noto emoji fonts.
+
+%prep
+%setup -q -n noto-emoji-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_ttffontsdir}
+cp -p fonts/{NotoColorEmoji,NotoEmoji-Regular}.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%doc fonts/LICENSE
+%{_ttffontsdir}/NotoEmoji-Regular.ttf
+%{_ttffontsdir}/NotoColorEmoji.ttf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-Google-noto-emoji.git/commitdiff/5216371b8d7caa090cee7314d5ea7f71bbe93590



More information about the pld-cvs-commit mailing list