]> git.pld-linux.org Git - packages/libreoffice.git/blobdiff - libreoffice.spec
up to 6.4.5.2
[packages/libreoffice.git] / libreoffice.spec
index 87879584f8a112042108311e5bfb3ec100ec0aae..d6320fcb5700a2837fb44ed3c9547a89d9a53257 100644 (file)
@@ -1,6 +1,8 @@
 # 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, szl
+# - create qrcodegen library package for PLD
 #
 # NOTE - FIXME FOR 3.4.3 !!!:
 #      - normal build (i686) requires about 27 GB of disk space:
@@ -11,9 +13,9 @@
 #
 # Conditional build:
 %bcond_without java            # without Java support (disables help support)
-%bcond_without kde4            # KDE4 L&F packages
-%bcond_without gtk             # GTK2 L&F
-%bcond_with    gtk3            # GTK3 L&F (experimental)
+%bcond_without kde5            # KDE5 L&F packages
+%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)
@@ -22,6 +24,8 @@
 %bcond_with    msaccess        # with ms access import pieces
 %bcond_without parallelbuild   # use greater number of jobs to speed up build (default: 1)
 %bcond_with     tests
+%bcond_without firebird        # without Firebird-SDBC driver
+%bcond_without pgsql           # without PostgreSQL-SDBC driver
 
 %bcond_without system_beanshell
 %bcond_without system_db               # without system (i.e. with internal) Berkeley DB
 %bcond_with    system_hsqldb
 %bcond_with    system_agg              # with system agg
 %bcond_without system_hunspell
-%bcond_without system_myspell
+%bcond_with    system_qrcodegen        # use system qrcodegen library (not in PLD yet)
 
 # 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.0.0
+%if %{with kde5}
+%define                with_qt5        1
+%endif
+
+%define                major_ver               6.4.5
+%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:       0.1
+Version:       %{major_ver}.2
+Release:       1
 License:       GPL/LGPL
 Group:         X11/Applications
 Source0:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-%{version}.tar.xz
-# Source0-md5: 36e417cf7f0c2a0a3b6af6d4435b687a
+# Source0-md5: 7305ed1b5774483ca9ca0d6906d8049a
 Source1:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-dictionaries-%{version}.tar.xz
-# Source1-md5: 68e0f223d4b82988a1a849382e4d7bcb
+# Source1-md5: f4a3d9dcca02542ec149057d869c8c64
 Source2:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-help-%{version}.tar.xz
-# Source2-md5: 021bb9c6f06780b78429bb6240d7c7f7
+# Source2-md5: 19da65b2748531e85740163fc9695f00
 Source3:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-translations-%{version}.tar.xz
-# Source3-md5: 9dcdf0eb7c072dfe05e68c6f21baeaa8
+# Source3-md5: 58771e45d87413f96a33e35d821a8122
 
 
 # make (download|fetch) DO_FETCH_TARBALLS=1 WGET=wget
 # but not sure if all are needed?
-Source20:      http://dev-www.libreoffice.org/src/pdfium-3235.tar.bz2
-# Source20-md5:        a7c08f44c6e2e1d7a71f7073cb9d5786
+Source20:      http://dev-www.libreoffice.org/src/pdfium-3963.tar.bz2
+# Source20-md5:        7688ac08e1292cf7e0d027f506f45c49
 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
@@ -78,16 +87,22 @@ Source24:   http://dev-www.libreoffice.org/src/0168229624cfac409e766913506961a8-uc
 # 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
+# Source27-md5:        a7983f859eafb2677d7ff386a023bc40
+Source28:      https://dev-www.libreoffice.org/extern/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
+# Source28-md5:        866ba2ca4188f1610b121dfd514a17e8
+Source29:      https://dev-www.libreoffice.org/src/QR-Code-generator-1.4.0.tar.gz
+# Source29-md5:        0e81d36829be287ff27ae802e0587463
+Source30:      https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
+# Source30-md5:        8249374c274932a21846fa7629c2aa9b
 
 Patch0:                disable-failing-test.patch
 
 URL:           http://www.documentfoundation.org/
 BuildRequires: /usr/bin/getopt
-BuildRequires: Firebird-devel >= 3.0.0.0
+%{?with_firebird:BuildRequires:        Firebird-devel >= 3.0.0.0}
 BuildRequires: GConf2-devel
 BuildRequires: GLM
 BuildRequires: ImageMagick
