* The keymap files have UTF-8 characters embedded in comments.
javac complains about this unless the default encoding is set.
# Build Java applet
pushd java
%{cmake28} .
-LANG=C make
+JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" make
popd
%install
# Build Java applet
pushd java
%{cmake28} .
-make
+JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" make
popd
%install
# Build java client
pushd java
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
-make %{?_smp_mflags}
+JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" make %{?_smp_mflags}
popd
%install