]> git.pld-linux.org Git - packages/electron.git/blobdiff - electron.spec
build invocation
[packages/electron.git] / electron.spec
index edbacb5b2b5bd1391a73f542b60f9022bf968ac9..a79b3aa417223d055cb60516bd849d26c71dd944 100644 (file)
@@ -13,6 +13,7 @@ License:      MIT, BSD
 Group:         Applications
 URL:           https://github.com/atom/electron
 BuildRequires: git-core
+BuildRequires: ncurses
 BuildRequires: npm
 ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,6 +30,16 @@ and Chromium and is used in the Atom editor.
 %setup -qcT
 git clone https://github.com/atom/electron.git -b v%{version} --depth 1 .
 
+./script/bootstrap.py -v
+
+install -d lib
+ln -s %{_libdir}/libncurses.so.5 lib/libtinfo.so.5
+
+%build
+export LD_LIBRARY_PATH=`pwd`/lib
+
+./script/build.py -c R
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.097182 seconds and 4 git commands to generate.