]> git.pld-linux.org Git - packages/libreoffice.git/blobdiff - libreoffice.spec
add aarch64 to list of supported archs
[packages/libreoffice.git] / libreoffice.spec
index f4f45951087a3d4dabe329c8254279acb7f0fa02..af1b445409bca901dbee8e83aae1d1e0de239e5b 100644 (file)
@@ -1,7 +1,7 @@
 # TODO:
 # - fix configure arguments (+ compare with FC)
 # - create CoinMP library package for PLD (https://projects.coin-or.org/CoinMP)
-# - new language packs: ca@valencia, fy, kab, kmr@latin, sr@latin
+# - 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:
@@ -12,7 +12,6 @@
 #
 # 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_without gtk3            # GTK3 L&F
@@ -38,7 +37,7 @@
 %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
 
 %define                with_qt5        1
 %endif
 
-%define                major_ver               6.2.3
+%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}.1
-Release:       1
+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: 317b0a49e4530e3024ef2387d1546052
+# Source0-md5: d24bd7e5116743196c67e7df4b18458f
 Source1:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-dictionaries-%{version}.tar.xz
-# Source1-md5: bc0df852dd2d8070183a9b1cc6eb5533
+# Source1-md5: 81df66dd522a2c56a4f11b24247fb114
 Source2:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-help-%{version}.tar.xz
-# Source2-md5: f0c202f99e2ce5da1b50cf272b328784
+# Source2-md5: 483f654eaa94f17c462494029d42334a
 Source3:       http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-translations-%{version}.tar.xz
-# Source3-md5: d0ce31efd93d4f8e0d292cfc58c98c80
+# 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-3550.tar.bz2
-# Source20-md5:        f30752217c6eb4f895a03c4f3c8c835b
+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
@@ -90,10 +89,14 @@ Source26:   https://dev-www.libreoffice.org/extern/odfvalidator-1.2.0-incubating-S
 # 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/49a64f3bcf20a7909ba2751349231d6652ded9cd2840e961b5164d09de3ffa63-opens___.ttf
-# Source28-md5:        8a1bf9fdd3ccd488d781956f73f2208d
+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
@@ -159,7 +162,7 @@ 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.14.0
+BuildRequires: liborcus-devel >= 0.15.0
 BuildRequires: libpagemaker-devel >= 0.0.2
 BuildRequires: libstaroffice-devel
 BuildRequires: libvisio-devel
@@ -169,10 +172,6 @@ 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}
@@ -197,7 +196,7 @@ 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.4.1
+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}
@@ -217,9 +216,10 @@ 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
+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
@@ -257,6 +257,7 @@ 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
@@ -279,7 +280,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
@@ -323,28 +324,13 @@ Do zalet LibreOffice można zaliczyć:
  - kontrola CVS,
  - infrastruktura służąca do komunikowania się w ramach projektu.
 
-%package libs-kde4
-Summary:       LibreOffice KDE 4 Interface
-Summary(pl.UTF-8):     Interfejs KDE 4 dla LibreOffice
-Group:         X11/Libraries
-Requires:      %{name}-core = %{version}-%{release}
-Obsoletes:     libreoffice-libs-kde < 6.2.3.1-2
-Obsoletes:     openoffice-i18n-en
-Obsoletes:     openoffice-i18n-en-kde
-Obsoletes:     openoffice-libs-kde
-Obsoletes:     openoffice.org-libs-kde
-
-%description libs-kde4
-LibreOffice productivity suite - KDE 4 Interface.
-
-%description libs-kde4 -l pl.UTF-8
-Pakiet biurowy LibreOffice - Interfejs KDE 4.
-
 %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.
@@ -1160,6 +1146,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
@@ -1384,6 +1388,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
@@ -1687,6 +1713,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
@@ -2983,6 +3027,10 @@ dialogs.
 %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
@@ -3083,7 +3131,6 @@ 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} \
@@ -3550,7 +3597,6 @@ fi
 %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
@@ -3767,6 +3813,7 @@ fi
 %{_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
@@ -3857,6 +3904,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
@@ -3939,13 +3994,6 @@ fi
 %{_mandir}/man1/libreoffice.1*
 %{_mandir}/man1/unopkg.1*
 
-%if %{with kde4}
-%files libs-kde4
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_kde4*.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libkde4be1lo.so
-%endif
-
 %if %{with kde5}
 %files libs-kde5
 %defattr(644,root,root,755)
@@ -3968,7 +4016,11 @@ fi
 %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}
@@ -4021,6 +4073,7 @@ fi
 %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
@@ -4376,6 +4429,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)
 
@@ -4409,6 +4465,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)
 
@@ -4454,6 +4513,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.046536 seconds and 4 git commands to generate.