This commit is contained in:
parent
418bb3defd
commit
e4916743e3
@ -68,15 +68,6 @@ ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
|||||||
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||||
Source2: applications.keyring
|
Source2: applications.keyring
|
||||||
%endif
|
%endif
|
||||||
# Needed for 42.3
|
|
||||||
%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
|
|
||||||
BuildRequires: gcc6-c++
|
|
||||||
%else
|
|
||||||
BuildRequires: gcc7-c++
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Konqueror allows you to manage your files and browse the web in a
|
Konqueror allows you to manage your files and browse the web in a
|
||||||
@ -123,25 +114,15 @@ Development package for the konqueror libraries.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} < 1330
|
%cmake_kf5 -d build
|
||||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
%cmake_build
|
||||||
%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
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
%find_lang %{name} --with-man --all-name
|
%find_lang %{name} --with-man --all-name
|
||||||
%{kf5_find_htmldocs}
|
%{kf5_find_htmldocs}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user