%define _noautostrip .*%{_datadir}/.*
%define _noautochrpath .*%{_datadir}/.*
+%define _noautoreq_java ClassDataVersion
+
%description
LibreOffice is an open-source project sponsored by Sun Microsystems
and hosted by CollabNet. In October of 2000, Sun released the source
Summary: UNO Runtime Environment
Summary(pl.UTF-8): Środowisko uruchomieniowe UNO
Group: Libraries
+%if %{with java}
+%{?use_jdk:Suggests: jre(%use_jdk)}
+%endif
Obsoletes: openoffice.org-ure < 1:4
%description ure
--with-ant-home=$ANT_HOME \
--with-java \
--with-jdk-home=$JAVA_HOME \
+ --with-jvm-path=%{_libdir}/ \
%else
--without-java
%endif
export LC_ALL=C.UTF-8
%{__make} -j1 verbose=true build
-#-nocheck
%if %{with tests}
%{__make} -j1 verbose=true check