Name: lsp4e Version: 0.15.0 Release: 1%{?dist} Summary: Language Server Protocol integration for Eclipse IDE License: EPL-2.0 URL: https://projects.eclipse.org/projects/technology.lsp4e Source0: https://git.eclipse.org/c/lsp4e/lsp4e.git/snapshot/lsp4e-%{version}.tar.xz # Remove requirement on mylyn Patch0: 0001-Patch-out-usage-of-mylyn-notifications.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: tycho BuildRequires: tycho-extras BuildRequires: eclipse-jdt BuildRequires: lsp4j BuildRequires: mylyn-wikitext %description The project includes the necessary code to integrate any language server (conforming to the Language Server Protocol specification) or Debug Adapter (conforming to the Debug Adapter Protocol) in the Eclipse IDE: it orchestrates the requests to the language servers or debug adapters and presents the response in the usual IDE metaphors so users can manipulate them. %prep %setup -q %patch0 -p1 # Disable modules not relevant for downstream RPM builds %pom_disable_module target-platforms/target-platform-latest %pom_disable_module repository %pom_remove_plugin :target-platform-configuration %pom_remove_plugin :tycho-packaging-plugin %pom_remove_plugin :jacoco-maven-plugin # Can't build tests, they rely on platform tests that are not shipped in Fedora %pom_disable_module org.eclipse.lsp4e.test %pom_disable_module org.eclipse.lsp4e.tests.mock # Relax dep on guava sed -i -e '/guava/s/27/20/' org.eclipse.lsp4e/META-INF/MANIFEST.MF # Disable null analysis, it breaks the build sed -i -e '/nullanalysis/s/enabled/disabled/' org.eclipse.lsp4e/.settings/org.eclipse.jdt.core.prefs %build %mvn_build -j %install %mvn_install %files -f .mfiles %license org.eclipse.lsp4e/EPL-2.0.html %doc README.md %changelog * Fri Aug 28 2020 Mat Booth - 0.15.0-1 - Initial packaging of lsp4e