Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MargueriteSu:branches:devel:languages:nodejs
electron
electron.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File electron.spec of Package electron
# # spec file for package electron # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define chromium_version 47.0.2526.110 Name: electron Version: 0.36.7+git20160206.18631df Release: 0 License: MIT Summary: Build cross platform desktop apps with web technologies Url: https://github.com/atom/electron Group: Development/Languages/NodeJS Source: %{name}-%{version}.tar.xz Patch: electron-system-clang.patch Patch1: electron-disable-npm-install.patch Patch2: electron-libchromiumcontent.patch BuildRequires: python-devel >= 2.7.0 BuildRequires: nodejs-devel >= 0.12.0 BuildRequires: llvm-clang >= 3.4.0 BuildRequires: gtk2-devel BuildRequires: libnotify-devel BuildRequires: eslint BuildRequires: asar BuildRequires: request BuildRequires: runas BuildRequires: nodejs-packaging BuildRequires: libchromiumcontent BuildRequires: libchromiumcontent-devel BuildRequires: libchromiumcontent-devel-static BuildRequires: dbus-1-devel BuildRequires: libXi-devel BuildRequires: libXcursor-devel BuildRequires: libXrandr-devel BuildRequires: libXcomposite-devel BuildRequires: libXtst-devel BuildRequires: gconf2-devel BuildRequires: mozilla-nss-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used in the Atom editor. %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 %build # node mkdir -p node_modules cp -r %{nodejs_sitelib}/{eslint,asar,request,runas} ./node_modules/ # libchromiumcontent mkdir -p vendor/brightray/vendor/download/libchromiumcontent cp -r %{_libdir}/libchromiumcontent/* vendor/brightray/vendor/download/libchromiumcontent vendor/brightray/vendor/libchromiumcontent/tools/generate_filenames_gypi.py \ vendor/brightray/vendor/download/libchromiumcontent/filenames.gypi \ vendor/brightray/vendor/download/libchromiumcontent/src \ vendor/brightray/vendor/download/libchromiumcontent/shared_library \ vendor/brightray/vendor/download/libchromiumcontent/static_library sed -i "s/{PLACEHOLDER}/%{chromium_version}/" script/chrome_version.h.in ./script/bootstrap.py -v ./script/build.py ./script/create-dist.py %install mkdir -p %{buildroot}%{_bindir} install -m 0755 dist/electron %{buildroot}%{_bindir} %check ./script/test.py %files %defattr(-,root,root) %doc ChangeLog README COPYING %{_bindir}/electron %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor