diff --git a/soprano.spec b/soprano.spec index ef9ac9f..7274af8 100644 --- a/soprano.spec +++ b/soprano.spec @@ -3,7 +3,7 @@ Name: soprano Version: 2.9.4 -Release: 2mamba +Release: 3mamba Epoch: 1 Summary: The QT/C++ RDF framework Group: Applications/Development @@ -15,10 +15,12 @@ Source: http://downloads.sourceforge.net/project/soprano/Soprano/%{versio License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +%ifnarch arm +BuildRequires: java-openjdk11-headless +%endif BuildRequires: ldconfig BuildRequires: libclucene-devel BuildRequires: libgcc -BuildRequires: libgcj4-devel BuildRequires: libiodbc-devel BuildRequires: libqt4-devel BuildRequires: libraptor2-devel @@ -27,11 +29,11 @@ BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libclucene-devel >= 2.3.3.4 -%if "%{stage1}" != "1" -BuildRequires: gcc-java -BuildRequires: java-gcj-compat +#%if "%{stage1}" != "1" +#BuildRequires: gcc-java +#BuildRequires: java-gcj-compat BuildRequires: jpackage-utils -%endif +#%endif BuildRequires: libraptor2-devel Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} Requires: sopranobackend @@ -57,7 +59,9 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: soprano-devel Provides: soprano-devel = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-backend-redland = %{?epoch:%epoch:}%{version}-%{release} +%ifnarch arm Requires: %{name}-backend-sesame2 = %{?epoch:%epoch:}%{version}-%{release} +%endif Requires: %{name}-backend-virtuoso = %{?epoch:%epoch:}%{version}-%{release} %description -n %{libname}-devel @@ -91,7 +95,9 @@ Summary: Virtuoso backend for %{name} Provides: %{name}-backend = %{?epoch:%epoch:}%{version}-%{release} Provides: sopranobackend Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +%ifnarch aarch64 Requires: virtuoso-opensource +%endif %description backend-virtuoso This package provides the Virtuoso storage backend for %{name}. @@ -113,7 +119,7 @@ This package includes the Soprano API documentation in HTML format for easy brow %build JAVA_HOME=%{_jvmdir}/jdk -JAVA_JWM_LIBRARY=%{_jnidir} +#JAVA_JWM_LIBRARY=%{_jnidir} QTDIR=%{_qt4_prefix}; export QTDIR PATH="%{_qt4_bindir}:%{_kdebindir}:/bin:/usr/bin"; export PATH %cmake -d build \ @@ -172,6 +178,7 @@ PATH="%{_qt4_bindir}:%{_kdebindir}:/bin:/usr/bin"; export PATH %{_libdir}/soprano/libsoprano_redlandbackend.so %{_datadir}/soprano/plugins/redlandbackend.desktop +%ifnarch arm %if "%{stage1}" != "1" %files backend-sesame2 %defattr(-,root,root,-) @@ -180,6 +187,7 @@ PATH="%{_qt4_bindir}:%{_kdebindir}:/bin:/usr/bin"; export PATH %{_datadir}/soprano/sesame2/*.class %{_datadir}/soprano/sesame2/*.jar %endif +%endif %files backend-virtuoso %defattr(-,root,root,-) @@ -193,6 +201,9 @@ PATH="%{_qt4_bindir}:%{_kdebindir}:/bin:/usr/bin"; export PATH %endif %changelog +* Tue Jan 19 2021 Silvan Calarco 2.9.4-3mamba +- rebuilt with java-openjdk + * Tue Sep 22 2020 Silvan Calarco 2.9.4-2mamba - rebuilt with libraptor2