There are packages like python-sphinx_rtd_theme that rely
on the older 4.x version of fontawesome. Support both 6.x and
4.x versions in azl 3.0.
This commit is contained in:
Kanika Nema 2024-02-26 12:51:31 +05:30 коммит произвёл GitHub
Родитель 0f8dc19a5c
Коммит 738126b46e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
8 изменённых файлов: 390 добавлений и 1 удалений

2
SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md сгенерированный

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -234,6 +234,7 @@
"fltk",
"fmt",
"fontawesome-fonts",
"fontawesome4-fonts",
"fontpackages",
"fonts-rpm-macros",
"foomatic-db",

Просмотреть файл

@ -19,6 +19,7 @@ BuildRequires: fontpackages-devel
BuildRequires: ttembed
Requires: fontpackages-filesystem
Provides: fontawesome5-free-fonts = %{version}-%{release}
%description
Font Awesome gives you scalable vector icons that can instantly be
@ -31,6 +32,7 @@ locally.
%package web
Summary: Iconic font set, web files
Requires: %{fontname}-fonts = %{version}-%{release}
Provides: fontawesome5-fonts-web = %{version}-%{release}
%description web
Font Awesome gives you scalable vector icons that can instantly be

Просмотреть файл

@ -0,0 +1,181 @@
Brand icons may be subject to trademark and brand guidelines of their
respective owners. Always check before deploying other companies' branding.
Brand Icons:
* fa-500px
* fa-adn
* fa-amazon
* fa-android
* fa-angellist
* fa-apple
* fa-bandcamp
* fa-behance
* fa-behance-square
* fa-bitbucket
* fa-bitbucket-square
* fa-black-tie
* fa-bluetooth
* fa-bluetooth-b
* fa-btc
* fa-buysellads
* fa-cc-amex
* fa-cc-diners-club
* fa-cc-discover
* fa-cc-jcb
* fa-cc-mastercard
* fa-cc-paypal
* fa-cc-stripe
* fa-cc-visa
* fa-chrome
* fa-codepen
* fa-codiepie
* fa-connectdevelop
* fa-contao
* fa-css3
* fa-dashcube
* fa-delicious
* fa-deviantart
* fa-digg
* fa-dribbble
* fa-dropbox
* fa-drupal
* fa-edge
* fa-eercast
* fa-empire
* fa-envira
* fa-etsy
* fa-expeditedssl
* fa-facebook
* fa-facebook-official
* fa-facebook-square
* fa-firefox
* fa-first-order
* fa-flickr
* fa-font-awesome
* fa-fonticons
* fa-fort-awesome
* fa-forumbee
* fa-foursquare
* fa-free-code-camp
* fa-get-pocket
* fa-gg
* fa-gg-circle
* fa-git
* fa-git-square
* fa-github
* fa-github-alt
* fa-github-square
* fa-gitlab
* fa-glide
* fa-glide-g
* fa-google
* fa-google-plus
* fa-google-plus-official
* fa-google-plus-square
* fa-google-wallet
* fa-gratipay
* fa-grav
* fa-hacker-news
* fa-houzz
* fa-html5
* fa-imdb
* fa-instagram
* fa-internet-explorer
* fa-ioxhost
* fa-joomla
* fa-jsfiddle
* fa-lastfm
* fa-lastfm-square
* fa-leanpub
* fa-linkedin
* fa-linkedin-square
* fa-linode
* fa-linux
* fa-maxcdn
* fa-meanpath
* fa-medium
* fa-meetup
* fa-mixcloud
* fa-modx
* fa-odnoklassniki
* fa-odnoklassniki-square
* fa-opencart
* fa-openid
* fa-opera
* fa-optin-monster
* fa-pagelines
* fa-paypal
* fa-pied-piper
* fa-pied-piper-alt
* fa-pied-piper-pp
* fa-pinterest
* fa-pinterest-p
* fa-pinterest-square
* fa-product-hunt
* fa-qq
* fa-quora
* fa-ravelry
* fa-rebel
* fa-reddit
* fa-reddit-alien
* fa-reddit-square
* fa-renren
* fa-safari
* fa-scribd
* fa-sellsy
* fa-share-alt
* fa-share-alt-square
* fa-shirtsinbulk
* fa-simplybuilt
* fa-skyatlas
* fa-skype
* fa-slack
* fa-slideshare
* fa-snapchat
* fa-snapchat-ghost
* fa-snapchat-square
* fa-soundcloud
* fa-spotify
* fa-stack-exchange
* fa-stack-overflow
* fa-steam
* fa-steam-square
* fa-stumbleupon
* fa-stumbleupon-circle
* fa-superpowers
* fa-telegram
* fa-tencent-weibo
* fa-themeisle
* fa-trello
* fa-tripadvisor
* fa-tumblr
* fa-tumblr-square
* fa-twitch
* fa-twitter
* fa-twitter-square
* fa-usb
* fa-viacoin
* fa-viadeo
* fa-viadeo-square
* fa-vimeo
* fa-vimeo-square
* fa-vine
* fa-vk
* fa-weibo
* fa-weixin
* fa-whatsapp
* fa-wikipedia-w
* fa-windows
* fa-wordpress
* fa-wpbeginner
* fa-wpexplorer
* fa-wpforms
* fa-xing
* fa-xing-square
* fa-y-combinator
* fa-yahoo
* fa-yelp
* fa-yoast
* fa-youtube
* fa-youtube-play
* fa-youtube-square

