From 7d123bde68d9142f0a3d0f486d5a5ece306aa174 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:48:58 +0100 Subject: [PATCH] package created using the webbuild interface [release 13.0-1mamba;Thu Jan 16 2020] --- README.md | 2 ++ unicode-emoji-autoupdate | 15 +++++++++++++++ unicode-emoji.spec | 41 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 unicode-emoji-autoupdate create mode 100644 unicode-emoji.spec diff --git a/README.md b/README.md index 70f8180..6793584 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # unicode-emoji +Unicode Emoji Data Files. + diff --git a/unicode-emoji-autoupdate b/unicode-emoji-autoupdate new file mode 100644 index 0000000..87ead8f --- /dev/null +++ b/unicode-emoji-autoupdate @@ -0,0 +1,15 @@ +#!/bin/sh +# by Silvan Calarco + +VERSION=$1 +URL=https://unicode.org/Public/emoji/$VERSION/ + +rm -rf unicode-emoji-$VERSION +mkdir unicode-emoji-$VERSION +cd unicode-emoji-$VERSION + +wget ${URL}{ReadMe.txt,emoji-sequences.txt,emoji-test.txt,emoji-zwj-sequences.txt} + +cd .. +tar -cjf unicode-emoji-$VERSION.tar.xz unicode-emoji-$VERSION +rm -rf unicode-emoji-$VERSION diff --git a/unicode-emoji.spec b/unicode-emoji.spec new file mode 100644 index 0000000..d0ece54 --- /dev/null +++ b/unicode-emoji.spec @@ -0,0 +1,41 @@ +Name: unicode-emoji +Version: 13.0 +Release: 1mamba +Summary: Unicode Emoji Data Files +Group: Applications/Fonts +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://home.unicode.org +Source: unicode-emoji-%{version}.tar.xz +Source1: unicode-emoji-autoupdate +License: BSD +BuildArch: noarch +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Unicode Emoji Data Files. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_datadir}/unicode/emoji +cp -a * %{buildroot}%{_datadir}/unicode/emoji/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/unicode/emoji/ +%{_datadir}/unicode/emoji/*.txt + +%changelog +* Thu Jan 16 2020 Silvan Calarco 13.0-1mamba +- package created using the webbuild interface