This commit is contained in:
parent
3c9d87786a
commit
8f5a8ba0b4
@ -32,7 +32,12 @@
|
||||
%endif
|
||||
# Enable the kde integration on openSUSE only
|
||||
%if 0%{?is_opensuse}
|
||||
# for some reason breaks on 32bit
|
||||
%ifarch %ix86
|
||||
%bcond_with kdeintegration
|
||||
%else
|
||||
%bcond_without kdeintegration
|
||||
%endif
|
||||
%else
|
||||
%bcond_with kdeintegration
|
||||
%endif
|
||||
@ -557,24 +562,16 @@ Supplements: packageand(libreoffice:plasma5-workspace)
|
||||
%description gtk2
|
||||
This package contains Gtk2 interface rendering option for LibreOffice.
|
||||
|
||||
%package kde4
|
||||
Summary: KDE4 interface for LibreOffice
|
||||
Group: Productivity/Office/Suite
|
||||
Requires: %{name} = %{version}
|
||||
# we need full kdelibs4 otherwise we will crash
|
||||
Requires: kdelibs4
|
||||
Supplements: packageand(libreoffice:plasma5-workspace)
|
||||
|
||||
%description kde4
|
||||
This package contains kde4 interface rendering options for LibreOffice.
|
||||
|
||||
%package qt5
|
||||
Summary: Qt5 interface for LibreOffice
|
||||
Summary: Qt5/KDE Frameworks interface for LibreOffice
|
||||
Group: Productivity/Office/Suite
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: packageand(libreoffice:plasma5-workspace)
|
||||
Provides: %{name}-kde4 = %{version}
|
||||
Obsoletes: %{name}-kde4 < %{version}
|
||||
|
||||
%description qt5
|
||||
This package contains Qt5 interface rendering options for LibreOffice.
|
||||
This package contains Qt5/KDE Frameworks interface rendering options for LibreOffice.
|
||||
|
||||
%package sdk
|
||||
Summary: LibreOffice SDK
|
||||
@ -993,6 +990,8 @@ export NOCONFIGURE=yes
|
||||
--enable-gtk3 \
|
||||
%if %{with kdeintegration}
|
||||
--enable-gtk3-kde5 \
|
||||
--enable-kde5 \
|
||||
--disable-qt5 \
|
||||
%endif
|
||||
%else
|
||||
--disable-gtk3 \
|
||||
@ -1435,7 +1434,7 @@ exit 0
|
||||
%{_libdir}/libreoffice/program/libvclplug_gtklo.so
|
||||
|
||||
%if %{with kdeintegration}
|
||||
%files -f file-lists/kde4_list.txt kde4
|
||||
%files -f file-lists/kde4_list.txt qt5
|
||||
%endif
|
||||
|
||||
%files -f file-lists/officebean_list.txt officebean
|
||||
|
Loading…
x
Reference in New Issue
Block a user