%global fontname eosrei-emojione Name: %{fontname}-fonts Version: 1.0 Release: 4%{?dist} Summary: A color emoji font # Note, the link below is the last "Android" build of the EmijoOne font # with CC-BY-4.0 assets. Do not update to a newer version. # # This package should eventually be replaced by a build of this font: # https://github.com/EmojiTwo/emojitwo License: CC-BY URL: https://github.com/eosrei/emojione-color-font # From https://github.com/emojione/emojione/blob/693a9705f60efd566e40a5c9ec00ca306c9bcbd0/extras/fonts/emojione-android.ttf Source0: emojione-android.ttf Source1: https://github.com/eosrei/emojione-color-font/raw/master/LICENSE-CC-BY.txt BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description A color and B&W emoji font built primarily from Emoji One artwork with support for ZWJ, skin tone modifiers and country flags. Regular B&W outline emoji are included for backwards/fallback compatibility. It was created by Brad Erickson. %prep %setup -q -T -c %build cp -a %{SOURCE1} . %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p %{SOURCE0} %{buildroot}%{_fontdir}/ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} %_font_pkg emojione-android.ttf %doc LICENSE-CC-BY.txt %changelog * Thu Aug 31 2017 Bastien Nocera - 1.0-4 - Add license file that applies to the font we're shipping (no code, or Power symbols in this version of the font) - Use approved license shortname (with the version number) * Wed Aug 30 2017 Bastien Nocera - 1.0-3 - Remove ".conf" file, the same information will be in fontconfig > 2.12.4 * Fri Jun 30 2017 Bastien Nocera - 1.0-2 - Update to latest android build of the font with the same CC-BY-4.0 license - Add link to potential successor * Mon Apr 11 2016 Bastien Nocera - 1.0-1 - Initial package