%undefine with_system_hsqldb
%endif
-%define major_ver 5.0.2
+%define major_ver 5.1.2
Summary: LibreOffice - powerful office suite
Summary(pl.UTF-8): LibreOffice - potężny pakiet biurowy
Name: libreoffice
Version: %{major_ver}.1
-Release: 7
+Release: 2
License: GPL/LGPL
Group: X11/Applications
Source0: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-%{version}.tar.xz
-# Source0-md5: 1c8e92d9d7cb30ba0ec68c780ef61178
+# Source0-md5: 81f5f045fc82f9704e3d12479cd66139
Source1: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-dictionaries-%{version}.tar.xz
-# Source1-md5: faec52fd3cd74fc5068bda35287cdbd4
+# Source1-md5: 92338f3617af3d810b79540fe625071f
Source2: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-help-%{version}.tar.xz
-# Source2-md5: 34208f0803ece06bf1600076f7d8000d
+# Source2-md5: f66f2ec791f3d985c6b890bac84652ae
Source3: http://download.documentfoundation.org/libreoffice/src/%{major_ver}/%{name}-translations-%{version}.tar.xz
-# Source3-md5: 1842bb569fda247920e7a5c46e8a5a20
+# Source3-md5: f61491559c3c1a2a442272a6dd84f2c7
# make fetch DO_FETCH_TARBALLS=1 WGET=wget
# Source28-md5: 4ca8a6ef0afeefc864e9ef21b9f14bd6
Patch0: disable-failing-test.patch
-Patch1: liborcus-0.9.patch
+Patch1: mdds-1.0.patch
Patch2: boost-1.59.patch
URL: http://www.documentfoundation.org/
BuildRequires: /usr/bin/getopt
BuildRequires: java-servletapi
BuildRequires: libabw-devel >= 0.1.0
BuildRequires: libe-book-devel >= 0.0.2
-BuildRequires: libetonyek-devel >= 0.1.1
+BuildRequires: libetonyek-devel >= 0.1.4
BuildRequires: libfreehand-devel >= 0.1.0
BuildRequires: liblangtag-devel
BuildRequires: libmspub-devel
BuildRequires: libxslt-devel
BuildRequires: libxslt-progs
%{?with_access:%{?with_system_mdbtools:BuildRequires: mdbtools-devel >= 0.6}}
-BuildRequires: mdds-devel >= 0.12.0
+BuildRequires: mdds-devel >= 1.0
%{?with_mono:BuildRequires: mono-csharp >= 1.2.3}
%{?with_mono:BuildRequires: mono-static >= 1.2.3}
%{?with_system_myspell:BuildRequires: myspell-devel}
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
gudźarati.
+%package i18n-gug
+Summary: LibreOffice - interface in Paraguayan Gujarati language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku paragwajskim gudźarati
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-gug
+This package provides resources containing menus and dialogs in
+Paraguayan Gujarati language.
+
+%description i18n-gug -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+paragwajskim gudźarati.
+
%package i18n-he
Summary: LibreOffice - interface in Hebrew language
Summary(pl.UTF-8): LibreOffice - interfejs w języku hebrajskim
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
khmerskim.
+%package i18n-kmr-Latn
+Summary: LibreOffice - interface in Kurdisk language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku kurdyjskim
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-kmr-Latn
+This package provides resources containing menus and dialogs in
+Kurdish language.
+
+%description i18n-km -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+kurdyjskim.
+
%package i18n-kn_IN
Summary: LibreOffice - interface in Kannada language
Summary(pl.UTF-8): LibreOffice - interfejs w języku kannara
Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
serbskim.
+%package i18n-sr-Latn
+Summary: LibreOffice - interface in Serbian language
+Summary(pl.UTF-8): LibreOffice - interfejs w języku serbskim
+Group: I18n
+Requires: %{name}-core = %{version}-%{release}
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description i18n-sr-Latn
+This package provides resources containing menus and dialogs in
+Serbian language.
+
+%description i18n-sr-Latn -l pl.UTF-8
+Ten pakiet dostarcza zasoby zawierające menu i okna dialogowe w języku
+serbskim.
+
%package i18n-ss
Summary: LibreOffice - interface in Swati language
Summary(pl.UTF-8): LibreOffice - interfejs w języku suazi (siswati)
%{__sed} -i -e '/.*\/help\/.*/d' $l.lang
done
-# Remove unsupported locale files to avoid confusion about unpackaged files
-#for l in kmr_Latn sr_Latn; do
-# for f in `cat file-lists/lang_${l}_list.txt` ; do
-# [ -f $RPM_BUILD_ROOT/$f ] || continue
-# %{__rm} -f $RPM_BUILD_ROOT/$f
-# done
-#done
-
%clean
rm -rf $RPM_BUILD_ROOT
%{_libdir}/%{name}/presets/basic
%dir %{_libdir}/%{name}/presets/config
%{_libdir}/%{name}/presets/config/autotbl.fmt
-%{_libdir}/%{name}/presets/config/*.so[bcdegh]
%{_libdir}/%{name}/presets/database
%{_libdir}/%{name}/presets/gallery
%attr(755,root,root) %{_libdir}/%{name}/program/libdlgprovlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libdrawinglayerlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libeditenglo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libegilo.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/libemelo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libepblo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libepglo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libepplo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libepslo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libeptlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/liberalo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libetilo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libevtattlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libexplo.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/libfwklo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libfwllo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libfwmlo.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libgielo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libguesslanglo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libhelplinkerlo.so
%{!?with_system_hunspell:%attr(755,root,root) %{_libdir}/%{name}/program/libhunspell.so}
%attr(755,root,root) %{_libdir}/%{name}/program/libi18npoollo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libi18nsearchlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libi18nutil.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libicdlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libicglo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libidxlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libimelo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libindex_data.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libipblo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libipdlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libipslo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libiptlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libipxlo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libiralo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libitglo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/libitilo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libldapbe2lo.so
%attr(755,root,root) %{_libdir}/%{name}/program/liblnglo.so
%attr(755,root,root) %{_libdir}/%{name}/program/liblnthlo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libucpftp1.so
%attr(755,root,root) %{_libdir}/%{name}/program/libucpgio1lo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libucphier1.so
+%attr(755,root,root) %{_libdir}/%{name}/program/libucpimagelo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libucppkg1.so
%attr(755,root,root) %{_libdir}/%{name}/program/libucptdoc1lo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libunopkgapp.so
%{_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/blendedTextureVertexShader.glsl
%{_libdir}/%{name}/program/opengl/dissolveFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/dumbVertexShader.glsl
%{_libdir}/%{name}/program/opengl/dummyVertexShader.glsl
+%{_libdir}/%{name}/program/opengl/fadeBlackFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/fadeFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/glitterFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/glitterVertexShader.glsl
+%{_libdir}/%{name}/program/opengl/greyscaleFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/honeycombFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/honeycombGeometryShader.glsl
+%{_libdir}/%{name}/program/opengl/honeycombVertexShader.glsl
+%{_libdir}/%{name}/program/opengl/invert50FragmentShader.glsl
%{_libdir}/%{name}/program/opengl/linearGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/linearMultiColorGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/linearTwoColorGradientFragmentShader.glsl
-%{_libdir}/%{name}/program/opengl/maskFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/lineFragmentShader.glsl
+%{_libdir}/%{name}/program/opengl/lineVertexShader.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/radialTwoColorGradientFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/rectangularMultiColorGradientFragmentShader.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/shape3DFragmentShader.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/shape3DVertexShader.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/textFragmentShader.glsl
%{_libdir}/%{name}/program/opengl/textFragmentShaderBatch.glsl
-%{_libdir}/%{name}/program/opengl/textVertexShader.glsl
-%{_libdir}/%{name}/program/opengl/textVertexShaderBatch.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
+%{_libdir}/%{name}/program/opengl/vortexVertexShader.glsl
# symlink
%{_libdir}/%{name}/program/resource
%{_datadir}/%{name}/share/filter
%{_datadir}/%{name}/share/fonts
%{_datadir}/%{name}/share/gallery
+%{_datadir}/%{name}/share/palette
%{_datadir}/%{name}/share/psprint
%dir %{_datadir}/%{name}/share/registry
%files libs-gtk
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/%{name}/program/gnome-open-url
-%attr(755,root,root) %{_libdir}/%{name}/program/libgconfbe1lo.so
-%attr(755,root,root) %{_libdir}/%{name}/program/liblibreofficekitgtk.so
%attr(755,root,root) %{_libdir}/%{name}/program/libqstart_gtklo.so
%attr(755,root,root) %{_libdir}/%{name}/program/libvclplug_gtk*.so
%{_datadir}/%{name}/share/registry/gnome.xcd
%{_datadir}/%{name}/share/config/soffice.cfg/modules/dbtdata/menubar
%{_datadir}/%{name}/share/config/soffice.cfg/modules/dbtdata/toolbar
%{_datadir}/%{name}/share/registry/base.xcd
+/usr/share/appdata/libreoffice-base.appdata.xml
%files calc
%defattr(644,root,root,755)
%{_datadir}/%{name}/share/config/soffice.cfg/modules/scalc/ui
%exclude %{_datadir}/%{name}/share/config/soffice.cfg/modules/scalc/ui/res/*
%{_datadir}/%{name}/share/registry/calc.xcd
+/usr/share/appdata/libreoffice-calc.appdata.xml
%files draw
%defattr(644,root,root,755)
%{_datadir}/%{name}/share/config/soffice.cfg/modules/sdraw/ui
%exclude %{_datadir}/%{name}/share/config/soffice.cfg/modules/sdraw/ui/res/*
%{_datadir}/%{name}/share/registry/draw.xcd
+/usr/share/appdata/libreoffice-draw.appdata.xml
%files emailmerge
%defattr(644,root,root,755)
%{_datadir}/%{name}/share/config/soffice.cfg/writerperfect
%exclude %{_datadir}/%{name}/share/config/soffice.cfg/modules/swriter/ui/res/*
%{_datadir}/%{name}/share/registry/writer.xcd
+/usr/share/appdata/libreoffice-writer.appdata.xml
%files impress
%defattr(644,root,root,755)
%exclude %{_datadir}/%{name}/share/config/soffice.cfg/modules/simpress/ui/res/*
%{_datadir}/%{name}/share/registry/impress.xcd
%{_datadir}/%{name}/share/registry/ogltrans.xcd
+/usr/share/appdata/libreoffice-impress.appdata.xml
%files math
%defattr(644,root,root,755)
%files i18n-gu -f gu.lang
%defattr(644,root,root,755)
+%files i18n-gug -f gug.lang
+%defattr(644,root,root,755)
+
%files i18n-he -f he.lang
%defattr(644,root,root,755)
%files i18n-km -f km.lang
%defattr(644,root,root,755)
+%files i18n-kmr-Latn -f kmr_Latn.lang
+%defattr(644,root,root,755)
+
%files i18n-kn_IN -f kn.lang
%defattr(644,root,root,755)
%files i18n-sr -f sr.lang
%defattr(644,root,root,755)
+%files i18n-sr-Latn -f sr_Latn.lang
+%defattr(644,root,root,755)
+
%files i18n-ss -f ss.lang
%defattr(644,root,root,755)