%global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global __provides_exclude .* %global __requires_exclude .* %ifarch x86_64 %global mandrel_source 1 %endif %ifarch aarch64 %global mandrel_source 2 %endif Name: java-25-mandrel Version: 25.0.1.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 ExclusiveArch: x86_64 aarch64 Source1: https://github.com/graalvm/mandrel/releases/download/mandrel-%{version}-Final/mandrel-java25-linux-amd64-%{version}-Final.tar.gz Source2: https://github.com/graalvm/mandrel/releases/download/mandrel-%{version}-Final/mandrel-java25-linux-aarch64-%{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 -c -T -a %{mandrel_source} mv mandrel-java25-%{version}-Final/* . rmdir mandrel-java25-%{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 Jan 20 2026 Mikolaj Izdebski - 25.0.1.0-1 - Initial packaging