Accepting request 866959 from home:avindra:devel:languages:javascript

+wabt (WASM tool)

OBS-URL: https://build.opensuse.org/request/show/866959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/wabt?expand=0&rev=1
This commit is contained in:
2021-01-26 16:33:33 +00:00
committed by Git OBS Bridge
commit a417c5f112
7 changed files with 208 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

29
_service Normal file
View File

@@ -0,0 +1,29 @@
<!--
# vim: set syntax=xml
-->
<services>
<!--
To get a new tarball, make your changes then run:
$ osc service manualrun tar_scm && osc service manualrun recompress
-->
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/WebAssembly/wabt.git</param>
<param name="revision">1.0.20</param>
<param name="version">1.0.20</param>
<param name="exclude">.github</param>
<param name="exclude">.gitignore</param>
<param name="exclude">.gitattributes</param>
<param name="exclude">.flake8</param>
<param name="exclude">.clang-format</param>
<param name="exclude">.style.yapf</param>
</service>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

3
wabt-1.0.20.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dd478d05764c591338661ec9cb6bf8d43399d7320867f7088dac833b770b722
size 1934680

4
wabt-rpmlintrc Normal file
View File

@@ -0,0 +1,4 @@
# todo: package shared lib correctly
addFilter("lto-no-text-in-archive .*");

52
wabt.changes Normal file
View File

@@ -0,0 +1,52 @@
-------------------------------------------------------------------
Sun Jan 10 19:15:02 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
- update to v1.0.20
* Rename atomic.notify, *.atomic.wait
* atomic.notify -> memory.atomic.notify
* i32.atomic.wait -> memory.atomic.wait32
* i64.atomic.wait -> memory.atomic.wait64
- wasm_decompile binary added
- create devel package for new headers/bin
- add _service to fetch required gitmodules
- ran spec-cleaner
-------------------------------------------------------------------
Wed Oct 7 01:23:39 UTC 2020 - gwasser@gmail.com
- update to v1.0.19
-------------------------------------------------------------------
Sun Oct 6 18:31:19 UTC 2019 - gwasser@gmail.com
- update to v1.0.12
-------------------------------------------------------------------
Mon Jul 1 01:53:19 UTC 2019 - gwasser@gmail.com
- update to v1.0.11
-------------------------------------------------------------------
Sun Apr 7 02:25:31 UTC 2019 - gwasser@gmail.com
- update to v1.0.10
-------------------------------------------------------------------
Wed Feb 27 17:44:44 UTC 2019 - gwasser@gmail.com
- update to v1.0.8
-------------------------------------------------------------------
Sun Jan 20 23:29:21 UTC 2019 - gwasser@gmail.com
- update to v1.0.7
-------------------------------------------------------------------
Fri Oct 25 23:41:33 UTC 2018 - gwasser@gmail.com
- update to v1.0.6
-------------------------------------------------------------------
Fri Sep 14 12:11:48 UTC 2018 - gwasser@gmail.com
- initial package for v1.0.5

96
wabt.spec Normal file
View File

@@ -0,0 +1,96 @@
#
# spec file for package wabt
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: wabt
Version: 1.0.20
Release: 0
Summary: WebAssembly Binary Toolkit
License: Apache-2.0
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Development/Tools
URL: https://github.com/WebAssembly/wabt
Source0: %{name}-%{version}.tar.xz
Source99: wabt-rpmlintrc
BuildRequires: bison
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python3-devel
%description
A suite of tools for WebAssembly. These tools are intended for use in (or for
development of) toolchains or other systems that want to manipulate WebAssembly
files. Unlike the WebAssembly spec interpreter (which is written to be as
simple, declarative and "speccy" as possible), they are written in C/C++ and
designed for easier integration into other systems. Unlike Binaryen these tools
do not aim to provide an optimization platform or a higher-level compiler
target; instead they aim for full fidelity and compliance with the spec (e.g.
1:1 round-trips with no changes to instructions).
%package devel
Summary: Development packages for %{name}
Group: Development/Libraries/C and C++
%description devel
Development headers from WABT for wasm-rt
%prep
%setup -q
%build
%cmake -DBUILD_TESTS=OFF
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md Contributing.md
%{_bindir}/wasm-decompile
%{_bindir}/wasm-objdump
%{_bindir}/wasm-interp
%{_bindir}/wasm-opcodecnt
%{_bindir}/wasm-strip
%{_bindir}/spectest-interp
%{_bindir}/wasm-validate
%{_bindir}/wasm2c
%{_bindir}/wasm2wat
%{_bindir}/wast2json
%{_bindir}/wat-desugar
%{_bindir}/wat2wasm
%{_mandir}/man1/wasm-interp.1%{?ext_man}
%{_mandir}/man1/wasm-objdump.1%{?ext_man}
%{_mandir}/man1/wasm2c.1%{?ext_man}
%{_mandir}/man1/wasm2wat.1%{?ext_man}
%{_mandir}/man1/wat2wasm.1%{?ext_man}
%{_mandir}/man1/wat-desugar.1%{?ext_man}
%{_mandir}/man1/spectest-interp.1%{?ext_man}
%{_mandir}/man1/wasm-opcodecnt.1%{?ext_man}
%{_mandir}/man1/wasm-strip.1%{?ext_man}
%{_mandir}/man1/wasm-validate.1%{?ext_man}
%{_mandir}/man1/wast2json.1%{?ext_man}
%{_mandir}/man1/wasm-decompile.1%{?ext_man}
%files devel
%{_includedir}/wasm-rt-impl.h
%{_includedir}/wasm-rt.h
%{_libdir}/libwasm-rt-impl.a
%changelog