fontawesome-fonts/fontawesome-fonts.spec

167 lines
5.9 KiB
RPMSpec
Raw Normal View History

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