%global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global __provides_exclude .* %global __requires_exclude .* Name: java-22-mandrel Version: 24.0.2.0 Release: 1%{?dist} Summary: Distribution of the GraalVM community edition License: GPL-2.0-only WITH Classpath-exception-2.0 URL: https://github.com/graalvm/mandrel BuildArch: x86_64 ExclusiveArch: x86_64 Source0: https://github.com/graalvm/mandrel/releases/download/mandrel-%{version}-Final/mandrel-java22-linux-amd64-%{version}-Final.tar.gz BuildRequires: javapackages-filesystem %description Mandrel is a downstream distribution of the GraalVM community edition. Mandrel's main goal is to provide a native-image release specifically to support Quarkus. The aim is to align the native-image capabilities from GraalVM with OpenJDK and Red Hat Enterprise Linux libraries to improve maintainability for native Quarkus applications. Mandrel can best be described as a distribution of a regular OpenJDK with a specially packaged GraalVM Native Image builder (native-image). %package devel Summary: Mandrel development tools Requires: javapackages-filesystem Requires: freetype-devel Requires: gcc Requires: glibc-devel Requires: libstdc++-static Requires: zlib-devel %description devel Mandrel development tools. %prep %setup -q -n mandrel-java22-%{version}-Final %install install -d -m 755 %{buildroot}%{_jvmdir}/%{name} cp -a * %{buildroot}%{_jvmdir}/%{name} %files devel %{_jvmdir}/%{name} %license LICENSE NOTICE THIRD_PARTY_LICENSE.txt %changelog * Tue Aug 13 2024 Mikolaj Izdebski - 24.0.2.0-1 - Initial packaging