@@ -118,12 +133,11 @@ BuildRequires:    glew-devel >= 1.10.0
 BuildRequires: glib2-devel >= 2.13.5
 BuildRequires: gperf
 BuildRequires: gpgme-c++-devel
-BuildRequires: graphite2-devel
-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}
+BuildRequires: graphite2-devel >= 0.9.3
+BuildRequires: gstreamer-devel >= 1.0
+BuildRequires: gstreamer-plugins-base-devel >= 1.0
 %{?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}
@@ -147,8 +161,9 @@ BuildRequires:      libfreehand-devel >= 0.1.0
 BuildRequires: liblangtag-devel
 BuildRequires: libmspub-devel
 BuildRequires: libmwaw-devel >= 0.3.0
+BuildRequires: libnumbertext-devel >= 1.0.0
 BuildRequires: libodfgen-devel >= 0.1.1
-BuildRequires: liborcus-devel >= 0.13.0
+BuildRequires: liborcus-devel >= 0.15.0
 BuildRequires: libpagemaker-devel >= 0.0.2
 BuildRequires: libstaroffice-devel
 BuildRequires: libvisio-devel
@@ -157,21 +172,14 @@ BuildRequires:    libwpg-devel >= 0.3.0
 BuildRequires: libwps-devel >= 0.3.0
 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}
-%{?with_system_xalan:BuildRequires:    java-xalan}
 BuildRequires: libart_lgpl-devel
-BuildRequires: libbonobo-devel >= 2.0
 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}
@@ -186,10 +194,10 @@ BuildRequires:    libxml2-devel >= 2.0
 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: mysql-devel
 BuildRequires: mythes-devel
 BuildRequires: nas-devel >= 1.7-1
 BuildRequires: neon-devel
@@ -204,11 +212,11 @@ BuildRequires:    perl-devel
 BuildRequires: pkgconfig
 BuildRequires: poppler-cpp-devel >= 0.8.0
 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
+%{?with_pgsql:BuildRequires:   postgresql-devel}
+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
@@ -219,8 +227,7 @@ BuildRequires:      sed >= 4.0
 BuildRequires: startup-notification-devel >= 0.5
 BuildRequires: unixODBC-devel >= 2.2.12-2
 BuildRequires: unzip
-BuildRequires: vigra-devel
-BuildRequires: xmlsec1-nss-devel >= 1.2.24
+BuildRequires: xmlsec1-nss-devel >= 1.2.28
 BuildRequires: xorg-font-font-adobe-utopia-type1
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXaw-devel
@@ -233,6 +240,23 @@ BuildRequires:     ant-apache-regexp
 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}
@@ -243,7 +267,7 @@ Requires:   %{name}-graphicfilter = %{version}-%{release}
 Requires:      %{name}-impress = %{version}-%{release}
 Requires:      %{name}-math = %{version}-%{release}
 Requires:      %{name}-pdfimport = %{version}-%{release}
-Requires:      %{name}-postgresql = %{version}-%{release}
+%{?with_pgsql:Requires:        %{name}-postgresql = %{version}-%{release}}
 Requires:      %{name}-pyuno = %{version}-%{release}
 Requires:      %{name}-web = %{version}-%{release}
 Requires:      %{name}-wiki-publisher = %{version}-%{release}
