add .woff and .svg font files
This commit is contained in:
parent
8a36c79495
commit
e0470d7705
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Iconic font set
|
Summary: Iconic font set
|
||||||
License: OFL
|
License: OFL
|
||||||
URL: http://fontawesome.io/
|
URL: http://fontawesome.io/
|
||||||
@ -38,7 +38,7 @@ ttembed fonts/*.ttf fonts/*.otf
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p fonts/*.ttf fonts/*.otf %{buildroot}%{_fontdir}
|
install -m 0644 -p fonts/*.ttf fonts/*.otf fonts/*.woff fonts/*.svg %{buildroot}%{_fontdir}
|
||||||
|
|
||||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
%{buildroot}%{_fontconfig_confdir}
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
@ -52,14 +52,22 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|||||||
mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
|
mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
|
||||||
cp -a css less scss %{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} *.ttf *.otf
|
||||||
|
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
|
||||||
|
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
|
||||||
|
|
||||||
%doc README-Trademarks.txt
|
%doc README-Trademarks.txt
|
||||||
|
|
||||||
%files web
|
%files web
|
||||||
%{_datadir}/font-awesome-web/
|
%{_datadir}/font-awesome-web/
|
||||||
|
%{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
|
||||||
|
%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 04 2014 Matthias Runge <mrunge@redhad.com> - 4.1.0-2
|
||||||
|
- include .woff and .svg files (rhbz#1110646)
|
||||||
|
|
||||||
* Tue Jul 08 2014 Petr Vobornik <pvoborni@redhat.com> - 4.1.0-1
|
* Tue Jul 08 2014 Petr Vobornik <pvoborni@redhat.com> - 4.1.0-1
|
||||||
- update to version 4.1.0
|
- update to version 4.1.0
|
||||||
- renamed web packaged dir from font-awesome-$version to font-awesome-web
|
- renamed web packaged dir from font-awesome-$version to font-awesome-web
|
||||||
|
Loading…
Reference in New Issue
Block a user