Blame SPECS/fontawesome-fonts.spec

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