@@ -252,7 +276,7 @@ Requires:   %{name}-xsltfilter = %{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
@@ -296,37 +320,45 @@ Do zalet LibreOffice można zaliczyć:
  - 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:     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-gtk3
+Summary:       LibreOffice GTK+ 3 Interface
+Summary(pl.UTF-8):     Interfejs GTK+ 3 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-gtk-common < 6.4.5.2-1
+Obsoletes:     libreoffice-libs-gtk2 < 6.4.5.2-1
 
-%description libs-kde
-LibreOffice productivity suite - KDE Interface.
+%description libs-gtk3
+LibreOffice productivity suite - GTK+ 3 Interface.
 
-%description libs-kde -l pl.UTF-8
-Pakiet biurowy LibreOffice - Interfejs KDE.
+%description libs-gtk3 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs GTK+ 3.
 
-%package libs-gtk
-Summary:       LibreOffice GTK+ Interface
-Summary(pl.UTF-8):     Interfejs GTK+ dla LibreOffice
+%package libs-qt5
+Summary:       LibreOffice Qt5 Interface
+Summary(pl.UTF-8):     Interfejs Qt5 dla LibreOffice
 Group:         X11/Libraries
 Requires:      %{name}-core = %{version}-%{release}
-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-qt5
+LibreOffice productivity suite - Qt5 Interface.
 
-%description libs-gtk -l pl.UTF-8
-Pakiet biurowy LibreOffice - Interfejs GTK+.
+%description libs-qt5 -l pl.UTF-8
+Pakiet biurowy LibreOffice - Interfejs Qt5.
 
 %package core
 Summary:       Core modules for LibreOffice
@@ -1078,6 +1110,24 @@ language.
 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
@@ -1302,6 +1352,28 @@ language.
 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
@@ -1464,6 +1536,28 @@ Croatian language.
 Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
 chorwackim.
 
+%package i18n-hsb
+Summary:       LibreOffice - interface in Upper Sorbian language
+Summary(pl.UTF-8):     LibreOffice - interfejs w języku górnołużyckim
+Group:         I18n
+Requires:      %{name}-core = %{version}-%{release}
+Obsoletes:     openoffice-i18n-hsb
+Obsoletes:     openoffice-i18n-hsb-gtk
+Obsoletes:     openoffice.org-i18n-hsb
+Obsoletes:     openoffice.org-i18n-hsb-gtk
+Obsoletes:     openoffice.org-i18n-hsb-kde
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
+
+%description i18n-hsb
+This package provides resources containing menus and dialogs in
+Upper Sorbian language.
+
+%description i18n-hsb -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+górnołużycki.
+
 %package i18n-hu
 Summary:       LibreOffice - interface in Hungarian language
 Summary(pl.UTF-8):     LibreOffice - interfejs w języku węgierskim
@@ -1583,6 +1677,24 @@ Georgian language.
 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
@@ -2895,6 +3007,9 @@ ln %{SOURCE24} ext_sources
 ln %{SOURCE25} ext_sources
 ln %{SOURCE26} ext_sources
 ln %{SOURCE27} ext_sources
+ln %{SOURCE28} ext_sources
+ln %{SOURCE29} ext_sources
+ln %{SOURCE30} ext_sources
 :> src.downloaded
 
 %build
@@ -2966,6 +3081,7 @@ export PATH=$PATH:%{_libdir}/interbase/bin
        %{?with_system_beanshell:--with-system-beanshell} \
        --with%{!?with_system_hsqldb:out}-system-hsqldb \
        %{?with_system_hunspell:--with-system-hunspell --without-myspell-dicts} \
+       %{?with_system_qrcodegen:--with%{!?with_system_qrcodegen:out}-system-qrcodegen}} \
        %{?with_system_libhnj:--with-system-altlinuxhyphen} \
        %{?with_msaccess:--with%{!?with_system_mdbtools:out}-system-mdbtools}} \
        --enable-python=system \
@@ -2978,7 +3094,8 @@ export PATH=$PATH:%{_libdir}/interbase/bin
        --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 \
@@ -2991,7 +3108,6 @@ export PATH=$PATH:%{_libdir}/interbase/bin
        --with-x \
        --without-fonts \
        --disable-epm \
-       --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \
        --%{?with_gtk3:en}%{!?with_gtk3:dis}able-gtk3 \
        --enable-dbus \
        --with-system-openldap \
@@ -3007,6 +3123,9 @@ export PATH=$PATH:%{_libdir}/interbase/bin
        --enable-split-app-modules \
        --enable-split-opt-features \
        --enable-cups \
+       %{__enable_disable firebird firebird-sdbc} \
+       %{__enable_disable pgsql postgresql-sdbc} \
+       --enable-gstreamer-1-0 \
        --disable-fetch-external
 
 # this limits processing some files but doesn't limit parallel build
