[ipython/next: 12/14] unbundle fontawesome-fonts

Thomas Spura tomspur at fedoraproject.org
Sat Apr 12 07:25:33 UTC 2014


commit db692bb4d9d6672b89bfa56dd3817fdca2f073a3
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Thu Apr 3 14:40:28 2014 +0200

    unbundle fontawesome-fonts

 ipython.spec |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/ipython.spec b/ipython.spec
index b7b8069..3666978 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -249,6 +249,12 @@ Requires:       python3-ipython-console = %{version}-%{release}
 Requires:       python3-tornado
 Requires:       python3-matplotlib
 
+#################################################
+### Bundled stuff from the notebook goes here ###
+#################################################
+BuildRequires:  fontawesome-fonts-web
+Requires:       fontawesome-fonts-web
+
 %description -n python3-ipython-notebook
 %{ipython_desc_base}
 
@@ -314,6 +320,22 @@ rm simplegeneric/_simplegeneric.py
 
 popd
 
+# unbundle components
+pushd IPython/html/static/components
+    pushd font-awesome
+        rm -rf font
+        ln -s %{_datadir}/fonts/fontawesome font
+        for folder in css less scss; do
+            rm -rf $folder
+            ln -s %{_datadir}/font-awesome-*/${folder}
+        done
+        ls -l
+    popd
+ls -l
+ls -l *
+asdf
+popd
+
 %if 0%{?with_python3}
 rm -rf %{py3dir}
 cp -a . %{py3dir}
@@ -593,6 +615,7 @@ PYTHONPATH=%{buildroot}%{python_sitelib} \
 * Thu Apr  3 2014 Thomas Spura <tomspur at fedoraproject.org> - 2.0.0-1
 - update to 2.0.0
 - bundled argparse has been dropped
+- unbundle fontawesome-fonts{,-web}
 
 * Wed Feb  5 2014 Thomas Spura <tomspur at fedoraproject.org> - 1.1.0-1
 - update to 1.1.0


More information about the scm-commits mailing list