Toshaan Bharvani
2 years ago
commit
5b220ce79e
6 changed files with 766 additions and 0 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
||||
<!-- SPDX-License-Identifier: MIT --> |
||||
<fontconfig> |
||||
<alias> |
||||
<family>fantasy</family> |
||||
<default> |
||||
<family>FontAwesome 5 Brands</family> |
||||
</default> |
||||
</alias> |
||||
<alias> |
||||
<family>FontAwesome 5 Brands</family> |
||||
<default> |
||||
<family>fantasy</family> |
||||
</default> |
||||
</alias> |
||||
</fontconfig> |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
||||
<!-- SPDX-License-Identifier: MIT --> |
||||
<fontconfig> |
||||
<alias> |
||||
<family>fantasy</family> |
||||
<default> |
||||
<family>FontAwesome 5 Free</family> |
||||
</default> |
||||
</alias> |
||||
<alias> |
||||
<family>FontAwesome 5 Free</family> |
||||
<default> |
||||
<family>fantasy</family> |
||||
</default> |
||||
</alias> |
||||
</fontconfig> |
@ -0,0 +1,462 @@
@@ -0,0 +1,462 @@
|
||||
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-accessible-icon |
||||
* fa-accusoft |
||||
* fa-acquisitions-incorporated |
||||
* fa-adn |
||||
* fa-adversal |
||||
* fa-affiliatetheme |
||||
* fa-airbnb |
||||
* fa-algolia |
||||
* fa-alipay |
||||
* fa-amazon |
||||
* fa-amazon-pay |
||||
* fa-amilia |
||||
* fa-android |
||||
* fa-angellist |
||||
* fa-angrycreative |
||||
* fa-angular |
||||
* fa-app-store |
||||
* fa-app-store-ios |
||||
* fa-apper |
||||
* fa-apple |
||||
* fa-apple-pay |
||||
* fa-artstation |
||||
* fa-asymmetrik |
||||
* fa-atlassian |
||||
* fa-audible |
||||
* fa-autoprefixer |
||||
* fa-avianex |
||||
* fa-aviato |
||||
* fa-aws |
||||
* fa-bandcamp |
||||
* fa-battle-net |
||||
* fa-behance |
||||
* fa-behance-square |
||||
* fa-bimobject |
||||
* fa-bitbucket |
||||
* fa-bitcoin |
||||
* fa-bity |
||||
* fa-black-tie |
||||
* fa-blackberry |
||||
* fa-blogger |
||||
* fa-blogger-b |
||||
* fa-bluetooth |
||||
* fa-bluetooth-b |
||||
* fa-bootstrap |
||||
* fa-btc |
||||
* fa-buffer |
||||
* fa-buromobelexperte |
||||
* fa-buy-n-large |
||||
* fa-buysellads |
||||
* fa-canadian-maple-leaf |
||||
* fa-cc-amazon-pay |
||||
* fa-cc-amex |
||||
* fa-cc-apple-pay |
||||
* fa-cc-diners-club |
||||
* fa-cc-discover |
||||
* fa-cc-jcb |
||||
* fa-cc-mastercard |
||||
* fa-cc-paypal |
||||
* fa-cc-stripe |
||||
* fa-cc-visa |
||||
* fa-centercode |
||||
* fa-centos |
||||
* fa-chrome |
||||
* fa-chromecast |
||||
* fa-cloudflare |
||||
* fa-cloudscale |
||||
* fa-cloudsmith |
||||
* fa-cloudversify |
||||
* fa-codepen |
||||
* fa-codiepie |
||||
* fa-confluence |
||||
* fa-connectdevelop |
||||
* fa-contao |
||||
* fa-cotton-bureau |
||||
* fa-cpanel |
||||
* fa-creative-commons |
||||
* fa-creative-commons-by |
||||
* fa-creative-commons-nc |
||||
* fa-creative-commons-nc-eu |
||||
* fa-creative-commons-nc-jp |
||||
* fa-creative-commons-nd |
||||
* fa-creative-commons-pd |
||||
* fa-creative-commons-pd-alt |
||||
* fa-creative-commons-remix |
||||
* fa-creative-commons-sa |
||||
* fa-creative-commons-sampling |
||||
* fa-creative-commons-sampling-plus |
||||
* fa-creative-commons-share |
||||
* fa-creative-commons-zero |
||||
* fa-critical-role |
||||
* fa-css3 |
||||
* fa-css3-alt |
||||
* fa-cuttlefish |
||||
* fa-d-and-d |
||||
* fa-d-and-d-beyond |
||||
* fa-dailymotion |
||||
* fa-dashcube |
||||
* fa-deezer |
||||
* fa-delicious |
||||
* fa-deploydog |
||||
* fa-deskpro |
||||
* fa-dev |
||||
* fa-deviantart |
||||
* fa-dhl |
||||
* fa-diaspora |
||||
* fa-digg |
||||
* fa-digital-ocean |
||||
* fa-discord |
||||
* fa-discourse |
||||
* fa-dochub |
||||
* fa-docker |
||||
* fa-draft2digital |
||||
* fa-dribbble |
||||
* fa-dribbble-square |
||||
* fa-dropbox |
||||
* fa-drupal |
||||
* fa-dyalog |
||||
* fa-earlybirds |
||||
* fa-ebay |
||||
* fa-edge |
||||
* fa-edge-legacy |
||||
* fa-elementor |
||||
* fa-ello |
||||
* fa-ember |
||||
* fa-empire |
||||
* fa-envira |
||||
* fa-erlang |
||||
* fa-ethereum |
||||
* fa-etsy |
||||
* fa-evernote |
||||
* fa-expeditedssl |
||||
* fa-facebook |
||||
* fa-facebook-f |
||||
* fa-facebook-messenger |
||||
* fa-facebook-square |
||||
* fa-fantasy-flight-games |
||||
* fa-fedex |
||||
* fa-fedora |
||||
* fa-figma |
||||
* fa-firefox |
||||
* fa-firefox-browser |
||||
* fa-first-order |
||||
* fa-first-order-alt |
||||
* fa-firstdraft |
||||
* fa-flickr |
||||
* fa-flipboard |
||||
* fa-fly |
||||
* fa-font-awesome |
||||
* fa-font-awesome-alt |
||||
* fa-font-awesome-flag |
||||
* fa-font-awesome-logo-full |
||||
* fa-fonticons |
||||
* fa-fonticons-fi |
||||
* fa-fort-awesome |
||||
* fa-fort-awesome-alt |
||||
* fa-forumbee |
||||
* fa-foursquare |
||||
* fa-free-code-camp |
||||
* fa-freebsd |
||||
* fa-fulcrum |
||||
* fa-galactic-republic |
||||
* fa-galactic-senate |
||||
* fa-get-pocket |
||||
* fa-gg |
||||
* fa-gg-circle |
||||
* fa-git |
||||
* fa-git-alt |
||||
* fa-git-square |
||||
* fa-github |
||||
* fa-github-alt |
||||
* fa-github-square |
||||
* fa-gitkraken |
||||
* fa-gitlab |
||||
* fa-gitter |
||||
* fa-glide |
||||
* fa-glide-g |
||||
* fa-gofore |
||||
* fa-goodreads |
||||
* fa-goodreads-g |
||||
* fa-google |
||||
* fa-google-drive |
||||
* fa-google-pay |
||||
* fa-google-play |
||||
* fa-google-plus |
||||
* fa-google-plus-g |
||||
* fa-google-plus-square |
||||
* fa-google-wallet |
||||
* fa-gratipay |
||||
* fa-grav |
||||
* fa-gripfire |
||||
* fa-grunt |
||||
* fa-guilded |
||||
* fa-gulp |
||||
* fa-hacker-news |
||||
* fa-hacker-news-square |
||||
* fa-hackerrank |
||||
* fa-hips |
||||
* fa-hire-a-helper |
||||
* fa-hive |
||||
* fa-hooli |
||||
* fa-hornbill |
||||
* fa-hotjar |
||||
* fa-houzz |
||||
* fa-html5 |
||||
* fa-hubspot |
||||
* fa-ideal |
||||
* fa-imdb |
||||
* fa-innosoft |
||||
* fa-instagram |
||||
* fa-instagram-square |
||||
* fa-instalod |
||||
* fa-intercom |
||||
* fa-internet-explorer |
||||
* fa-invision |
||||
* fa-ioxhost |
||||
* fa-itch-io |
||||
* fa-itunes |
||||
* fa-itunes-note |
||||
* fa-java |
||||
* fa-jedi-order |
||||
* fa-jenkins |
||||
* fa-jira |
||||
* fa-joget |
||||
* fa-joomla |
||||
* fa-js |
||||
* fa-js-square |
||||
* fa-jsfiddle |
||||
* fa-kaggle |
||||
* fa-keybase |
||||
* fa-keycdn |
||||
* fa-kickstarter |
||||
* fa-kickstarter-k |
||||
* fa-korvue |
||||
* fa-laravel |
||||
* fa-lastfm |
||||
* fa-lastfm-square |
||||
* fa-leanpub |
||||
* fa-less |
||||
* fa-line |
||||
* fa-linkedin |
||||
* fa-linkedin-in |
||||
* fa-linode |
||||
* fa-linux |
||||
* fa-lyft |
||||
* fa-magento |
||||
* fa-mailchimp |
||||
* fa-mandalorian |
||||
* fa-markdown |
||||
* fa-mastodon |
||||
* fa-maxcdn |
||||
* fa-mdb |
||||
* fa-medapps |
||||
* fa-medium |
||||
* fa-medium-m |
||||
* fa-medrt |
||||
* fa-meetup |
||||
* fa-megaport |
||||
* fa-mendeley |
||||
* fa-microblog |
||||
* fa-microsoft |
||||
* fa-mix |
||||
* fa-mixcloud |
||||
* fa-mixer |
||||
* fa-mizuni |
||||
* fa-modx |
||||
* fa-monero |
||||
* fa-napster |
||||
* fa-neos |
||||
* fa-nimblr |
||||
* fa-node |
||||
* fa-node-js |
||||
* fa-npm |
||||
* fa-ns8 |
||||
* fa-nutritionix |
||||
* fa-octopus-deploy |
||||
* fa-odnoklassniki |
||||
* fa-odnoklassniki-square |
||||
* fa-old-republic |
||||
* fa-opencart |
||||
* fa-openid |
||||
* fa-opera |
||||
* fa-optin-monster |
||||
* fa-orcid |
||||
* fa-osi |
||||
* fa-page4 |
||||
* fa-pagelines |
||||
* fa-palfed |
||||
* fa-patreon |
||||
* fa-paypal |
||||
* fa-penny-arcade |
||||
* fa-perbyte |
||||
* fa-periscope |
||||
* fa-phabricator |
||||
* fa-phoenix-framework |
||||
* fa-phoenix-squadron |
||||
* fa-php |
||||
* fa-pied-piper |
||||
* fa-pied-piper-alt |
||||
* fa-pied-piper-hat |
||||
* fa-pied-piper-pp |
||||
* fa-pied-piper-square |
||||
* fa-pinterest |
||||
* fa-pinterest-p |
||||
* fa-pinterest-square |
||||
* fa-playstation |
||||
* fa-product-hunt |
||||
* fa-pushed |
||||
* fa-python |
||||
* fa-qq |
||||
* fa-quinscape |
||||
* fa-quora |
||||
* fa-r-project |
||||
* fa-raspberry-pi |
||||
* fa-ravelry |
||||
* fa-react |
||||
* fa-reacteurope |
||||
* fa-readme |
||||
* fa-rebel |
||||
* fa-red-river |
||||
* fa-reddit |
||||
* fa-reddit-alien |
||||
* fa-reddit-square |
||||
* fa-redhat |
||||
* fa-renren |
||||
* fa-replyd |
||||
* fa-researchgate |
||||
* fa-resolving |
||||
* fa-rev |
||||
* fa-rocketchat |
||||
* fa-rockrms |
||||
* fa-rust |
||||
* fa-safari |
||||
* fa-salesforce |
||||
* fa-sass |
||||
* fa-schlix |
||||
* fa-scribd |
||||
* fa-searchengin |
||||
* fa-sellcast |
||||
* fa-sellsy |
||||
* fa-servicestack |
||||
* fa-shirtsinbulk |
||||
* fa-shopify |
||||
* fa-shopware |
||||
* fa-simplybuilt |
||||
* fa-sistrix |
||||
* fa-sith |
||||
* fa-sketch |
||||
* fa-skyatlas |
||||
* fa-skype |
||||
* fa-slack |
||||
* fa-slack-hash |
||||
* fa-slideshare |
||||
* fa-snapchat |
||||
* fa-snapchat-ghost |
||||
* fa-snapchat-square |
||||
* fa-soundcloud |
||||
* fa-sourcetree |
||||
* fa-speakap |
||||
* fa-speaker-deck |
||||
* fa-spotify |
||||
* fa-squarespace |
||||
* fa-stack-exchange |
||||
* fa-stack-overflow |
||||
* fa-stackpath |
||||
* fa-staylinked |
||||
* fa-steam |
||||
* fa-steam-square |
||||
* fa-steam-symbol |
||||
* fa-sticker-mule |
||||
* fa-strava |
||||
* fa-stripe |
||||
* fa-stripe-s |
||||
* fa-studiovinari |
||||
* fa-stumbleupon |
||||
* fa-stumbleupon-circle |
||||
* fa-superpowers |
||||
* fa-supple |
||||
* fa-suse |
||||
* fa-swift |
||||
* fa-symfony |
||||
* fa-teamspeak |
||||
* fa-telegram |
||||
* fa-telegram-plane |
||||
* fa-tencent-weibo |
||||
* fa-the-red-yeti |
||||
* fa-themeco |
||||
* fa-themeisle |
||||
* fa-think-peaks |
||||
* fa-tiktok |
||||
* fa-trade-federation |
||||
* fa-trello |
||||
* fa-tripadvisor |
||||
* fa-tumblr |
||||
* fa-tumblr-square |
||||
* fa-twitch |
||||
* fa-twitter |
||||
* fa-twitter-square |
||||
* fa-typo3 |
||||
* fa-uber |
||||
* fa-ubuntu |
||||
* fa-uikit |
||||
* fa-umbraco |
||||
* fa-uncharted |
||||
* fa-uniregistry |
||||
* fa-unity |
||||
* fa-unsplash |
||||
* fa-untappd |
||||
* fa-ups |
||||
* fa-usb |
||||
* fa-usps |
||||
* fa-ussunnah |
||||
* fa-vaadin |
||||
* fa-viacoin |
||||
* fa-viadeo |
||||
* fa-viadeo-square |
||||
* fa-viber |
||||
* fa-vimeo |
||||
* fa-vimeo-square |
||||
* fa-vimeo-v |
||||
* fa-vine |
||||
* fa-vk |
||||
* fa-vnv |
||||
* fa-vuejs |
||||
* fa-watchman-monitoring |
||||
* fa-waze |
||||
* fa-weebly |
||||
* fa-weibo |
||||
* fa-weixin |
||||
* fa-whatsapp |
||||
* fa-whatsapp-square |
||||
* fa-whmcs |
||||
* fa-wikipedia-w |
||||
* fa-windows |
||||
* fa-wix |
||||
* fa-wizards-of-the-coast |
||||
* fa-wodu |
||||
* fa-wolf-pack-battalion |
||||
* fa-wordpress |
||||
* fa-wordpress-simple |
||||
* fa-wpbeginner |
||||
* fa-wpexplorer |
||||
* fa-wpforms |
||||
* fa-wpressr |
||||
* fa-xbox |
||||
* fa-xing |
||||
* fa-xing-square |
||||
* fa-y-combinator |
||||
* fa-yahoo |
||||
* fa-yammer |
||||
* fa-yandex |
||||
* fa-yandex-international |
||||
* fa-yarn |
||||
* fa-yelp |
||||
* fa-yoast |
||||
* fa-youtube |
||||
* fa-youtube-square |
||||
* fa-zhihu |
File diff suppressed because one or more lines are too long
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
#! /usr/bin/python3 |
||||
|
||||
# Small and dirty script to create the README-Trademarks.txt file. This file |
||||
# has to be created by scratch at every release. To do so, use: |
||||
# ./trademarks.py > README-Trademarks.txt |
||||
|
||||
from urllib.request import urlopen |
||||
import json |
||||
|
||||
response = urlopen('https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/metadata/icons.json') |
||||
if response.code != 200: |
||||
print("Got HTTP ", response.code); |
||||
exit(1) |
||||
document = json.loads(response.fp.read()) |
||||
|
||||
brands = [] |
||||
|
||||
for icon in document: |
||||
if 'brands' in document[icon]['styles']: |
||||
brands.append(icon) |
||||
|
||||
brands.sort() |
||||
|
||||
out = 'Brand icons may be subject to trademark and brand guidelines of their\n' |
||||
out+= 'respective owners. Always check before deploying other companies\' branding.\n' |
||||
out+= '\n' |
||||
out+= 'Brand Icons:' |
||||
|
||||
for brand in brands: |
||||
out+= '\n * fa-' + brand |
||||
|
||||
print(out) |
@ -0,0 +1,130 @@
@@ -0,0 +1,130 @@
|
||||
Name: fontawesome5-fonts |
||||
Summary: Support files for the FontAwesome 5 fonts |
||||
Version: 5.15.4 |
||||
Release: 3%{?dist} |
||||
License: MIT |
||||
URL: https://fontawesome.com/ |
||||
BuildArch: noarch |
||||
|
||||
%global _desc %{expand: |
||||
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.} |
||||
|
||||
%global fontlicense OFL |
||||
%global fontlicenses LICENSE.txt |
||||
%global fontdocs CHANGELOG.md README* UPGRADING.md |
||||
%global fontorg com.fontawesome |
||||
|
||||
%global fontfamily1 FontAwesome5 Free |
||||
%global fontsummary1 Iconic font set |
||||
%global fonts1 otfs/*Free* |
||||
%global fontconfs1 %{SOURCE1} |
||||
%global fontdescription1 %{expand:%_desc |
||||
%global fontpkgheader1 %{expand: |
||||
Requires: fontawesome5-fonts = %{version}-%{release} |
||||
} |
||||
|
||||
The FontAwesome Free Fonts contain large numbers of icons packaged as |
||||
font files.} |
||||
|
||||
%global fontfamily2 FontAwesome5 Brands |
||||
%global fontsummary2 Iconic font set |
||||
%global fonts2 otfs/*Brands* |
||||
%global fontconfs2 %{SOURCE2} |
||||
%global fontdescription2 %{expand:%_desc |
||||
%global fontpkgheader2 %{expand: |
||||
Requires: fontawesome5-fonts = %{version}-%{release} |
||||
} |
||||
|
||||
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 |
||||
Source1: 60-%{fontpkgname1}.conf |
||||
Source2: 60-%{fontpkgname2}.conf |
||||
# Script to generate Source3 |
||||
Source3: trademarks.py |
||||
Source4: README-Trademarks.txt |
||||
|
||||
# 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 |
||||
|
||||
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. |
||||
|
||||
%fontpkg -a |
||||
%fontmetapkg |
||||
|
||||
%package web |
||||
License: CC-BY |
||||
Summary: Iconic font set, javascript and SVG files |
||||
|
||||
%description web %_desc |
||||
|
||||
This package contains javascript and SVG files, which are typically used |
||||
on web pages. |
||||
|
||||
%prep |
||||
%autosetup -n Font-Awesome-%{version} -p1 |
||||
cp -p %{SOURCE4} . |
||||
|
||||
%build |
||||
%fontbuild -a |
||||
|
||||
%install |
||||
%fontinstall -a |
||||
|
||||
# Install the web files |
||||
mkdir -p %{buildroot}%{_datadir}/fontawesome5 |
||||
cp -a css js less metadata scss sprites svgs %{buildroot}%{_datadir}/fontawesome5 |
||||
|
||||
# Fix up the generated metainfo; see bz 1943727 |
||||
sed -e 's,OFL,OFL-1.1,' \ |
||||
-e 's,updatecontact,update_contact,g' \ |
||||
-e 's,<!\[CDATA\[\([^]]*\)\]\]>,\1,g' \ |
||||
-i %{buildroot}%{_metainfodir}/*.metainfo.xml |
||||
|
||||
# Validate the metainfo |
||||
appstreamcli validate --no-net \ |
||||
%{buildroot}%{_metainfodir}/%{fontorg}.fontawesome5-free-fonts.metainfo.xml |
||||
appstreamcli validate --no-net \ |
||||
%{buildroot}%{_metainfodir}/%{fontorg}.fontawesome5-brands-fonts.metainfo.xml |
||||
|
||||
%check |
||||
# FIXME: This should not be necessary |
||||
ln -s %{_datadir}/xml/fontconfig/fonts.dtd %{buildroot}%{_fontconfig_templatedir} |
||||
%fontcheck -a |
||||
rm %{buildroot}%{_fontconfig_templatedir}/fonts.dtd |
||||
|
||||
%files |
||||
%dir %{_datadir}/fontawesome5/ |
||||
%{_datadir}/fontawesome5/css/ |
||||
%{_datadir}/fontawesome5/less/ |
||||
%{_datadir}/fontawesome5/metadata/ |
||||
%{_datadir}/fontawesome5/scss/ |
||||
|
||||
%fontfiles -a |
||||
|
||||
%files web |
||||
%doc CHANGELOG.md README* UPGRADING.md |
||||
%license LICENSE.txt |
||||
%dir %{_datadir}/fontawesome5/ |
||||
%{_datadir}/fontawesome5/js/ |
||||
%{_datadir}/fontawesome5/sprites/ |
||||
%{_datadir}/fontawesome5/svgs/ |
||||
|
||||
%changelog |
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.4-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild |
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.4-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
||||
|
||||
* Wed Aug 18 2021 Jerry James <loganjerry@gmail.com> - 5.15.4-1 |
||||
- Initial RPM |
Loading…
Reference in new issue