@@ -3163,6 +3282,13 @@ find_lang() {
                # UI translations
                grep "/soffice.cfg/[^/]*/ui/res/${lang}.zip" ${lfile} >> ${langfn}.lang || :
                grep "/soffice.cfg/modules/[^/]*/ui/res/${lang}.zip" ${lfile} >> ${langfn}.lang || :
+               # Translations
+               if [ -d "$RPM_BUILD_ROOT%{_datadir}/%{name}/program/resource/${langfn}" ]; then
+                       echo "%lang(${langfn}) %{_datadir}/%{name}/program/resource/${langfn}" >> ${langfn}.lang
+               fi
+               if [ -f "$RPM_BUILD_ROOT%{_datadir}/%{name}/share/wizards/resources_${langfn}.properties" ]; then
+                       echo "%lang(${langfn}) %{_datadir}/%{name}/share/wizards/resources_${langfn}.properties" >> ${langfn}.lang
+               fi
 
                for e in wiki-publisher nlpsolver ; do
                        for f in $RPM_BUILD_ROOT%{_datadir}/%{name}/share/extensions/$e/description-${lang}.txt \
@@ -3349,7 +3475,6 @@ fi
 %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
@@ -3361,7 +3486,6 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbalo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbaselo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbaxmllo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libdbmmlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbpool2.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbtoolslo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbulo.so
@@ -3377,11 +3501,12 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/libeditenglo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libembobj.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libemboleobj.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libemfiolo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libevtattlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libexpwraplo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libfilelo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libfilterconfiglo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libfirebird_sdbclo.so
+%{?with_firebird:%attr(755,root,root) %{_libdir}/%{name}/program/libfirebird_sdbclo.so}
 %attr(755,root,root) %{_libdir}/%{name}/program/libflatlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libforlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libforuilo.so
@@ -3422,7 +3547,8 @@ fi
 %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
@@ -3432,9 +3558,9 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/libpasswordcontainerlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libpcrlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libpdffilterlo.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
@@ -3493,6 +3619,7 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/libvcllo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_genlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libwpftdrawlo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libwriterlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libwriterperfectlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxmlfalo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxmlfdlo.so
@@ -3500,7 +3627,6 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/libxmlsecurity.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxoflo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxolo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libxsec_fw.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxsec_xmlsec.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxsltdlglo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libxsltfilterlo.so
@@ -3509,7 +3635,6 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/program/pagein*
 %attr(755,root,root) %{_libdir}/%{name}/program/senddoc
 %attr(755,root,root) %{_libdir}/%{name}/program/uri-encode
-%attr(755,root,root) %{_libdir}/%{name}/program/xid-fullscreen-on-all-monitors
 
 %if %{with java}
 %attr(755,root,root) %{_libdir}/%{name}/program/libhsqldb.so
@@ -3530,6 +3655,8 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_libdir}/%{name}/program/lounorc
 %{_libdir}/%{name}/program/versionrc
 
+%{_libdir}/%{name}/program/intro-highres.png
+
 %{_libdir}/%{name}/program/services.rdb
 %dir %{_libdir}/%{name}/program/services
 %{_libdir}/%{name}/program/services/services.rdb
