Hello community, here is the log from the commit of package libreoffice for openSUSE:Factory checked in at 2016-03-01 09:35:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libreoffice (Old) and /work/SRC/openSUSE:Factory/.libreoffice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libreoffice" Changes: -------- --- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes 2016-02-09 16:49:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libreoffice.new/libreoffice.changes 2016-03-01 09:35:48.000000000 +0100 @@ -1,0 +2,12 @@ +Sun Feb 21 09:49:35 UTC 2016 - tchva...@suse.com + +- Try to enable libreofficekit integration by mimicking what RH does + bnc#965296 + +------------------------------------------------------------------- +Tue Feb 9 09:19:59 UTC 2016 - tchva...@suse.com + +- Provide/obsolete the gtk3 subpackage in gnome to allow nice migration +- %dir the appdata folder to build on leap and older + +------------------------------------------------------------------- @@ -14,0 +27 @@ + * Fixes bnc#967015 CVE-2016-0795 bnc#967014 CVE-2016-0794 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libreoffice.spec ++++++ --- /var/tmp/diff_new_pack.rCBaXr/_old 2016-03-01 09:36:02.000000000 +0100 +++ /var/tmp/diff_new_pack.rCBaXr/_new 2016-03-01 09:36:02.000000000 +0100 @@ -30,7 +30,7 @@ %bcond_without oldmake %endif # Applications datastore -%if 0%{?suse_version} > 1315 +%if 0%{?suse_version} > 1310 %bcond_without appdatastore %else %bcond_with appdatastore @@ -330,6 +330,7 @@ BuildRequires: gstreamer-plugins-base-devel BuildRequires: gtk3-devel BuildRequires: libgltf-devel +BuildRequires: pkgconfig(gobject-introspection-1.0) %else BuildRequires: gcc48-c++ BuildRequires: gstreamer010-plugins-base-devel @@ -628,6 +629,9 @@ License: LGPL-3.0 Group: Productivity/Office/Suite Requires: %{name} = %{version} +# Merged back to gnome, was split on 5.0 series only +Provides: %{name}-gtk3 = %{version} +Obsoletes: %{name}-gtk3 < %{version} %description gnome This package contains some GNOME extensions for LibreOffice. @@ -763,6 +767,26 @@ - MediaWiki Publisher +%package -n libreofficekit +Summary: A library providing access to LibreOffice functionality +License: MPL-2.0 +Group: Productivity/Office/Suite +Requires: %{name} = %{version} + +%description -n libreofficekit +LibreOfficeKit can be used to access LibreOffice functionality +through C/C++, without any need to use UNO. + +%package -n libreofficekit-devel +Summary: Development files for libreofficekit +License: MPL-2.0 +Group: Productivity/Office/Suite +Requires: libreofficekit = %{version} + +%description -n libreofficekit-devel +The libreofficekit-devel package contains libraries and header files for +developing applications that use libreofficekit. + # Symlink autocorr files for various conversion items %define make_autocorr_aliases(l:) \ %{?-l: \ @@ -1133,6 +1157,7 @@ --disable-gstreamer-0-10 \ --enable-gstreamer-1-0 \ --enable-gtk3 \ + --enable-introspection \ --with-doxygen \ --enable-gltf \ --enable-collada --with-system-opencollada \ @@ -1325,6 +1350,9 @@ sed "s/libreoffice-${appdata}.desktop/${appdata}.desktop/" \ sysui/desktop/appstream-appdata/libreoffice-${appdata}.appdata.xml > %{buildroot}%{_datadir}/appdata/${appdata}.appdata.xml echo "%{_datadir}/appdata/${appdata}.appdata.xml" >>file-lists/${appdata}_list.txt +%if 0%{?suse_version} < 1320 + echo "%dir %{_datadir}/appdata/" >>file-lists/${appdata}_list.txt +%endif rm -rf %{buildroot}%{_datadir}/appdata/libreoffice-${appdata}.appdata.xml done %endif @@ -1377,6 +1405,11 @@ done rm pyfiles.txt +# Symlink libreofficekit to libdir +%if %{with newmedia} +ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so +%endif + # Symlink uno.py and unohelper.py so that python can find them # This is done after the cache files generating on purpose mkdir -p %{buildroot}%{python3_sitelib} @@ -1537,6 +1570,19 @@ %dir %{_datadir}/icons/hicolor/512x512/apps %dir %{_datadir}/icons/hicolor/512x512/mimetypes +%if %{with newmedia} +%files -n libreofficekit +%defattr(-,root,root) +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/LOKDocView-0.1.typelib +%{_libdir}/liblibreofficekitgtk.so + +%files -n libreofficekit-devel +%defattr(-,root,root) +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/LOKDocView-0.1.gir +%endif + %files -f file-lists/base_list.txt base %defattr(-,root,root)