- Update to v20230615
* What's Changed
+ feat(cli): -classpath supporting multiple files/folders by
@nbrugger-tgm in #920
+ Minor fix to Wasm backend runtime code regarding string
concatenation by @mirkosertic in #935
+ fix: various bugs by @nbrugger-tgm in #929
+ feat(core): Enum.getDeclaringClass by @nbrugger-tgm in #931
+ feat(core): improved No such method traces by @nbrugger-tgm
in #925
+ #924 Improved No such method : traces by @mirkosertic in #940
+ Bump maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot
in #911
+ Bump maven-dependency-plugin from 3.5.0 to 3.6.0 by
@dependabot in #915
+ Bump pitest-maven from 1.13.2 to 1.14.1 by @dependabot in
#916
+ Bump selenium from 1.18.1 to 1.18.2 by @dependabot in #918
+ Bump jackson-databind from 2.15.0 to 2.15.2 by @dependabot in
#917
+ Bump maven-release-plugin from 3.0.0 to 3.0.1 by @dependabot
in #934
+ Bump picocli from 4.7.3 to 4.7.4 by @dependabot in #933
+ Bump selenium from 1.18.2 to 1.18.3 by @dependabot in #930
+ Bump maven-surefire-plugin from 3.1.0 to 3.1.2 by @dependabot
in #936
+ Bump selenium-chrome-driver from 4.9.1 to 4.10.0 by
@dependabot in #938
+ Bump commons-io from 2.12.0 to 2.13.0 by @dependabot in #937
+ Bump kotlin.version from 1.8.21 to 1.8.22 by @dependabot in
#939
OBS-URL: https://build.opensuse.org/request/show/1108435
OBS-URL: https://build.opensuse.org/package/show/Java:packages/bytecoder?expand=0&rev=2
104 lines
3.1 KiB
RPMSpec
104 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package bytecoder
|
|
#
|
|
# Copyright (c) 2023 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/
|
|
#
|
|
|
|
|
|
%global git_tag 2023-06-15
|
|
Name: bytecoder
|
|
Version: 20230615
|
|
Release: 0
|
|
Summary: JVM to JavaScript, OpenCL and WebAssembly Transpiler
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/Java
|
|
URL: https://www.mirkosertic.de/blog/2017/06/compiling-bytecode-to-javascript/
|
|
Source0: https://github.com/mirkosertic/Bytecoder/archive/refs/tags/%{git_tag}.tar.gz
|
|
Source1: %{name}.pod
|
|
BuildRequires: fdupes
|
|
BuildRequires: maven-local
|
|
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
|
|
BuildRequires: mvn(com.google.guava:guava)
|
|
BuildRequires: mvn(info.picocli:picocli)
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
|
BuildRequires: mvn(org.jocl:jocl)
|
|
BuildRequires: mvn(org.slf4j:slf4j-jdk14)
|
|
|
|
%description
|
|
Bytecoder is a Rich Domain Model for Java Bytecode and Framework to interpret
|
|
and transpile it to other languages such as JavaScript, OpenCL or WebAssembly.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
Group: Documentation/HTML
|
|
BuildArch: noarch
|
|
|
|
%description javadoc
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n Bytecoder-%{git_tag}
|
|
|
|
%pom_disable_module integrationtest
|
|
|
|
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
|
|
%pom_remove_plugin :maven-source-plugin
|
|
%pom_remove_plugin org.jetbrains.kotlin:kotlin-maven-plugin core
|
|
%pom_remove_plugin org.springframework.boot:spring-boot-maven-plugin cli
|
|
|
|
%pom_remove_dep org.seleniumhq.selenium:selenium-chrome-driver core
|
|
%pom_remove_dep org.testcontainers:selenium core
|
|
|
|
%pom_change_dep com.google.guava:guava com.google.guava:guava:any . maven
|
|
|
|
rm -rf core/src/main/java/de/mirkosertic/bytecoder/core/test/UnitTestRunner.java
|
|
|
|
%build
|
|
%{mvn_build} -f -- -Dsource=8
|
|
|
|
pod2man --release='%{name} %{version}' --section=1 --center='User Commands' --quotes=none %{SOURCE1} %{name}.1
|
|
|
|
%install
|
|
%mvn_install
|
|
%fdupes %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
%define jars \
|
|
%{name}:\
|
|
picocli:\
|
|
slf4j:\
|
|
jackson-databind:\
|
|
jackson-core:\
|
|
jackson-annotations:\
|
|
objectweb-asm:\
|
|
apache-commons-lang3:\
|
|
apache-commons-io:\
|
|
apache-commons-text:\
|
|
jocl
|
|
|
|
%jpackage_script de.mirkosertic.bytecoder.cli.BytecoderCLI "" "" "%{jars}" %{name} true
|
|
|
|
install -dm0755 %{buildroot}%{_mandir}/man1
|
|
install -m0644 %{name}.1 %{buildroot}%{_mandir}/man1
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|