unicode-emoji/unicode-emoji.spec

59 lines
2.0 KiB
RPMSpec

#
# spec file for package unicode-emoji
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define long_version 15.1.0
Name: unicode-emoji
Version: 15.1
Release: 0
Summary: Unicode Emoji Data Files
License: Unicode
Group: System/I18n/Chinese
URL: https://www.unicode.org/emoji/
Source0: https://www.unicode.org/copyright.html
Source1: https://www.unicode.org/Public/emoji/%{version}/ReadMe.txt
Source2: https://www.unicode.org/Public/%{long_version}/ucd/emoji/emoji-data.txt
Source3: https://www.unicode.org/Public/emoji/%{version}/emoji-sequences.txt
Source4: https://www.unicode.org/Public/emoji/%{version}/emoji-test.txt
Source5: https://www.unicode.org/Public/emoji/%{version}/emoji-zwj-sequences.txt
Source6: https://www.unicode.org/Public/%{long_version}/ucd/emoji/emoji-variation-sequences.txt
BuildArch: noarch
%description
Unicode Emoji Data Files are the machine-readable
emoji data files associated with
http://www.unicode.org/reports/tr51/index.html
%prep
%build
%install
install -d %{buildroot}%{_datadir}/unicode/emoji
cp -p %{SOURCE0} .
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
%{buildroot}%{_datadir}/unicode/emoji
%files
%license copyright.html
%dir %{_datadir}/unicode
%dir %{_datadir}/unicode/emoji
%doc %{_datadir}/unicode/emoji/ReadMe.txt
%{_datadir}/unicode/emoji/emoji-*txt
%changelog