diff --git a/SOURCES/cantarell-fontconfig.conf b/SOURCES/cantarell-fontconfig.conf new file mode 100644 index 0000000..bc9f574 --- /dev/null +++ b/SOURCES/cantarell-fontconfig.conf @@ -0,0 +1,33 @@ + + + + + + + system-ui + + Cantarell + + + + + + Cantarell + + system-ui + + + + + + Cantarell + + + Cantarell + + + diff --git a/SPECS/abattis-cantarell-fonts.spec b/SPECS/abattis-cantarell-fonts.spec index ccd7d13..d1b5aaa 100644 --- a/SPECS/abattis-cantarell-fonts.spec +++ b/SPECS/abattis-cantarell-fonts.spec @@ -8,7 +8,7 @@ Name: %{fontname}-fonts Version: 0.0.25 -Release: 4%{?dist} +Release: 6%{?dist} Summary: Cantarell, a Humanist sans-serif font family Group: User Interface/X @@ -16,6 +16,7 @@ License: OFL URL: https://git.gnome.org/browse/cantarell-fonts/ Source0: http://download.gnome.org/sources/%{actualname}-fonts/0.0/%{actualname}-fonts-%{version}.tar.xz Source1: %{fontname}.metainfo.xml +Source2: cantarell-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel @@ -40,7 +41,7 @@ install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} -install -m 0644 -p fontconfig/%{fontconf} \ +install -m 0644 -p %{SOURCE2} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} @@ -55,6 +56,11 @@ install -Dm 0644 -p %{SOURCE1} \ %{_datadir}/appdata/%{fontname}.metainfo.xml %changelog +* Wed Dec 23 2020 Akira TAGOH - 0.0.25-6 +- Backport fontconfig config file from Fedora. +- Add System UI generic family alias + Resolves: rhbz#1865788 + * Wed Feb 07 2018 Fedora Release Engineering - 0.0.25-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild