Blame SPECS/fontawesome-fonts.spec

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