Accepting request 866963 from home:avindra:devel:languages:javascript
+mjs OBS-URL: https://build.opensuse.org/request/show/866963 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/mjs?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
mjs-2.18.0.tar.gz
Normal file
3
mjs-2.18.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9e286ccc9aa5656eb45e903dbbf06cdba7107b47c797ff598e97033e03342f82
|
||||||
|
size 1247526
|
4
mjs.changes
Normal file
4
mjs.changes
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 3 21:56:17 UTC 2021 - Avindra Goolcharan <avindra@opensuse.org>
|
||||||
|
|
||||||
|
- initial package at 2.18.0
|
47
mjs.spec
Normal file
47
mjs.spec
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
#
|
||||||
|
# spec file for package mjs
|
||||||
|
#
|
||||||
|
# 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: mjs
|
||||||
|
Version: 2.18.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Embedded JavaScript engine for C/C++
|
||||||
|
License: GPL-2.0-only
|
||||||
|
URL: https://github.com/cesanta/mjs
|
||||||
|
Source: https://github.com/cesanta/mjs/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: clang
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
# see: https://github.com/cesanta/mjs/issues/62#issuecomment-387484977
|
||||||
|
cd mjs && %make_build DOCKER_CLANG=
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}/
|
||||||
|
install -D -m755 mjs/build/mjs %{buildroot}%{_bindir}/mjs
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/mjs
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user