From 953047772f167ced287e79d651da1eb46e72b481 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2018 04:59:05 +0000 Subject: import fontawesome-fonts-4.1.0-2.el7 --- diff --git a/.fontawesome-fonts.metadata b/.fontawesome-fonts.metadata new file mode 100644 index 0000000..a98aad3 --- /dev/null +++ b/.fontawesome-fonts.metadata @@ -0,0 +1 @@ +52623b6e5c37554f4d81ecbe1258b3dc930994e3 SOURCES/font-awesome-4.1.0.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0fd6e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/font-awesome-4.1.0.zip diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/README-Trademarks.txt b/SOURCES/README-Trademarks.txt new file mode 100644 index 0000000..87ae00f --- /dev/null +++ b/SOURCES/README-Trademarks.txt @@ -0,0 +1,74 @@ +Brand icons may be subject to trademark and brand guidelines of their +respective owners. Always check before deploying other companies’ branding. + +Brand Icons: +fa-adn +fa-android +fa-apple +fa-bitbucket +fa-bitbucket-square +fa-bitcoin (alias) +fa-btc +fa-css3 +fa-dribbble +fa-dropbox +fa-facebook +fa-facebook-square +fa-flickr +fa-foursquare +fa-github +fa-github-alt +fa-github-square +fa-gittip +fa-google-plus +fa-google-plus-square +fa-html5 +fa-instagram +fa-linkedin +fa-linkedin-square +fa-linux +fa-maxcdn +fa-pagelines +fa-pinterest +fa-pinterest-square +fa-renren +fa-skype +fa-stack-exchange +fa-stack-overflow +fa-trello +fa-tumblr +fa-tumblr-square +fa-twitter +fa-twitter-square +fa-vimeo-square +fa-vk +fa-weibo +fa-windows +fa-xing +fa-xing-square +fa-youtube +fa-youtube-play +fa-youtube-square + +Brand Guidelines (incomplete list): +Android: http://developer.android.com/distribute/googleplay/promote/brand.html +Apple: http://www.apple.com/legal/intellectual-property/guidelinesfor3rdparties.html +Dribble: http://dribbble.com/branding +Dropbox: https://www.dropbox.com/branding +Facebook: https://www.facebookbrand.com/ +Foursquare: https://foursquare.com/legal/trademark https://foursquare.com/about/logos +GitHub: https://github.com/logos +Gittip: https://www.gittip.com/about/terms/ +Google Plus: https://developers.google.com/+/branding-guidelines +HTML5: http://www.w3.org/html/logo/ +Instagram: http://help.instagram.com/304689166306603/ +LinkedIn: http://developer.linkedin.com/documents/branding-guidelines +Pinterest: http://business.pinterest.com/brand-guidelines/ +Skype: http://www.skype.com/en/legal/brand-guidelines/ +Stack Exchange, Stack Overflow: http://stackexchange.com/legal/trademark-guidance +Tumblr: http://www.tumblr.com/docs/en/trademark_guidelines +Twitter: https://about.twitter.com/press/brand-assets +Vimeo: http://vimeo.com/about/brand_guidelines +Windows: http://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/Usage/Windows.aspx +Xing: https://dev.xing.com/docs/policies +YouTube: http://www.youtube.com/yt/brand/ diff --git a/SOURCES/fontawesome-fonts-fontconfig.conf b/SOURCES/fontawesome-fonts-fontconfig.conf new file mode 100644 index 0000000..1394b88 --- /dev/null +++ b/SOURCES/fontawesome-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + FontAwesome + + fantasy + + + + fantasy + + FontAwesome + + + diff --git a/SPECS/fontawesome-fonts.spec b/SPECS/fontawesome-fonts.spec new file mode 100644 index 0000000..cce9497 --- /dev/null +++ b/SPECS/fontawesome-fonts.spec @@ -0,0 +1,83 @@ +%global fontname fontawesome +%global fontconf 60-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 4.1.0 +Release: 2%{?dist} +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 + + +%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 +License: MIT +Requires: %{fontname}-fonts = %{version}-%{release} +Summary: Iconic font set, web files + +%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, 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 fonts/*.otf fonts/*.woff fonts/*.svg 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/ + +# files: +%_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.eot + +%doc README-Trademarks.txt + +%files web +%{_datadir}/font-awesome-web/ +%{_datadir}/fonts/fontawesome/fontawesome-webfont.svg +%{_datadir}/fonts/fontawesome/fontawesome-webfont.woff +%{_datadir}/fonts/fontawesome/fontawesome-webfont.eot + +%changelog +* Tue Jun 19 2018 Petr Vobornik - 4.1.0-2 +- Resolves #1492884: include .svg, .woff, .eot font files in web package + +* Fri Sep 12 2014 Petr Vobornik - 4.1.0-1 +- initial RHEL package