package created using the webbuild interface [release 13.0-1mamba;Thu Jan 16 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:48:58 +01:00
parent e1ff34121b
commit 7d123bde68
3 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# unicode-emoji
Unicode Emoji Data Files.

15
unicode-emoji-autoupdate Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# by Silvan Calarco <silvan.calarco@mambasoft.it>
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

41
unicode-emoji.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 13.0-1mamba
- package created using the webbuild interface