[fontawesome-fonts] Initial import #1026376

Petr Vobornik pvoborni at fedoraproject.org
Thu Jan 9 13:29:50 UTC 2014


commit 55008874f36b9d4863d3f37caf7d515ba5dbf602
Author: Petr Vobornik <pvoborni at redhat.com>
Date:   Thu Jan 9 14:29:10 2014 +0100

    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(+), 0 deletions(-)
---
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 @@
+<?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>
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 <pvoborni at 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 at fedoraproject.org> - 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


More information about the fonts-bugs mailing list