# TODO:
# - fix configure arguments (+ compare with FC)
# - create CoinMP library package for PLD (https://projects.coin-or.org/CoinMP)
+# - new language packs: ca@valencia, kmr@latin, sr@latin
#
# NOTE - FIXME FOR 3.4.3 !!!:
# - normal build (i686) requires about 27 GB of disk space:
#
# Conditional build:
%bcond_without java # without Java support (disables help support)
-%bcond_without kde4 # KDE4 L&F packages
+%bcond_without kde5 # KDE5 L&F packages
%bcond_without gtk # GTK2 L&F
-%bcond_with gtk3 # GTK3 L&F (experimental)
+%bcond_without gtk3 # GTK3 L&F
+%bcond_without qt5 # QT5 L&F
%bcond_with mono # enable compilation of mono bindings
%bcond_without mozilla # without mozilla components
%bcond_without i18n # do not create i18n packages (extra build time)
%bcond_without system_myspell
# this list is same as icedtea6
-%ifnarch i486 i586 i686 pentium3 pentium4 athlon %{x8664}
+%ifnarch i486 i586 i686 pentium3 pentium4 athlon %{x8664} aarch64
%undefine with_java
%endif
%undefine with_system_hsqldb
%endif
-%define major_ver 6.1.0
+%if %{with kde5}
+%define with_qt5 1
+%endif
+
+%define major_ver 6.3.0
+%define qt5_ver 5.6
Summary: LibreOffice - powerful office suite
Summary(pl.UTF-8): LibreOffice - potężny pakiet biurowy
Name: libreoffice
-Version: %{major_ver}.3
-Release: 3
+Version: %{major_ver}.4
+Release: 4
License: GPL/LGPL
Group: X11/Applications
Source0: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-%{version}.tar.xz
-# Source0-md5: df908c245f1dca4b822345b82af2ea64
+# Source0-md5: d24bd7e5116743196c67e7df4b18458f
Source1: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-dictionaries-%{version}.tar.xz
-# Source1-md5: d04eb21110e9e58ecdb6b361aff8feaf
+# Source1-md5: 81df66dd522a2c56a4f11b24247fb114
Source2: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-help-%{version}.tar.xz
-# Source2-md5: 6958c0501d60c75fc1eb65f3e0182ef8
+# Source2-md5: 483f654eaa94f17c462494029d42334a
Source3: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-translations-%{version}.tar.xz
-# Source3-md5: 7f8bd2d2102cfb434d8d22df7c907ab5
+# Source3-md5: 21459291d488ecd7e4e8fb0fdcc55aca
# make (download|fetch) DO_FETCH_TARBALLS=1 WGET=wget
# but not sure if all are needed?
-Source20: http://dev-www.libreoffice.org/src/pdfium-3426.tar.bz2
-# Source20-md5: a66dbb357661c36b3e412a54de4c8fc2
+Source20: http://dev-www.libreoffice.org/src/pdfium-3794.tar.bz2
+# Source20-md5: 4c11c2a0c6a6469ba5c097c755e06fed
Source21: http://dev-www.libreoffice.org/src/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
# Source21-md5: 17410483b5b5f267aa18b7e00b65e6e0
Source22: http://dev-www.libreoffice.org/src/CoinMP-1.7.6.tgz
# Source24-md5: 0168229624cfac409e766913506961a8
Source25: http://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
# Source25-md5: 35c94d2df8893241173de1d16b6034c0
-Source26: https://dev-www.libreoffice.org/extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-461.jar
-# Source26-md5: f430ee376fea2bee62c8510d8b94e813
+Source26: https://dev-www.libreoffice.org/extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar
+# Source26-md5: 52edf061bc1063dd624cf69170db4d5f
Source27: http://dev-www.libreoffice.org/src/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
# Source27-md5: a7983f859eafb2677d7ff386a023bc40
+Source28: https://dev-www.libreoffice.org/extern/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
+# Source28-md5: 866ba2ca4188f1610b121dfd514a17e8
Patch0: disable-failing-test.patch
+Patch1: mdds-1.5-orcus-0.15.patch
+Patch2: poppler-0.82.patch
+Patch3: poppler-0.83.patch
+Patch4: poppler-0.86.patch
URL: http://www.documentfoundation.org/
BuildRequires: /usr/bin/getopt
BuildRequires: glib2-devel >= 2.13.5
BuildRequires: gperf
BuildRequires: gpgme-c++-devel
-BuildRequires: graphite2-devel
+BuildRequires: graphite2-devel >= 0.9.3
BuildRequires: gstreamer0.10-devel >= 0.10.0
BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.0
%{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.10}
%{?with_gtk3:BuildRequires: gtk+3-devel}
-BuildRequires: harfbuzz-icu-devel
+BuildRequires: harfbuzz-icu-devel >= 0.9.42
%{?with_system_hunspell:BuildRequires: hunspell-devel >=1.2.2}
BuildRequires: hyphen-devel
%{?with_icecream:BuildRequires: icecream}
BuildRequires: libmwaw-devel >= 0.3.0
BuildRequires: libnumbertext-devel >= 1.0.0
BuildRequires: libodfgen-devel >= 0.1.1
-BuildRequires: liborcus-devel >= 0.13.3
+BuildRequires: liborcus-devel >= 0.15.0
BuildRequires: libpagemaker-devel >= 0.0.2
BuildRequires: libstaroffice-devel
BuildRequires: libvisio-devel
BuildRequires: libzmf-devel
BuildRequires: lp_solve-devel
BuildRequires: silgraphite-devel
-%if %{with kde4}
-BuildRequires: kde4-kdelibs-devel
-BuildRequires: qt4-build
-%endif
BuildRequires: java-libxml
BuildRequires: java-sac
%{?with_system_xalan:BuildRequires: java-xalan}
BuildRequires: libcdr-devel >= 0.0.8
BuildRequires: libcmis-devel >= 0.5
BuildRequires: libepubgen-devel >= 0.1.0
-BuildRequires: libexttextcat-devel
+BuildRequires: libexttextcat-devel >= 3.4.1
BuildRequires: libgltf-devel < 0.2.0
BuildRequires: libgltf-devel >= 0.1.0
%{?with_system_libhnj:BuildRequires: libhnj-devel}
BuildRequires: libxslt-devel
BuildRequires: libxslt-progs
%{?with_access:%{?with_system_mdbtools:BuildRequires: mdbtools-devel >= 0.6}}
-BuildRequires: mdds-devel >= 1.2
+BuildRequires: mdds-devel >= 1.5.0
%{?with_mono:BuildRequires: mono-csharp >= 1.2.3}
%{?with_mono:BuildRequires: mono-static >= 1.2.3}
%{?with_system_myspell:BuildRequires: myspell-devel}
BuildRequires: poppler-devel >= 0.8.0
BuildRequires: portaudio-devel
BuildRequires: postgresql-devel
-BuildRequires: python3 >= 3.3
-BuildRequires: python3-devel >= 3.3
-BuildRequires: python3-modules >= 3.3
+BuildRequires: python3 >= 1:3.3
+BuildRequires: python3-devel >= 1:3.3
+BuildRequires: python3-lxml
+BuildRequires: python3-modules >= 1:3.3
BuildRequires: redland-devel >= 1.0.16
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.660
BuildRequires: jdk >= 1.4.0_00
BuildRequires: jre-X11
%endif
+%if %{with kde5}
+BuildRequires: kf5-kconfig-devel
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-ki18n-devel
+BuildRequires: kf5-kio-devel
+BuildRequires: kf5-kwindowsystem-devel
+BuildRequires: libxcb-devel
+%endif
+%if %{with qt5}
+BuildRequires: Qt5Core-devel >= %{qt5_ver}
+BuildRequires: Qt5Gui-devel >= %{qt5_ver}
+BuildRequires: Qt5Network-devel >= %{qt5_ver}
+BuildRequires: Qt5Widgets-devel >= %{qt5_ver}
+BuildRequires: Qt5X11Extras-devel >= %{qt5_ver}
+BuildRequires: qt5-build >= %{qt5_ver}
+BuildRequires: qt5-qmake >= %{qt5_ver}
+%endif
# contains (dlopened) *.so libs
BuildConflicts: java-gcj-compat
Requires: %{name}-base = %{version}-%{release}
Obsoletes: libreoffice-testtools
Obsoletes: openoffice.org
Obsoletes: openoffice.org-testtools
-ExclusiveArch: %{ix86} %{x8664} ppc sparc sparcv9
+ExclusiveArch: %{ix86} %{x8664} ppc sparc sparcv9 aarch64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags -fno-strict-aliasing -O2
- kontrola CVS,
- infrastruktura służąca do komunikowania się w ramach projektu.
-%package libs-kde
-Summary: LibreOffice KDE Interface
-Summary(pl.UTF-8): Interfejs KDE dla LibreOffice
+%package libs-kde5
+Summary: LibreOffice KDE 5 Interface
+Summary(pl.UTF-8): Interfejs KDE 5 dla LibreOffice
Group: X11/Libraries
Requires: %{name}-core = %{version}-%{release}
-Obsoletes: openoffice-i18n-en
-Obsoletes: openoffice-i18n-en-kde
-Obsoletes: openoffice-libs-kde
-Obsoletes: openoffice.org-libs-kde
+Obsoletes: libreoffice-libs-kde < 6.2.3.1-2
+Obsoletes: libreoffice-libs-kde4 < 6.3.0-1
+
+%description libs-kde5
+LibreOffice productivity suite - KDE 5 Interface.
+
+%description libs-kde5 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs KDE 5.
+
+%package libs-gtk-common
+Summary: Common files for LibreOffice GTK+ Interface
+Summary(pl.UTF-8): Pakiet wspólny dla interfejsów GTK+ dla LibreOffice
+Group: X11/Libraries
+Requires: %{name}-core = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
-%description libs-kde
-LibreOffice productivity suite - KDE Interface.
+%description libs-gtk-common
+Common files for LibreOffice GTK+ Interface.
-%description libs-kde -l pl.UTF-8
-Pakiet biurowy LibreOffice - Interfejs KDE.
+%description libs-gtk-common -l pl.UTF-8
+Pakiet wspólny dla interfejsów GTK+ dla LibreOffice.
-%package libs-gtk
-Summary: LibreOffice GTK+ Interface
-Summary(pl.UTF-8): Interfejs GTK+ dla LibreOffice
+%package libs-gtk2
+Summary: LibreOffice GTK+ 2 Interface
+Summary(pl.UTF-8): Interfejs GTK+ 2 dla LibreOffice
Group: X11/Libraries
Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-libs-gtk-common = %{version}-%{release}
+Obsoletes: libreoffice-libs-gtk < 6.2.3.1-2
Obsoletes: openoffice-i18n-en
Obsoletes: openoffice-i18n-en-gtk
Obsoletes: openoffice-libs-gtk
Obsoletes: openoffice.org-libs-gtk
-%description libs-gtk
-LibreOffice productivity suite - GTK+ Interface.
+%description libs-gtk2
+LibreOffice productivity suite - GTK+ 2 Interface.
+
+%description libs-gtk2 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs GTK+ 2.
+
+%package libs-gtk3
+Summary: LibreOffice GTK+ 3 Interface
+Summary(pl.UTF-8): Interfejs GTK+ 3 dla LibreOffice
+Group: X11/Libraries
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-libs-gtk-common = %{version}-%{release}
+
+%description libs-gtk3
+LibreOffice productivity suite - GTK+ 3 Interface.
-%description libs-gtk -l pl.UTF-8
-Pakiet biurowy LibreOffice - Interfejs GTK+.
+%description libs-gtk3 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs GTK+ 3.
+
+%package libs-qt5
+Summary: LibreOffice Qt5 Interface
+Summary(pl.UTF-8): Interfejs Qt5 dla LibreOffice
+Group: X11/Libraries
+Requires: %{name}-core = %{version}-%{release}
+
+%description libs-qt5
+LibreOffice productivity suite - Qt5 Interface.
+
+%description libs-qt5 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs Qt5.
%package core
Summary: Core modules for LibreOffice
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
dogri.
+%package i18n-dsb
+Summary: LibreOffice - interface in Lower Sorbian language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku dolnołużyckim
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+Obsoletes: openoffice.org-i18n-dsb
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-dsb
+This package provides resources containing menus and dialogs in
+Lower Sorbian language.
+
+%description i18n-dsb -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+dolnołużyckim.
+
%package i18n-dz
Summary: LibreOffice - interface in Dzongkha language
Summary(pl.UTF-8): Openoffice.org - interfejs w języku dżongkha
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
francuskim.
+%package i18n-fy
+Summary: LibreOffice - interface in Frisian language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku fryzyjskim
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+Obsoletes: openoffice-i18n-fy
+Obsoletes: openoffice-i18n-fy-gtk
+Obsoletes: openoffice.org-i18n-fy
+Obsoletes: openoffice.org-i18n-fy-gtk
+Obsoletes: openoffice.org-i18n-fy-kde
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-fy
+This package provides resources containing menus and dialogs in
+Frisian language.
+
+%description i18n-fy -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+fryzyjskim.
+
%package i18n-ga
Summary: LibreOffice - interface in Irish language
Summary(pl.UTF-8): LibreOffice - interfejs w języku irlandzkim
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
gruzińskim.
+%package i18n-kab
+Summary: LibreOffice - interface in Kabyle language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku kabylskim
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+Obsoletes: openoffice.org-i18n-kab
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-kab
+This package provides resources containing menus and dialogs in
+Kabyle language.
+
+%description i18n-kab -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+kabylskim.
+
%package i18n-kk
Summary: LibreOffice - interface in Kazakh language
Summary(pl.UTF-8): LibreOffice - interfejs w języku kazachskim
%prep
%setup -q -a1 -a2 -a3
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
for dir in *-%{version}; do
[ -f $dir/ChangeLog ] && mv $dir/ChangeLog ChangeLog-$dir
ln %{SOURCE25} ext_sources
ln %{SOURCE26} ext_sources
ln %{SOURCE27} ext_sources
+ln %{SOURCE28} ext_sources
:> src.downloaded
%build
--enable-report-builder \
--enable-scripting-beanshell \
--enable-scripting-javascript \
- --%{?with_kde4:en}%{!?with_kde4:dis}able-kde4 \
+ --%{?with_kde5:en}%{!?with_kde5:dis}able-kde5 \
+ --%{?with_qt5:en}%{!?with_qt5:dis}able-qt5 \
--with-lang=%{?with_i18n:ALL} \
%if %{with java}
--with-java \
%attr(755,root,root) %{_libdir}/%{name}/program/libcanvastoolslo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libchartcontrollerlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libchartcorelo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libchartopengllo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libcmdmaillo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libcollator_data.so
%attr(755,root,root) %{_libdir}/%{name}/program/libcomphelper.so
%attr(755,root,root) %{_libdir}/%{name}/program/libmsfilterlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libmsformslo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libmtfrendererlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libmysqllo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libmysql_jdbclo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libmysqlclo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libodbclo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libodfflatxmllo.so
%attr(755,root,root) %{_libdir}/%{name}/program/liboffacclo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libpdfiumlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libpricinglo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libprotocolhandlerlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/librecentfile.so
%attr(755,root,root) %{_libdir}/%{name}/program/libsaxlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libsblo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libscnlo.so
%{_libdir}/%{name}/program/opengl/areaHashCRC64TFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/areaScaleFastFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/areaScaleFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/backgroundFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/backgroundVertexShader.glsl
%{_libdir}/%{name}/program/opengl/basicFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/basicVertexShader.glsl
%{_libdir}/%{name}/program/opengl/blendedTextureFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/combinedTextureFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/combinedTextureVertexShader.glsl
%{_libdir}/%{name}/program/opengl/combinedVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/commonFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/commonVertexShader.glsl
%{_libdir}/%{name}/program/opengl/convolutionFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/debugFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/debugVertexShader.glsl
%{_libdir}/%{name}/program/opengl/diffTextureFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/dissolveFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/dumbVertexShader.glsl
%{_libdir}/%{name}/program/opengl/maskedTextureFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/maskedTextureVertexShader.glsl
%{_libdir}/%{name}/program/opengl/maskFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/pickingFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/pickingVertexShader.glsl
%{_libdir}/%{name}/program/opengl/radialGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/radialMultiColorGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/radialTwoColorGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/rectangularTwoColorGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/reflectionFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/reflectionVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/renderTextureFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/renderTextureVertexShader.glsl
%{_libdir}/%{name}/program/opengl/replaceColorFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/rippleFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/screenTextFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/screenTextVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/shape3DFragmentShaderBatch.glsl
-%{_libdir}/%{name}/program/opengl/shape3DFragmentShaderBatchScroll.glsl
-%{_libdir}/%{name}/program/opengl/shape3DFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/shape3DFragmentShaderV300.glsl
-%{_libdir}/%{name}/program/opengl/shape3DVertexShaderBatch.glsl
-%{_libdir}/%{name}/program/opengl/shape3DVertexShaderBatchScroll.glsl
-%{_libdir}/%{name}/program/opengl/shape3DVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/shape3DVertexShaderV300.glsl
%{_libdir}/%{name}/program/opengl/solidFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/staticFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/symbolFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/symbolVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/textFragmentShaderBatch.glsl
-%{_libdir}/%{name}/program/opengl/textFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/textureFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/textureVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/textVertexShaderBatch.glsl
-%{_libdir}/%{name}/program/opengl/textVertexShader.glsl
%{_libdir}/%{name}/program/opengl/transformedTextureVertexShader.glsl
%{_libdir}/%{name}/program/opengl/vortexFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/vortexGeometryShader.glsl
%dir %{_datadir}/%{name}/share/config
%{_datadir}/%{name}/share/config/images_breeze.zip
%{_datadir}/%{name}/share/config/images_breeze_dark.zip
+%{_datadir}/%{name}/share/config/images_breeze_svg.zip
%{_datadir}/%{name}/share/config/images_colibre.zip
+%{_datadir}/%{name}/share/config/images_colibre_svg.zip
%{_datadir}/%{name}/share/config/images_elementary.zip
+%{_datadir}/%{name}/share/config/images_elementary_svg.zip
%{_datadir}/%{name}/share/config/images_karasa_jaga.zip
%{_datadir}/%{name}/share/config/images_sifr.zip
%{_datadir}/%{name}/share/config/images_sifr_dark.zip
+%{_datadir}/%{name}/share/config/images_sifr_svg.zip
%{_datadir}/%{name}/share/config/images_tango.zip
%dir %{_datadir}/%{name}/share/config/soffice.cfg
%dir %{_datadir}/%{name}/share/config/soffice.cfg/cui
%dir %{_datadir}/%{name}/share/registry/res
%{_datadir}/%{name}/share/registry/res/fcfg_langpack_en-US.xcd
+%dir %{_datadir}/%{name}/share/theme_definitions
+%dir %{_datadir}/%{name}/share/theme_definitions/ios
+%{_datadir}/%{name}/share/theme_definitions/ios/*.svg
+%{_datadir}/%{name}/share/theme_definitions/ios/*.xml
+
+%dir %{_datadir}/%{name}/share/tipoftheday
+%{_datadir}/%{name}/share/tipoftheday/tipoftheday*.png
+
%dir %{_datadir}/%{name}/share/template
%dir %{_datadir}/%{name}/share/template/common
%{_datadir}/%{name}/share/template/common/internal
%{_datadir}/%{name}/share/template/common/wizard/styles
%dir %{_datadir}/%{name}/share/wizards
+%{_datadir}/%{name}/share/wizards/resources_en_US.properties
%dir %{_datadir}/%{name}/share/wordbook
%{_datadir}/%{name}/share/wordbook/en-GB.dic
%{_datadir}/%{name}/share/wordbook/en-US.dic
+%{_datadir}/%{name}/share/wordbook/hu_AkH11.dic
%{_datadir}/%{name}/share/wordbook/sl.dic
%{_datadir}/%{name}/share/wordbook/technical.dic
%{_iconsdir}/hicolor/*/apps/libreoffice-main.svg
%{_iconsdir}/hicolor/*/apps/libreoffice-chart.png
%{_iconsdir}/hicolor/*/apps/libreoffice-chart.svg
+%{_iconsdir}/hicolor/*/apps/libreoffice-basic.svg
+%{_iconsdir}/hicolor/*/apps/libreoffice-extension.svg
%{_desktopdir}/libreoffice-startcenter.desktop
%{_iconsdir}/hicolor/*/apps/libreoffice-startcenter.png
%{_iconsdir}/hicolor/*/apps/libreoffice-startcenter.svg
+%{_datadir}/mime-info/libreoffice.keys
+%{_datadir}/mime-info/libreoffice.mime
+
%{_mandir}/man1/loffice.1
%{_mandir}/man1/lofromtemplate.1
%{_mandir}/man1/libreoffice.1*
%{_mandir}/man1/unopkg.1*
-%if %{with kde4}
-%files libs-kde
+%if %{with kde5}
+%files libs-kde5
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_kde4*.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libkde4be1lo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_kde5*.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libkde5be1lo.so
%endif
%if %{with gtk} || %{with gtk3}
-%files libs-gtk
+%files libs-gtk-common
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtk*.so
%{_datadir}/%{name}/share/registry/gnome.xcd
%endif
+%if %{with gtk}
+%files libs-gtk2
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtklo.so
+%endif
+
+%if %{with gtk3}
+%files libs-gtk3
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/program/liblibreofficekitgtk.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtk3lo.so
+%{_libdir}/girepository-1.0/LOKDocView-0.1.typelib
+# devel stuff?
+#%{_datadir}/gir-1.0/LOKDocView-0.1.gir
+%endif
+
+%if %{with qt5}
+%files libs-qt5
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_qt5*.so
+%endif
+
%files base
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/lobase
%attr(755,root,root) %{_bindir}/localc
%attr(755,root,root) %{_bindir}/oocalc
%attr(755,root,root) %{_libdir}/%{name}/program/scalc
+%attr(755,root,root) %{_libdir}/%{name}/program/opencltest
%{_mandir}/man1/localc.1
%{_desktopdir}/libreoffice-calc.desktop
%{_iconsdir}/hicolor/*/apps/libreoffice-calc.png
%files i18n-dgo -f dgo.lang
%defattr(644,root,root,755)
+%files i18n-dsb -f dsb.lang
+%defattr(644,root,root,755)
+
%files i18n-dz -f dz.lang
%defattr(644,root,root,755)
%files i18n-fr -f fr.lang
%defattr(644,root,root,755)
+%files i18n-fy -f fy.lang
+%defattr(644,root,root,755)
+
%files i18n-ga -f ga.lang
%defattr(644,root,root,755)
%files i18n-ka -f ka.lang
%defattr(644,root,root,755)
+%files i18n-kab -f kab.lang
+%defattr(644,root,root,755)
+
%files i18n-kk -f kk.lang
%defattr(644,root,root,755)