diff --git a/fontawesome-fonts-fontconfig.conf b/fontawesome-fonts-fontconfig.conf
index 1394b88..f54962b 100644
--- a/fontawesome-fonts-fontconfig.conf
+++ b/fontawesome-fonts-fontconfig.conf
@@ -1,16 +1,38 @@
-
+
-
- FontAwesome
+
+
+ Font Awesome 5 Free
+
+
+ FontAwesome
+
+
+ FontAwesome
+
+
+
+
+ Font Awesome 5 Brands
+
+
+ FontAwesome
+
+
+ FontAwesome
+
+
+
+ fantasy
- fantasy
+ FontAwesome
- fantasy
+ FontAwesome
- FontAwesome
+ fantasy
diff --git a/fontawesome-fonts.spec b/fontawesome-fonts.spec
index ba3c658..f22c151 100644
--- a/fontawesome-fonts.spec
+++ b/fontawesome-fonts.spec
@@ -3,7 +3,7 @@
Name: %{fontname}-fonts
Version: 5.13.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Iconic font set
License: OFL
@@ -11,10 +11,11 @@ URL: http://fontawesome.io
Source0: https://github.com/FortAwesome/Font-Awesome/archive/%{version}.tar.gz
Source1: %{name}-fontconfig.conf
Source2: README-Trademarks.txt
-BuildArch: noarch
+BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: ttembed
Requires: fontpackages-filesystem
+Provides: font(fontawesome)
%description
Font Awesome gives you scalable vector icons that can instantly be
@@ -39,7 +40,7 @@ Format versions 1 and 2, Embedded OpenType and SVG font files which are
typically used on the web.
%prep
-%setup -q -n Font-Awesome-%{version}
+%autosetup -n Font-Awesome-%{version}
cp -p %{SOURCE2} .
%build
@@ -47,7 +48,7 @@ ttembed webfonts/*.ttf otfs/*.otf
%install
install -m 0755 -d %{buildroot}%{_fontdir}
-install -m 0644 -p webfonts/*.ttf otfs/*.otf webfonts/*.woff webfonts/*.svg webfonts/*.woff2 webfonts/*.eot %{buildroot}%{_fontdir}
+install -m 0644 -p otfs/*.otf webfonts/*.woff webfonts/*.svg webfonts/*.woff2 webfonts/*.eot %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf}
@@ -55,12 +56,11 @@ mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
cp -a css less scss %{buildroot}%{_datadir}/font-awesome-web/
# files:
-%_font_pkg -f %{fontconf} *.ttf *.otf
+%_font_pkg -f %{fontconf} *.otf
%exclude %{_datadir}/fonts/fontawesome/fa-*.svg
%exclude %{_datadir}/fonts/fontawesome/fa-*.woff
%exclude %{_datadir}/fonts/fontawesome/fa-*.woff2
%exclude %{_datadir}/fonts/fontawesome/fa-*.eot
-
%doc README-Trademarks.txt
%files web
@@ -71,6 +71,10 @@ cp -a css less scss %{buildroot}%{_datadir}/font-awesome-web/
%{_datadir}/fonts/fontawesome/fa-*.eot
%changelog
+* Tue Jul 07 2020 Fabio Alessandro Locati - 5.13.1-2
+- Provide the right font configuration
+- Drop ttf format since upstream affirms that otf is to be preferred
+
* Sun Jul 05 2020 Fabio Alessandro Locati - 5.13.1-1
- Update to 5.13.1