Blame SPECS/fontawesome-fonts.spec

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