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