Sync from rawhide to new docompilers and with hope to build agaisnt new json

This commit is contained in:
Jiri Vanek 2019-01-18 10:25:57 +01:00
commit 8b7f5e040e
4 changed files with 110 additions and 5 deletions

View file

@ -1,15 +1,17 @@
Summary: Application for extraction and decompilation of JVM byte code
Name: java-runtime-decompiler
Version: 2.0
Release: 3%{?dist}
Release: 5%{?dist}
License: GPLv3
URL: https://github.com/pmikova/java-runtime-decompiler
Source0: https://github.com/pmikova/%{name}/archive/%{name}-%{version}.tar.gz
Source1: java-runtime-decompiler
Source2: java-runtime-decompiler.1
Source3: jrd.desktop
# Remove RSyntaxTextArea library from the sources and dependencies, as it is not packaged for epel
Patch1: remove_rsyntaxtextarea.patch
Patch0: remove_rsyntaxtextarea.patch
Patch1: systemFernflower.patch
Patch2: systemProcyon.patch
Patch3: includeLambdas.patch
BuildArch: noarch
BuildRequires: maven-local
BuildRequires: byteman
@ -20,6 +22,8 @@ BuildRequires: java-devel = 1:1.8.0
BuildRequires: google-gson
BuildRequires: desktop-file-utils
Requires: java-devel = 1:1.8.0
Recommends: fernflower
Recommends: procyon-decompiler
%description
This application can access JVM memory at runtime,
@ -33,7 +37,10 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch1 -p1
%patch0 -p1
%patch1
%patch2
%patch3
%build
pushd runtime-decompiler
@ -77,8 +84,20 @@ desktop-file-install --vendor="fedora" \
%license LICENSE
%changelog
* Thu Jan 17 2019 Jiri Vanek <jvanek@redhat.com> - 2.0-5
- improved Patch3, includeLambdas.patch to sort the lamdas t the bottom
* Thu Jan 17 2019 Jiri Vanek <jvanek@redhat.com> - 2.0-4
- added depndence of procyon decompiler (currenlty under review
- added and applied Patch2, systemProcyon.patch to enable system procyon out of thebox
- added and applied Patch3, includeLambdas.patch to at least list lamdas untill fixed in upstream
* Thu Jan 10 2019 Jiri Vanek <jvanek@redhat.com> - 2.0-3
- added depndence of fernflower decompiler
- added and applied Patch1, systemFernflower.patch to enable system fernflower
* Mon Dec 3 2018 Petra Mikova <petra.alice.mikova@gmail.com> - 2.0-3
- patch to remove rsyntaxtextarea, because rhel does not have the package
- patch to remove rsyntaxtextarea, because rhel does not have the package(guilty is jvanek, sorry)
- removed from spec and runscript accordingly
* Wed Nov 28 2018 Petra Mikova <petra.alice.mikova@gmail.com> - 2.0-2