From db692bb4d9d6672b89bfa56dd3817fdca2f073a3 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 3 Apr 2014 14:40:28 +0200 Subject: [PATCH] unbundle fontawesome-fonts --- ipython.spec | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 - 2.0.0-1 - update to 2.0.0 - bundled argparse has been dropped +- unbundle fontawesome-fonts{,-web} * Wed Feb 5 2014 Thomas Spura - 1.1.0-1 - update to 1.1.0