File emscripten.spec of Package emscripten

# spec file for package emscripten.spec
# Copyright (c) 2017 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

Name:           emscripten
Version:        1.38.32
Release:        0
Summary:        Compile C and C++ into asm.js or WebAssembly
License:        MIT
Group:          Development/Tools
Source:         %{name}-%{version}.tar.gz
BuildRequires:  pkgconfig
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  cmake
BuildRequires:  python-devel
BuildRequires:  nodejs10-devel
BuildRequires:  java-10-openjdk-devel
BuildRequires:  git
BuildRequires:  gtest
BuildRequires:  emscripten-fastcomp
Recommends:     binaryen
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Emscripten is an LLVM-based project that compiles C and C++ into highly-optimizable JavaScript in asm.js format. This lets you run C and C++ on the web at near-native speed, without plugins.

Particularly useful when combined with binaryen to produce WebAssembly.

%package -n %{name}-devel
Summary:        Development files for %{name}
Group:          Development/Tools
Requires:       %{name} = %{version}

%description -n %{name}-devel
Development files for lib%{name}.

%setup -q

%cmake \


%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig


%files -n %{name}-devel