2023-03-30 15:44:24 +00:00
|
|
|
Name: fontawesome-fonts
|
|
|
|
Summary: Support files for the FontAwesome fonts
|
2020-07-08 10:59:55 +00:00
|
|
|
Epoch: 1
|
2023-03-30 15:44:24 +00:00
|
|
|
Version: 6.4.0
|
2023-04-10 20:40:27 +00:00
|
|
|
Release: 2%{?dist}
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
License: MIT
|
|
|
|
URL: https://fontawesome.com/
|
|
|
|
BuildArch: noarch
|
2014-01-09 13:29:10 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
%global _desc %{expand:
|
2014-01-09 13:29:10 +00:00
|
|
|
Font Awesome gives you scalable vector icons that can instantly be
|
2023-03-30 15:44:24 +00:00
|
|
|
customized - size, color, drop shadow, and anything that can be done
|
|
|
|
with the power of CSS.}
|
|
|
|
|
|
|
|
%global fontlicense OFL-1.1-RFN
|
|
|
|
%global fontlicenses LICENSE.txt
|
|
|
|
%global fontdocs CHANGELOG.md README* UPGRADING.md
|
|
|
|
%global fontorg com.fontawesome
|
|
|
|
|
|
|
|
%global fontfamily1 FontAwesome 6 Free
|
|
|
|
%global fontsummary1 Iconic font set
|
|
|
|
%global fonts1 otfs/*Free*
|
|
|
|
%global fontconfs1 %{SOURCE3}
|
|
|
|
%global fontpkgheader1 %{expand:
|
|
|
|
# This can be removed when F42 reaches EOL
|
|
|
|
Obsoletes: fontawesome5-free-fonts < 5.15.4-5
|
|
|
|
Provides: fontawesome5-free-fonts = %{version}-%{release}
|
|
|
|
}
|
|
|
|
%global fontdescription1 %{expand:%_desc
|
|
|
|
|
|
|
|
The FontAwesome Free Fonts contain large numbers of icons packaged as
|
|
|
|
font files.}
|
|
|
|
|
|
|
|
%global fontfamily2 FontAwesome 6 Brands Regular
|
|
|
|
%global fontsummary2 Iconic font set
|
|
|
|
%global fonts2 otfs/*Brands*
|
|
|
|
%global fontconfs2 %{SOURCE4}
|
|
|
|
%global fontpkgheader2 %{expand:
|
|
|
|
# This can be removed when F42 reaches EOL
|
|
|
|
Obsoletes: fontawesome5-brands-fonts < 5.15.4-5
|
|
|
|
Provides: fontawesome5-brands-fonts = %{version}-%{release}
|
|
|
|
}
|
|
|
|
%global fontdescription2 %{expand:%_desc
|
|
|
|
|
|
|
|
The FontAwesome Brand Fonts contain brand logos packaged as font files.}
|
|
|
|
|
|
|
|
Source0: https://github.com/FortAwesome/Font-Awesome/archive/%{version}/Font-Awesome-%{version}.tar.gz
|
|
|
|
# Script to generate Source2
|
|
|
|
Source1: trademarks.py
|
|
|
|
Source2: README-Trademarks.txt
|
|
|
|
Source3: 60-%{fontpkgname1}.conf
|
|
|
|
Source4: 60-%{fontpkgname2}.conf
|
|
|
|
|
|
|
|
# Not for upstream. This patch modifies the CSS to point to local OpenType
|
|
|
|
# font files, rather than to the eot, svg, ttf, woff, and woff2 web fonts, as
|
|
|
|
# required by Fedora's font packaging guidelines.
|
|
|
|
Patch0: %{name}-opentype-css.patch
|
|
|
|
|
|
|
|
BuildRequires: appstream
|
|
|
|
|
|
|
|
%description %_desc
|
|
|
|
|
|
|
|
%fontpkg -a
|
|
|
|
|
|
|
|
# NOTE: We would like to do this here:
|
|
|
|
#%%fontmetapkg -d %%_desc
|
|
|
|
# However, the fontmetapkg macro has no facility for adding Obsoletes and
|
|
|
|
# Provides, so we expand it by hand.
|
|
|
|
%package all
|
|
|
|
Summary: Metapackage that requires all Font Awesome fonts
|
|
|
|
Requires: fontawesome-6-brands-fonts = 1:%{version}-%{release}
|
|
|
|
Requires: fontawesome-6-free-fonts = 1:%{version}-%{release}
|
|
|
|
|
|
|
|
# This can be removed when F42 reaches EOL
|
|
|
|
Obsoletes: fontawesome5-fonts-all < 5.15.4-5
|
|
|
|
Provides: fontawesome5-fonts-all = %{version}-%{release}
|
|
|
|
|
|
|
|
%description all %_desc
|
|
|
|
|
|
|
|
This package is a metapackage that ensures all Font Awesome fonts are
|
|
|
|
installed.
|
2015-11-04 16:43:54 +00:00
|
|
|
|
2014-01-09 13:29:10 +00:00
|
|
|
%package web
|
2023-03-30 15:44:24 +00:00
|
|
|
License: CC-BY-4.0
|
|
|
|
Summary: Iconic font set, JavaScript and SVG files
|
2014-01-09 13:29:10 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
# This can be removed when F42 reaches EOL
|
2023-04-10 20:40:27 +00:00
|
|
|
Obsoletes: fontawesome5-fonts < 5.15.4-5
|
|
|
|
Provides: fontawesome5-fonts = %{version}-%{release}
|
2023-03-30 15:44:24 +00:00
|
|
|
Obsoletes: fontawesome5-fonts-web < 5.15.4-5
|
|
|
|
Provides: fontawesome5-fonts-web = %{version}-%{release}
|
2015-11-04 16:43:54 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
%description web %_desc
|
|
|
|
|
|
|
|
This package contains CSS, SCSS and LESS style files for each of the
|
|
|
|
fonts in the FontAwesome family, as well as JSON and YAML metadata.
|
|
|
|
It also contains JavaScript, TTF, and SVG files, which are typically
|
|
|
|
used on web pages.
|
2014-01-09 13:29:10 +00:00
|
|
|
|
|
|
|
%prep
|
2023-03-30 15:44:24 +00:00
|
|
|
%autosetup -n Font-Awesome-%{version} -p1
|
2020-07-08 07:44:41 +00:00
|
|
|
cp -p %SOURCE2 .
|
2014-01-09 13:29:10 +00:00
|
|
|
|
|
|
|
%build
|
2023-03-30 15:44:24 +00:00
|
|
|
%fontbuild -a
|
2014-01-09 13:29:10 +00:00
|
|
|
|
|
|
|
%install
|
2023-03-30 15:44:24 +00:00
|
|
|
%fontinstall -a
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
# Install the web files
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/fontawesome
|
|
|
|
cp -a css js less metadata scss sprites svgs webfonts \
|
|
|
|
%{buildroot}%{_datadir}/fontawesome
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
# Fix up the generated metainfo; see bz 1943727
|
|
|
|
sed -e 's,updatecontact,update_contact,g' \
|
|
|
|
-e 's,<!\[CDATA\[\([^]]*\)\]\]>,\1,g' \
|
|
|
|
-i %{buildroot}%{_metainfodir}/*.metainfo.xml
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
# Validate the metainfo
|
|
|
|
for name in 6-brands 6-free; do
|
|
|
|
appstreamcli validate --no-net \
|
|
|
|
%{buildroot}%{_metainfodir}/%{fontorg}.fontawesome-${name}-fonts.metainfo.xml
|
|
|
|
done
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
%check
|
|
|
|
%fontcheck -a
|
2014-01-09 13:29:10 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
%fontfiles -a
|
2020-07-08 07:44:41 +00:00
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
%files all
|
2014-01-09 13:29:10 +00:00
|
|
|
|
|
|
|
%files web
|
2023-03-30 15:44:24 +00:00
|
|
|
%doc CHANGELOG.md README* UPGRADING.md
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{_datadir}/fontawesome/
|
2014-01-09 13:29:10 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-04-10 20:40:27 +00:00
|
|
|
* Mon Apr 10 2023 Jerry James <loganjerry@gmail.com> - 1:6.4.0-2
|
|
|
|
- Move obsoletes/provides to the right package (rhbz#2185459)
|
|
|
|
|
2023-03-30 15:44:24 +00:00
|
|
|
* Tue Mar 28 2023 Jerry James <loganjerry@gmail.com> - 1:6.4.0-1
|
|
|
|
- Version 6.4.0
|
|
|
|
- Convert License tags to SPDX
|
|
|
|
- Comply with the font policy
|
|
|
|
- Update trademarks.py for python3
|
|
|
|
|
2023-01-19 03:42:51 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 03:26:40 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 03:15:17 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 23:12:12 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 05:46:36 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 17:40:52 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.7.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-08 10:59:55 +00:00
|
|
|
* 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
|
|
|
|
|
2020-01-28 18:47:48 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 00:50:54 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 19:57:54 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 00:43:52 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 09:56:43 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 08:36:28 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 09:54:43 +00:00
|
|
|
* 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
|
|
|
|
|
2016-02-03 20:39:35 +00:00
|
|
|
* 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
|
2015-11-04 16:43:54 +00:00
|
|
|
- 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
|
|
|
|
|
2015-06-17 06:32:26 +00:00
|
|
|
* 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)
|
|
|
|
|
2014-07-08 12:23:19 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-07 12:30:06 +00:00
|
|
|
* 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
|