5500887
%global fontname fontawesome
5500887
%global fontconf 60-%{fontname}.conf
5500887
5500887
Name:		%{fontname}-fonts
b2aabea
Version:	4.7.0
76594a6
Release:	6%{?dist}
dffe5ff
5500887
Summary:	Iconic font set
5500887
License:	OFL
Fabio Alessandro Locati 02ca4c0
URL:		http://fontawesome.io
8a36c79
Source0:	http://fontawesome.io/assets/font-awesome-%{version}.zip
5500887
Source1:	%{name}-fontconfig.conf
5500887
Source2:	README-Trademarks.txt
5500887
BuildArch:	noarch
5500887
BuildRequires:	fontpackages-devel
5500887
BuildRequires:	ttembed
5500887
Requires:	fontpackages-filesystem
5500887
5500887
5500887
%description
5500887
Font Awesome gives you scalable vector icons that can instantly be
5500887
customized — size, color, drop shadow, and anything that can be done with the
5500887
power of CSS.
5500887
c8303b7
This package contains OpenType and TrueType font files which are typically used
c8303b7
locally.
c8303b7
5500887
%package web
c8303b7
License:	OFL and MIT
5500887
Requires:	%{fontname}-fonts = %{version}-%{release}
c8303b7
Summary:	Iconic font set, web files
5500887
5500887
%description web
c8303b7
Font Awesome gives you scalable vector icons that can instantly be
c8303b7
customized — size, color, drop shadow, and anything that can be done with the
c8303b7
power of CSS.
c8303b7
c8303b7
This package contains CSS, SCSS and LESS style files as well as Web Open Font
c8303b7
Format versions 1 and 2, Embedded OpenType and SVG font files which are
c8303b7
typically used on the web.
5500887
5500887
%prep
5500887
%setup -q -n font-awesome-%{version}
5500887
cp -p %SOURCE2 .
5500887
5500887
%build
5500887
ttembed fonts/*.ttf fonts/*.otf
5500887
5500887
%install
5500887
install -m 0755 -d %{buildroot}%{_fontdir}
b5f7773
install -m 0644 -p fonts/*.ttf fonts/*.otf fonts/*.woff fonts/*.svg fonts/*.woff2 fonts/*.eot %{buildroot}%{_fontdir}
5500887
5500887
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
5500887
		%{buildroot}%{_fontconfig_confdir}
5500887
5500887
install -m 0644 -p %{SOURCE1} \
5500887
		%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
5500887
5500887
ln -s %{_fontconfig_templatedir}/%{fontconf} \
5500887
		%{buildroot}%{_fontconfig_confdir}/%{fontconf}
5500887
8a36c79
mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
8a36c79
cp -a css less scss %{buildroot}%{_datadir}/font-awesome-web/
5500887
e0470d7
# files:
5500887
%_font_pkg -f %{fontconf} *.ttf *.otf
e0470d7
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
e0470d7
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
dffe5ff
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff2
b5f7773
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.eot
5500887
5500887
%doc README-Trademarks.txt
5500887
5500887
%files web
8a36c79
%{_datadir}/font-awesome-web/
e0470d7
%{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
e0470d7
%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
dffe5ff
%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff2
b5f7773
%{_datadir}/fonts/fontawesome/fontawesome-webfont.eot
5500887
5500887
%changelog
76594a6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-6
76594a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
76594a6
c6d640e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-5
c6d640e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c6d640e
f930088
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-4
f930088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f930088
acf7273
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-3
acf7273
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
acf7273
4950eba
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-2
4950eba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4950eba
b2aabea
* Thu Oct 27 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.7.0-1
b2aabea
- Update to 4.7.0
b2aabea
b2aabea
* Sun May 22 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.3-1
Fabio Alessandro Locati 9622635
- Update to 4.6.3
Fabio Alessandro Locati 9622635
- Update the brand icons list using the script
Fabio Alessandro Locati 9622635
b2aabea
* Thu May 05 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.2-1
Fabio Alessandro Locati 3d80811
- Update to 4.6.1
Fabio Alessandro Locati 3d80811
- Update the brand icons list using a new script
Fabio Alessandro Locati 3d80811
- Add the script to create brand icons list
Fabio Alessandro Locati 3d80811
b2aabea
* Wed Apr 13 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.1-1
Fabio Alessandro Locati 7bc73ad
- Update to 4.6.0
Fabio Alessandro Locati 7bc73ad
- Update the brand list with the icons new in 4.6.0
Fabio Alessandro Locati 7bc73ad
b2aabea
* Tue Mar 29 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.5.0-1
Fabio Alessandro Locati 02ca4c0
- Update to 4.5.0
Fabio Alessandro Locati 02ca4c0
- Update the brand list with the icons new in 4.5.0
Fabio Alessandro Locati 02ca4c0
53180fa
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
53180fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
53180fa
5a37a78
* Wed Nov 04 2015 Nils Philippsen <nils@redhat.com> - 4.4.0-2
b5f7773
- include .eot files
c8303b7
- amend -web license and summary, and descriptions
b5f7773
dffe5ff
* Thu Sep 17 2015 Matthias Runge <mrunge@redhat.com> - 4.4.0-1
dffe5ff
- update to 4.4.0
dffe5ff
45be59a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-3
45be59a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
45be59a
e0470d7
* Thu Dec 04 2014 Matthias Runge <mrunge@redhad.com> - 4.1.0-2
e0470d7
- include .woff and .svg files (rhbz#1110646)
e0470d7
8a36c79
* Tue Jul 08 2014 Petr Vobornik <pvoborni@redhat.com> - 4.1.0-1
8a36c79
- update to version 4.1.0
8a36c79
- renamed web packaged dir from font-awesome-$version to font-awesome-web
8a36c79
5a75604
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.3-2
5a75604
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5a75604
5500887
* Thu Jan 02 2014 Petr Vobornik <pvoborni@redhat.com> - 4.0.3-1
5500887
- embeddable flag set to installable by ttembed
5500887
- web package license updated to MIT
5500887
- README-Trademarks.txt added
5500887
5500887
* Mon Nov 04 2013 Ryan Lerch <ryanlerch@fedoraproject.org> - 4.0.3-0
5500887
- initial package based off spot's package