From 55008874f36b9d4863d3f37caf7d515ba5dbf602 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 9 Jan 2014 14:29:10 +0100 Subject: [PATCH] Initial import #1026376 --- .gitignore | 1 + README-Trademarks.txt | 74 +++++++++++++++++++++++++++++++ fontawesome-fonts-fontconfig.conf | 16 +++++++ fontawesome-fonts.spec | 69 ++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 161 insertions(+) create mode 100644 README-Trademarks.txt create mode 100644 fontawesome-fonts-fontconfig.conf create mode 100644 fontawesome-fonts.spec diff --git a/.gitignore b/.gitignore index e69de29..d932471 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/font-awesome-4.0.3.zip diff --git a/README-Trademarks.txt b/README-Trademarks.txt new file mode 100644 index 0000000..87ae00f --- /dev/null +++ b/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/fontawesome-fonts-fontconfig.conf b/fontawesome-fonts-fontconfig.conf new file mode 100644 index 0000000..1394b88 --- /dev/null +++ b/fontawesome-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + FontAwesome + + fantasy + + + + fantasy + + FontAwesome + + + diff --git a/fontawesome-fonts.spec b/fontawesome-fonts.spec new file mode 100644 index 0000000..bc05c07 --- /dev/null +++ b/fontawesome-fonts.spec @@ -0,0 +1,69 @@ +%global fontname fontawesome +%global fontconf 60-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 4.0.3 +Release: 1%{?dist} +Summary: Iconic font set +License: OFL +URL: http://fontawesome.io/ +Source0: http://fontawesome.io/assets/font-awesome-4.0.3.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. + +%package web +License: MIT +Requires: %{fontname}-fonts = %{version}-%{release} +Summary: Web files for fontawesome + +%description web +Web files for fontawesome. + +%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 %{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-%{version}/ +cp -a css less scss %{buildroot}%{_datadir}/font-awesome-%{version}/ + +%_font_pkg -f %{fontconf} *.ttf *.otf + +%doc README-Trademarks.txt + +%files web +%{_datadir}/font-awesome-%{version}/ + +%changelog +* Thu Jan 02 2014 Petr Vobornik - 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 - 4.0.3-0 +- initial package based off spot's package diff --git a/sources b/sources index e69de29..3f57b70 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cb976fa86491f59558d6169b25bcc111 font-awesome-4.0.3.zip