Blame SPECS/fontawesome-fonts.spec

8561f4
%global fontname fontawesome
8561f4
%global fontconf 60-%{fontname}.conf
bb5b1b
8561f4
Name:		%{fontname}-fonts
8561f4
Epoch:		1
8561f4
Version:	4.7.0
8561f4
Release:	13%{?dist}
8561f4
8561f4
Summary:	Iconic font set
8561f4
License:	OFL
8561f4
URL:		http://fontawesome.io
8561f4
Source0:	font-awesome-%{version}.zip
8561f4
Source1:	%{name}-fontconfig.conf
33a46c
Source2:	README-Trademarks.txt
8561f4
BuildArch:	noarch
8561f4
BuildRequires:	fontpackages-devel
8561f4
BuildRequires:	ttembed
8561f4
Requires:	fontpackages-filesystem
33a46c
33a46c
8561f4
%description
8561f4
Font Awesome gives you scalable vector icons that can instantly be
8561f4
customized — size, color, drop shadow, and anything that can be done with the
8561f4
power of CSS.
33a46c
8561f4
This package contains OpenType and TrueType font files which are typically used
8561f4
locally.
bb5b1b
bb5b1b
%package web
8561f4
License:	OFL and MIT
8561f4
Requires:	%{fontname}-fonts = %{?epoch:%{epoch}:}%{version}-%{release}
8561f4
Summary:	Iconic font set, web files
33a46c
8561f4
%description web
8561f4
Font Awesome gives you scalable vector icons that can instantly be
8561f4
customized — size, color, drop shadow, and anything that can be done with the
8561f4
power of CSS.
bb5b1b
8561f4
This package contains CSS, SCSS and LESS style files as well as Web Open Font
8561f4
Format versions 1 and 2, Embedded OpenType and SVG font files which are
8561f4
typically used on the web.
bb5b1b
bb5b1b
%prep
8561f4
%setup -q -n font-awesome-%{version}
bb5b1b
cp -p %SOURCE2 .
bb5b1b
bb5b1b
%build
8561f4
ttembed fonts/*.ttf fonts/*.otf
bb5b1b
bb5b1b
%install
8561f4
install -m 0755 -d %{buildroot}%{_fontdir}
8561f4
install -m 0644 -p fonts/*.ttf fonts/*.otf fonts/*.woff fonts/*.svg fonts/*.woff2 fonts/*.eot %{buildroot}%{_fontdir}
bb5b1b
8561f4
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
8561f4
		%{buildroot}%{_fontconfig_confdir}
bb5b1b
8561f4
install -m 0644 -p %{SOURCE1} \
8561f4
		%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
bfe272
8561f4
ln -s %{_fontconfig_templatedir}/%{fontconf} \
8561f4
		%{buildroot}%{_fontconfig_confdir}/%{fontconf}
bb5b1b
8561f4
mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
8561f4
cp -a css less scss %{buildroot}%{_datadir}/font-awesome-web/
bb5b1b
8561f4
# files:
8561f4
%_font_pkg -f %{fontconf} *.ttf *.otf
8561f4
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
8561f4
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
8561f4
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff2
8561f4
%exclude %{_datadir}/fonts/fontawesome/fontawesome-webfont.eot
bb5b1b
8561f4
%doc README-Trademarks.txt
bb5b1b
bb5b1b
%files web
8561f4
%{_datadir}/font-awesome-web/
8561f4
%{_datadir}/fonts/fontawesome/fontawesome-webfont.svg
8561f4
%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff
8561f4
%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff2
8561f4
%{_datadir}/fonts/fontawesome/fontawesome-webfont.eot
bb5b1b
bb5b1b
%changelog
8561f4
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.7.0-13
8561f4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
8561f4
  Related: rhbz#1991688
33a46c
8561f4
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.7.0-12
8561f4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
33a46c
33a46c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-11
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
33a46c
33a46c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-10
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
33a46c
33a46c
* Wed Jul 08 2020 Miro Hrončok <mhroncok@redhat.com> - 1:4.7.0-9
33a46c
- Add epoch to inter-subpackages requirement
33a46c
33a46c
* Wed Jul 08 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 1:4.7.0-8
33a46c
- Rollback to FA4
33a46c
33a46c
* Tue Jul 07 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.13.1-2
33a46c
- Provide the right font configuration
33a46c
- Drop ttf format since upstream affirms that otf is to be preferred
33a46c
33a46c
* Sun Jul 05 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 5.13.1-1
33a46c
- Update to 5.13.1
33a46c
33a46c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-8
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
33a46c
33a46c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-7
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
33a46c
33a46c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-6
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
33a46c
33a46c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-5
33a46c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
33a46c
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
33a46c
* Thu Oct 27 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.7.0-1
bb5b1b
- Update to 4.7.0
bb5b1b
33a46c
* Sun May 22 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.6.3-1
bb5b1b
- Update to 4.6.3
bb5b1b
- Update the brand icons list using the script
bb5b1b
33a46c
* Thu May 05 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 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
33a46c
* Wed Apr 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.6.1-1
bb5b1b
- Update to 4.6.0
bb5b1b
- Update the brand list with the icons new in 4.6.0
bb5b1b
33a46c
* Tue Mar 29 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 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