commit a417c5f1127bac30dd60cf467f31c72e18dc7d1db00293807a5bf6dfd69d9857 Author: Avindra Goolcharan Date: Tue Jan 26 16:33:33 2021 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..0d1f9bd --- /dev/null +++ b/_service @@ -0,0 +1,29 @@ + + + + + + git + https://github.com/WebAssembly/wabt.git + 1.0.20 + 1.0.20 + + .github + .gitignore + .gitattributes + .flake8 + .clang-format + .style.yapf + + + + *.tar + xz + + + diff --git a/wabt-1.0.20.tar.xz b/wabt-1.0.20.tar.xz new file mode 100644 index 0000000..4860b9e --- /dev/null +++ b/wabt-1.0.20.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dd478d05764c591338661ec9cb6bf8d43399d7320867f7088dac833b770b722 +size 1934680 diff --git a/wabt-rpmlintrc b/wabt-rpmlintrc new file mode 100644 index 0000000..682f983 --- /dev/null +++ b/wabt-rpmlintrc @@ -0,0 +1,4 @@ + +# todo: package shared lib correctly + +addFilter("lto-no-text-in-archive .*"); diff --git a/wabt.changes b/wabt.changes new file mode 100644 index 0000000..3287c0b --- /dev/null +++ b/wabt.changes @@ -0,0 +1,52 @@ +------------------------------------------------------------------- +Sun Jan 10 19:15:02 UTC 2021 - Avindra Goolcharan + +- 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 diff --git a/wabt.spec b/wabt.spec new file mode 100644 index 0000000..f4ff428 --- /dev/null +++ b/wabt.spec @@ -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