Просмотреть файл

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>FontAwesome</family>
<prefer>
<family>fantasy</family>
</prefer>
</alias>
<alias>
<family>fantasy</family>
<default>
<family>FontAwesome</family>
</default>
</alias>
</fontconfig>

Просмотреть файл

@ -0,0 +1,7 @@
{
"Signatures": {
"README-Trademarks.txt": "8773f8666357f0302351db5b41e6fb34fcc65b435fe367411731aa3c47edf63c",
"fontawesome4-fonts-4.7.0.tar.gz": "de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43",
"fontawesome4-fonts-fontconfig.conf": "d3bb1226f75c9449df040a5bf1cc4114430c797a502b0513dcbf7f7f52365da5"
}
}

Просмотреть файл

@ -0,0 +1,172 @@
%global fontname fontawesome4
%global fontconf 60-%{fontname}.conf
Summary: Iconic font set
Name: %{fontname}-fonts
Version: 4.7.0
Release: 12%{?dist}
License: OFL AND MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://fontawesome.com
Source0: https://github.com/FortAwesome/Font-Awesome/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}-fontconfig.conf
Source2: README-Trademarks.txt
BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: ttembed
Requires: fontpackages-filesystem
Provides: fontawesome-fonts = %{version}-%{release}
%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.
%package web
Summary: Iconic font set, web files
Requires: %{fontname}-fonts = %{version}-%{release}
%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.
%prep
%setup -q -n Font-Awesome-%{version}
cp -p %{SOURCE2} .
%build
ttembed fonts/*.ttf fonts/*.otf
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p fonts/*.{ttf,otf,woff,svg,woff2,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/
# files:
%_font_pkg -f %{fontconf} *.ttf *.otf
%exclude %{_fontdir}/fontawesome-webfont.svg
%exclude %{_fontdir}/fontawesome-webfont.woff
%exclude %{_fontdir}/fontawesome-webfont.woff2
%exclude %{_fontdir}/fontawesome-webfont.eot
%doc README-Trademarks.txt
%files web
%{_datadir}/font-awesome-web/
%{_fontdir}/fontawesome-webfont.svg
%{_fontdir}/fontawesome-webfont.woff
%{_fontdir}/fontawesome-webfont.woff2
%{_fontdir}/fontawesome-webfont.eot
%changelog
* Fri Feb 23 2024 Kanika Nema <kanikanema@microsoft.com> - 4.7.0-12
- Reintroduce as fontawesome4-font to support packages that rely on fontawesome 4.x
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- License verified.
* Sun Dec 05 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 4.7.0-11
- License verified.
- Updated sources URL.
- Switched to using HTTPS for URLs.
* Mon May 31 2021 Muhammad Falak Wani <mwani@microsoft.com> - 4.7.0-10
- Use %%_font_pkg instead of %%files
* Tue Feb 09 2021 Joe Schmitt <joschmit@microsoft.com> - 4.7.0-9
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- Define %%files section when %%_font_pkg is not defined
* 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
* Thu Oct 27 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.7.0-1
- Update to 4.7.0
* Sun May 22 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.3-1
- Update to 4.6.3
- Update the brand icons list using the script
* Thu May 05 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.2-1
- Update to 4.6.1
- Update the brand icons list using a new script
- Add the script to create brand icons list
* Wed Apr 13 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.6.1-1
- Update to 4.6.0
- Update the brand list with the icons new in 4.6.0
* Tue Mar 29 2016 Fabio Alessandro Locati <fale@redhat.com> - 4.5.0-1
- 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
* Wed Nov 04 2015 Nils Philippsen <nils@redhat.com> - 4.4.0-2
- include .eot files
- amend -web license and summary, and descriptions
* 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
* 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
* 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

Просмотреть файл

@ -3694,6 +3694,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "fontawesome4-fonts",
"version": "4.7.0",
"downloadUrl": "https://github.com/FortAwesome/Font-Awesome/archive/refs/tags/v4.7.0.tar.gz"
}
}
},
{
"component": {
"type": "other",