Initial import #1026376

This commit is contained in:
Petr Vobornik 2014-01-09 14:29:10 +01:00
parent d2347aff83
commit 55008874f3
5 changed files with 161 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/font-awesome-4.0.3.zip

74
README-Trademarks.txt Normal file
View File

@ -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/

View File

@ -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>

69
fontawesome-fonts.spec Normal file
View File

@ -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@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

View File

@ -0,0 +1 @@
cb976fa86491f59558d6169b25bcc111 font-awesome-4.0.3.zip