2020-03-28 14:34:50 +00:00
committed by Git OBS Bridge
parent d5f86dbffa
commit 64ed6a79e6

View File

@@ -58,25 +58,15 @@ Although GUI based, it also offers an automated, GUI-less mode.
%setup -q
%build
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
export CC=gcc-6
export CXX=g++-6
%else
export CC=gcc-7
export CXX=g++-7
%endif
%endif
%cmake_kf5 -d build
%cmake_build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --with-qt --all-name
%{kf5_find_htmldocs}
%endif
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --with-qt --all-name
%{kf5_find_htmldocs}
%endif
%files
%license COPYING