@@ -3569,8 +3696,6 @@ fi
 %{_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
@@ -3579,11 +3704,7 @@ fi
 %{_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
@@ -3605,8 +3726,6 @@ fi
 %{_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
@@ -3614,30 +3733,12 @@ fi
 %{_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
@@ -3667,9 +3768,18 @@ fi
 %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_galaxy.zip
-%{_datadir}/%{name}/share/config/images_hicontrast.zip
+%{_datadir}/%{name}/share/config/images_breeze_dark_svg.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_karasa_jaga_svg.zip
 %{_datadir}/%{name}/share/config/images_sifr.zip
+%{_datadir}/%{name}/share/config/images_sifr_dark.zip
+%{_datadir}/%{name}/share/config/images_sifr_dark_svg.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
@@ -3678,6 +3788,8 @@ fi
 %{_datadir}/%{name}/share/config/soffice.cfg/dbaccess/ui
 %dir %{_datadir}/%{name}/share/config/soffice.cfg/desktop
 %{_datadir}/%{name}/share/config/soffice.cfg/desktop/ui
+%dir %{_datadir}/%{name}/share/config/soffice.cfg/editeng
+%{_datadir}/%{name}/share/config/soffice.cfg/editeng/ui
 %dir %{_datadir}/%{name}/share/config/soffice.cfg/filter
 %{_datadir}/%{name}/share/config/soffice.cfg/filter/ui
 %dir %{_datadir}/%{name}/share/config/soffice.cfg/formula/
@@ -3758,6 +3870,14 @@ fi
 %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
@@ -3775,9 +3895,13 @@ fi
 %{_datadir}/%{name}/share/template/common/wizard/report
 %{_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
 
@@ -3812,35 +3936,51 @@ fi
 %dir %{_datadir}/%{name}/readmes
 %{_datadir}/%{name}/readmes/README_en-US
 
+%{_datadir}/%{name}/share/libreofficekit
+
 %{_datadir}/mime/packages/libreoffice.xml
 %{_iconsdir}/hicolor/*/mimetypes/libreoffice-*.png
 %{_iconsdir}/hicolor/*/mimetypes/libreoffice-*.svg
 %{_iconsdir}/hicolor/*/apps/libreoffice-main.png
 %{_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
-%{_desktopdir}/libreoffice-qstart.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_kf5*.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libkf5be1lo.so
 %endif
 
-%if %{with gtk} || %{with gtk3}
-%files libs-gtk
+%if %{with gtk3}
+%files libs-gtk3
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/program/libqstart_gtklo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtk*.so
+%attr(755,root,root) %{_libdir}/%{name}/program/liblibreofficekitgtk.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtk3lo.so
 %{_datadir}/%{name}/share/registry/gnome.xcd
+# 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
@@ -3853,10 +3993,13 @@ fi
 %{_iconsdir}/hicolor/*/apps/libreoffice-base.png
 %{_iconsdir}/hicolor/*/apps/libreoffice-base.svg
 %attr(755,root,root) %{_libdir}/%{name}/program/libabplo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libdbahsqllo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libdbplo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libnumbertextlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/librptlo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/librptuilo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/librptxmllo.so
+%{_libdir}/%{name}/program/access2base.py
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbapp/menubar
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbapp/popupmenu
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbapp/statusbar
@@ -3868,6 +4011,7 @@ fi
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbquery/toolbar
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbrelation
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbreport/menubar
+%{_datadir}/%{name}/share/config/soffice.cfg/modules/dbreport/popupmenu
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbreport/statusbar
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbreport/toolbar
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbreport/ui
@@ -3877,12 +4021,14 @@ fi
 %{_datadir}/%{name}/share/config/soffice.cfg/modules/dbtdata/toolbar
 %{_datadir}/%{name}/share/registry/base.xcd
 %{_datadir}/appdata/libreoffice-base.appdata.xml
+%{_datadir}/appdata/org.libreoffice.kde.metainfo.xml
 
 %files calc
 %defattr(644,root,root,755)
 %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
@@ -4024,6 +4170,7 @@ fi
 %{_datadir}/%{name}/share/xslt/export/xhtml
 %{_desktopdir}/libreoffice-xsltfilter.desktop
 
+%if %{with pgsql}
 %files postgresql
 %defattr(644,root,root,755)
 %{_libdir}/%{name}/program/postgresql-sdbc.ini
@@ -4031,6 +4178,7 @@ fi
 %{_datadir}/%{name}/share/registry/postgresql.xcd
 %attr(755,root,root) %{_libdir}/%{name}/program/libpostgresql-sdbclo.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libpostgresql-sdbc-impllo.so
+%endif
 
 %files ure
 %defattr(644,root,root,755)
@@ -4117,6 +4265,7 @@ fi
 %{_libdir}/%{name}/program/wizards/agenda/*.py
 %dir %{_libdir}/%{name}/program/wizards/common
 %{_libdir}/%{name}/program/wizards/common/*.py
+%{_libdir}/%{name}/program/wizards/common/strings.hrc
 %dir %{_libdir}/%{name}/program/wizards/document
 %{_libdir}/%{name}/program/wizards/document/*.py
 %dir %{_libdir}/%{name}/program/wizards/fax
@@ -4237,6 +4386,9 @@ fi
 %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)
 
@@ -4270,6 +4422,9 @@ fi
 %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)
 
@@ -4294,6 +4449,9 @@ fi
 %files i18n-hr -f hr.lang
 %defattr(644,root,root,755)
 
+%files i18n-hsb -f hsb.lang
+%defattr(644,root,root,755)
+
 %files i18n-hu -f hu.lang
 %defattr(644,root,root,755)
 
@@ -4312,6 +4470,9 @@ fi
 %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)
 
This page took 0.076522 seconds and 4 git commands to generate.