Blob Blame History Raw
# download path contains version without the last (fourth) digit
%define libo_version 5.0.6
# Should contain .alphaX / .betaX, if this is pre-release (actually
# pre-RC) version. The pre-release string is part of tarball file names,
# so we need a way to define it easily at one place.
%define libo_prerelease %{nil}
# rhbz#715152 state vendor
%if 0%{?rhel}
%define vendoroption --with-vendor="Red Hat, Inc."
%define libo_use_python3 %{nil}
%define libo_python python
%define libo_python_sitearch %{python_sitearch}
%endif
%if 0%{?fedora}
%define libo_use_python3 1
%define libo_python python3
%define libo_python_sitearch %{python3_sitearch}
%define vendoroption --with-vendor="The Fedora Project"
%endif
# rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
%define __jar_repack %{nil}
# make it easier to download sources from pre-release site
# %%define source_url http://dev-builds.libreoffice.org/pre-releases/src
%define source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
# URL for external projects' tarballs
%define external_url http://dev-www.libreoffice.org/src/
# limit to fedora, as it breaks building of some bundled projects
%if 0%{?fedora}
# default for f23 onwards
%global _hardened_build 1
%endif
%global girapiversion 0.1

# get english only and no-langpacks for a faster smoketest build
# fedpkg compile/install/local/mockbuild does not handle --without ATM,
# so it is necessary to change this to bcond_with to achieve the same
# effect
%bcond_without langpacks

# remove workdir at the end of %%build, to allow build on space-constrained machines
%ifarch s390 s390x
%bcond_without smallbuild
%else
%bcond_with smallbuild
%endif

# generated by %%langpack definitions
%global langpack_langs %{nil}

%global bundling_options %{nil}

Summary:        Free Software Productivity Suite
Name:           libreoffice
Epoch:          1
Version:        %{libo_version}.2
Release:        14%{?libo_prerelease}%{?dist}
License:        (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0
Group:          Applications/Productivity
URL:            http://www.libreoffice.org/

Source0:        %{source_url}/libreoffice-%{version}%{?libo_prerelease}.tar.xz
Source1:        %{source_url}/libreoffice-help-%{version}%{?libo_prerelease}.tar.xz
Source2:        %{source_url}/libreoffice-translations-%{version}%{?libo_prerelease}.tar.xz
Source3:        http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll
Source4:        libreoffice-multiliblauncher.sh
Source5:        %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
Source6:        %{external_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
Source7:        %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
Source8:        %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
#Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
#backwards compatability.
Source9:        %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
%global bundling_options %{?bundling_options} --without-system-hsqldb

%if 0%{?rhel}
Source10:       %{external_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
%global bundling_options %{?bundling_options} --without-system-ucpp
%endif

%if 0%{?fedora}
Source40:       %{external_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
%endif

# symbolic icons
Source42:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-base-symbolic.svg
Source43:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-calc-symbolic.svg
Source44:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-draw-symbolic.svg
Source45:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-impress-symbolic.svg
Source46:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-main-symbolic.svg
Source47:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-math-symbolic.svg
Source48:       https://raw.githubusercontent.com/gnome-design-team/gnome-icons/master/apps-symbolic/Adwaita/scalable/apps/libreoffice-writer-symbolic.svg

# build tools
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bc
BuildRequires: binutils
BuildRequires: bison
%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: chrpath
%endif
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: findutils
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gdb
BuildRequires: git
BuildRequires: gperf
BuildRequires: icu
BuildRequires: make
BuildRequires: perl(Archive::Zip)
BuildRequires: perl(Digest::MD5)
%if 0%{?fedora}
BuildRequires: libappstream-glib
BuildRequires: ucpp
%endif
BuildRequires: zip

# libs / headers - common
BuildRequires: %{libo_python}-devel
BuildRequires: boost-devel
BuildRequires: cups-devel
BuildRequires: expat-devel
BuildRequires: fontpackages-devel
BuildRequires: glm-devel
BuildRequires: hyphen-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: lpsolve-devel
BuildRequires: openldap-devel
BuildRequires: pam-devel
BuildRequires: pkgconfig(bluez)
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(evolution-data-server-1.2)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(glew) >= 1.10.0
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(graphite2)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(hunspell)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libabw-0.1)
BuildRequires: pkgconfig(libcdr-0.1)
BuildRequires: pkgconfig(libclucene-core)
BuildRequires: pkgconfig(libcmis-0.5)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libetonyek-0.1)
BuildRequires: pkgconfig(libexttextcat)
BuildRequires: pkgconfig(libfreehand-0.1)
BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(liblangtag)
BuildRequires: pkgconfig(libmspub-0.1)
BuildRequires: pkgconfig(libmwaw-0.3)
BuildRequires: pkgconfig(libodfgen-0.1)
BuildRequires: pkgconfig(liborcus-0.8)
BuildRequires: pkgconfig(libpagemaker-0.0)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(libvisio-0.1)
BuildRequires: pkgconfig(libwpd-0.10)
BuildRequires: pkgconfig(libwpg-0.3)
BuildRequires: pkgconfig(libwps-0.3)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(mdds) >= 0.12.0
BuildRequires: pkgconfig(mythes)
BuildRequires: pkgconfig(neon)
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(poppler)
BuildRequires: pkgconfig(poppler-cpp)
BuildRequires: pkgconfig(redland)
BuildRequires: pkgconfig(sane-backends)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(zlib)
BuildRequires: postgresql-devel
BuildRequires: unixODBC-devel
BuildRequires: vigra-devel


# libs / headers - conditional
%if 0%{?fedora}
BuildRequires: firebird-devel
BuildRequires: kdelibs4-devel
BuildRequires: openCOLLADA-devel
BuildRequires: pkgconfig(libe-book-0.1)
BuildRequires: pkgconfig(libeot)
BuildRequires: pkgconfig(libgltf-0.0)
%endif

# java stuff
BuildRequires: ant
BuildRequires: apache-commons-codec
BuildRequires: apache-commons-lang
BuildRequires: bsh
BuildRequires: java-devel
BuildRequires: jakarta-commons-httpclient
BuildRequires: junit
BuildRequires: pentaho-reporting-flow-engine

# fonts needed for unit tests
BuildRequires: liberation-mono-fonts
BuildRequires: liberation-sans-fonts
BuildRequires: liberation-serif-fonts

Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
Requires: %{name}-math = %{epoch}:%{version}-%{release}
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Requires: %{name}-emailmerge = %{epoch}:%{version}-%{release}

# not upstreamed
Patch0:  openoffice.org-2.4.0.ooo86080.unopkg.bodge.patch
# not upstreamed
Patch1:  openoffice.org-3.1.0.oooXXXXX.solenv.allowmissing.patch
# not upstreamed
Patch2:  libreoffice-installfix.patch
# not upstreamed
Patch3: 0001-Resolves-rhbz-1035092-no-shortcut-key-for-Italian-To.patch
# not upstreamed
Patch4: 0001-disable-firebird-unit-test.patch
# not upstreamed
Patch5: 0001-never-run-autogen.sh.patch
# not upstreamed
Patch6: 0001-add-X-TryExec-entries-to-desktop-files.patch
# not upstreamed
Patch7: 0001-disable-PSD-import-test-which-deadlocks-on-ARM.patch
# upstreamed
Patch8: 0001-Resolves-tdf-89905-don-t-copy-palettes-from-shared-t.patch
Patch9: 0001-Resolves-tdf-49407-enable-CaseMap-property-in-impres.patch
Patch10: 0001-rhbz-1233420-handle-inexistent-cond.-format.patch
Patch11: 0001-allow-slide-design-to-affect-multiple-standard-pages.patch
Patch12: 0001-implement-equalize-width-and-height-for-impress-draw.patch
Patch13: 0001-f22-openjdk-for-ppc64le-has-both-these-dirs-but-jawt.patch
Patch14: 0001-implement-undo-for-equalize-marked-objects.patch
Patch15: 0001-time-stamp-object-selections-and-use-newest-as-ref-f.patch
Patch16: 0001-Resolves-rhbz-1256843-no-obvious-means-to-close-temp.patch
Patch17: 0001-implement-undo-of-delete-impress-cell-contents.patch
Patch18: 0001-Fix-export-of-tdf-93675-to-.docx-as-much-as-is-possi.patch
Patch19: 0001-default-to-as-character-caption-contents.patch
Patch20: 0001-Related-tdf-93676-msword-wraps-slightly-differently-.patch
Patch21: 0002-Related-tdf-93676-msword-wraps-slightly-differently-.patch
Patch22: 0001-implement-save-slide-background-for-impress.patch
Patch23: 0001-Related-tdf-72880-presumably-using-startcenter-as-ge.patch
Patch24: 0001-implement-dialog-control-over-enhanced-shape-control.patch
Patch25: 0001-tdf-95210-SetHandleControllerPosition-is-busted-wrt-.patch
Patch26: 0001-Resolves-tdf-95682-spell-dialog-add-a-button-to-open.patch
Patch27: 0001-backport-5-1-idle-timers-loop-to-5-0.patch
Patch28: 0001-gtk3-implement-SAL_INVERT_50-rectangle-case.patch
Patch29: 0001-Resolves-tdf-95962-incorrect-scanline-stride.patch
Patch30: 0001-Related-rhbz-1281906-wayland-toolbar-drawn-over-menu.patch
Patch31: 0001-Resolves-rhbz-1285380-get-menus-working-under-waylan.patch
Patch32: 0001-gtk3-wayland-wrong-dialog-sizes.patch
Patch33: 0001-Resolves-rhbz-1289398-unable-to-use-scroll-wheel-und.patch
Patch34: 0001-valgrind-scary-warning-that-the-cairo-font-options-w.patch
Patch35: 0001-gtk3-gtk_gesture_get_point-may-return-false.patch
Patch36: 0001-move-things-around-a-little-to-make-backporting-easi.patch
Patch37: 0001-Resolves-tdf-96285-restore-bodge-for-unresizable-win.patch
Patch38: 0001-gtk3-wayland-dialogs-work-a-lot-better-if-a-min-size.patch
Patch39: 0001-Related-rhbz-1290014-gtk3-use-gtk_window_set_modal-o.patch
Patch40: 0001-Resolves-rhbz-1289394-gtk3-implement-tooltips-native.patch
Patch41: 0001-rhbz-1283420-cairo-text-xrender-bodge.patch
Patch42: 0001-Resolves-rhbz-1287581-explicitly-state-we-don-t-want.patch
Patch43: 0001-gtk3-wayland-enable-manual-movement-of-toolbars.patch
Patch44: 0001-gtk3-stop-the-ever-shrinking-size-of-toplevel-on-eve.patch
Patch45: 0001-Resolves-rhbz-1291925-implement-SAL_INVERT_TRACKFRAM.patch
Patch46: 0001-Related-rhbz-1281906-set-a-min-size-on-un-resizeable.patch
Patch47: 0001-but-only-for-dialog.patch
Patch48: 0001-impress-s-AnnotationWindow-is-the-only-user-of-WB_NE.patch
Patch49: 0002-remove-newly-unused-WB_NEEDSFOCUS-and-fragile-FLOAT_.patch
Patch50: 0003-gtk3-wayland-start-floating-windows-hidden.patch
Patch51: 0001-these-popups-should-start-invisible-and-take-default.patch
Patch52: 0002-disable-tearability-of-color-window.patch
Patch53: 0001-Resolves-tdf-99604-ungrab-modal-dialogs.patch
Patch54: 0001-gtk3-avoid-empty-target-clipboard-warning.patch
Patch55: 0002-Fix-memleak-of-strings-allocated-in-VclGtkClipboard-.patch
Patch56: 0003-Resolves-rhbz-1240591-gtk3-store-clipboard-when-Libr.patch
Patch57: 0001-rerun-autoconf-after-remove-BOOST_SYSTEM.patch
Patch58: 0001-rhbz-1168757-propagate-selected-slides-to-print-dial.patch
Patch59: 0001-Resolves-rhbz-1294208-trackpad-two-finger-scroll-doe.patch
Patch60: 0001-use-the-users-preferred-initials-for-impress-annotat.patch
Patch61: 0001-gtk3-Resolves-tdf-96333-fix-RTL-menu-positioning.patch
Patch62: 0001-tdf-97665-Let-s-hope-that-over-activation-isn-t-real.patch
Patch63: 0001-Resolves-rhbz-1315385-use-preferred-size-if-widget-s.patch
Patch64: 0001-Resolves-tdf-96989-videos-playback-at-maximum-possib.patch
Patch65: 0001-delete-hidden-pages-before-deleting-unused-masters.patch
Patch66: 0001-tdf-39271-allow-to-export-only-notes-pages.patch
Patch67: 0001-Resolves-tdf-91778-drawing-the-background-over-an-ac.patch
Patch68: 0001-Pasting-from-a-pdf-from-a-fallback-font-doesn-t-give.patch
Patch69: 0001-tdf-99460-sw-layout-don-t-split-table-before-fly.patch
Patch70: 0001-Resolves-tdf-99498-don-t-overwrite-trwWidth-value-if.patch
Patch71: 0001-rhbz-1326602-avoid-exp.-bg-bitmaps-from-deleted-slid.patch
Patch72: 0001-Resolves-tdf-99417-explicitly-track-formula-cells-fo.patch
Patch73: 0001-tdf-99353-take-the-footgun-away-from-FilterCache.patch
Patch74: 0001-Resolves-tdf-94146-a11y-crash-obtain-formula-using-t.patch
Patch75: 0001-only-set-cur.-page-once-when-removing-mult.-pages.patch
Patch76: 0001-tdf-86575-for-OOXML-write-plain-REF-if-deleted-parts.patch
Patch77: 0001-improve-perf.-of-VCL-event-dispatch.patch
Patch78: 0001-rtf-m_aStates-can-be-empty-in-the-inner-condition.patch
Patch79: 0001-Resolves-rhbz-1364335-tooltips-are-truncated.patch
Patch80: 0001-lp-1566050-prevent-cyclic-reference-zombies.patch
Patch81: 0001-fix-Link-operator.patch
Patch82: 0001-tdf-80999-Canceling-password-prompt-should-abort-det.patch
Patch83: 0001-Resolves-rhbz-1401082-gnome-hangs-opening-a-certain-.patch
Patch84: 0001-Resolves-tdf-101213-drop-use-of-CAIRO_OPERATOR_DIFFE.patch
Patch85: 0001-disable-generation-of-ole-previews-in-ODF-format-unt.patch
Patch86: 0001-Resolves_rhbz-1437537-fix-csv-a11y.patch
Patch87: 0001-ofz-372-check-if-ImplSplit-succeeded.patch

%if 0%{?rhel}
# not upstreamed
Patch500: 0001-disable-libe-book-support.patch
# not upstreamed
Patch501: 0001-Revert-upload-libwps-0.4.0.patch

# rebase libreofficekit to 5.1
Patch600: 0002-LOK-remove-unused-LOK_PARTMODE_EMBEDDEDOBJ.patch
Patch601: 0003-Look-for-libsofficeapp.dylib-in-the-right-place-on-O.patch
Patch602: 0004-Don-t-do-any-magic-LO-OS-X-application-stuff-in-a-LO.patch
Patch603: 0005-loplugin-staticmethods.patch
Patch604: 0006-loplugin-cstylecast-deal-with-those-that-are-technic.patch
Patch605: 0007-fsanitize-float-divide-by-zero.patch
Patch606: 0008-LOK-fix-the-rectangle-format-mentioned-in-documentat.patch
Patch607: 0009-loplugin-cstylecast-deal-with-remaining-pointer-cast.patch
Patch608: 0010-lokdocview-add-width-and-height-to-the-visible-recta.patch
Patch609: 0011-lokdocview-use-GtkDrawingArea-for-drawing-tiles.patch
Patch610: 0012-Add-tile-buffering-support.patch
Patch611: 0013-lokdocview-Use-maps-instead-of-vector.patch
Patch612: 0014-lokdocview-Add-support-for-editing-documents.patch
Patch613: 0015-lokdocview-move-commonly-used-functions-and-variable.patch
Patch614: 0016-lokdocview-wrap-a-functionality-inside-a-member-func.patch
Patch615: 0017-lokdocview-tilebuffer-clean-up.patch
Patch616: 0018-lokdocview-fixed-rectangle-format-in-documentation-c.patch
Patch617: 0019-lokdocview-check-payload-for-inconsistencies-before-.patch
Patch618: 0020-lokdocview-move-GtkDrawingArea-size-request-out-of-r.patch
Patch619: 0021-lokdocview-fix-render-calls-after-LOK-callbacks.patch
Patch620: 0022-lokdocview-Let-G_BEGIN-END_DECLS-handle-the-compiler.patch
Patch621: 0023-lokdocview-Lets-follow-the-GObject-naming-convention.patch
Patch622: 0024-lokdocview-Modernise-LOKDocView-as-GObject.patch
Patch623: 0025-lokdocview-mark-_get_type-with-const-function-attrib.patch
Patch624: 0026-libreofficekit-fix-RHEL5-build-of-tilebuffer.patch
Patch625: 0027-lokdocview-Make-tilebuffer-an-instance.patch
Patch626: 0028-tilebuffer-ZoomFactor-as-member-variable-is-superflu.patch
Patch627: 0029-tilebuffer-tileSize-as-member-variable-is-superfluou.patch
Patch628: 0030-Werror-Wunused-private-field.patch
Patch629: 0031-loplugin-literaltoboolconversion.patch
Patch630: 0032-loplugin-unreffun.patch
Patch631: 0033-Werror-Wignored-attributes-attribute-declaration-mus.patch
Patch632: 0034-loplugin-unreffun-workaround-for-visibility-adding-r.patch
Patch633: 0035-sw-LOK_CALLBACK_CURSOR_VISIBLE-callback.patch
Patch634: 0036-sw-tiled-rendering-set-minimal-window-size.patch
Patch635: 0037-Revert-sw-LOK_CALLBACK_CURSOR_VISIBLE-callback.patch
Patch636: 0038-CID-1306215-Uninitialized-members.patch
Patch637: 0039-lokdocview-Change-parent-class-to-GtkDrawingArea.patch
Patch638: 0040-lokdocview-Make-this-GObject-class-introspectable.patch
Patch639: 0041-lokdocview-Create-LOK-context-inside-of-lok_doc_view.patch
Patch640: 0042-Fix-RHEL5-build.patch
Patch641: 0043-cppcheck-postfixOperator.patch
Patch642: 0044-Typo.patch
Patch643: 0045-lokdocview-gtktiledviewer-Port-to-gtk3.patch
Patch644: 0046-lokdocview-Port-to-gtk3-expose-event-draw.patch
Patch645: 0047-lokdocview-gtktiledviewer-Remove-gtk-version-checks.patch
Patch646: 0048-gtktiledviewer-Replace-deprecated-Gtk-functions.patch
Patch647: 0049-Repository.mk-libreofficekitgtk-is-conditional-on-EN.patch
Patch648: 0050-lokdocview-Restructure-this-GObject-class.patch
Patch649: 0051-Superfluous-block-lets-merge-into-one.patch
Patch650: 0052-lokdocview-couple-for-missing-static_cast-GParamFlag.patch
Patch651: 0053-gtktiledviewer-add-copy-button.patch
Patch652: 0054-gtktiledviewer-do-HTML-copying-if-possible.patch
Patch653: 0055-lokdocview-Use-GInitable.patch
Patch654: 0056-lokdocview-Use-get_instance_private-to-get-private-s.patch
Patch655: 0057-lokdocview-fixed-a-signal-name.patch
Patch656: 0058-cppcheck-noExplicitConstructor.patch
Patch657: 0059-lokdocview-Don-t-handle-hyperlink-clicks.patch
Patch658: 0060-lokdocview-Remove-superfluous-_post_key.patch
Patch659: 0061-tilebuffer-Add-timer-to-measure-paintTile-call.patch
Patch660: 0062-lokdocview-Handle-DELETE-key.patch
Patch661: 0063-gtktiledviewer-Don-t-continue-on-widget-init-failure.patch
Patch662: 0064-g_assert_nonnull-was-not-declared.patch
Patch663: 0065-LOK-Don-t-try-to-absolutize-URL-s.patch
Patch664: 0066-LOK-Cleanup-absolutizing-of-URLs.patch
Patch665: 0067-LOK-Corner-case-with-working-dir-as.patch
Patch666: 0068-lokdocview-Grab-focus-on-mouse-button-press-event.patch
Patch667: 0069-vcl-ITiledRenderable-getTextSelection-can-be-pure-vi.patch
Patch668: 0070-With-enable-gtk3-we-need-GLib-2.38.patch
Patch669: 0071-gtktiledviewer-method-for-resetting-all-tiles.patch
Patch670: 0072-lokdocview-Call-open_document-in-another-thread.patch
Patch671: 0073-lokdocview-Emit-load-changed-signal-showing-load-pro.patch
Patch672: 0074-gtktiledviewer-Fill-whole-statusbar-with-progressbar.patch
Patch673: 0075-lokdocview-Use-a-thread-pool-for-most-LOK-calls.patch
Patch674: 0076-lokdocview-Make-paintTile-async.patch
Patch675: 0077-lokdocview-tilebuffer-Add-DOxygen-comments.patch
Patch676: 0078-Use-thread-pool-for-LOK-call-paintTile.patch
Patch677: 0079-lokdocview-Cannot-use-same-GTask-object-for-all-call.patch
Patch678: 0080-lokdocview-Follow-the-camelCase-naming-convention.patch
Patch679: 0081-lokdocview-Use-only-one-ctor-for-instantiating-LOEve.patch
Patch680: 0082-lokdocview-Move-postMouseEvent-in-separate-LOK-threa.patch
Patch681: 0083-lokdocview-setGraphicSelection-in-another-thread.patch
Patch682: 0084-lokdocview-post_command-arguments-are-not-supposed-t.patch
Patch683: 0085-libreofficekit-Werror-Wformat-security.patch
Patch684: 0086-LOK-Implement-parts-for-Writer-too.patch
Patch685: 0087-Removed-some-whole-page-invalidations-in-impress.patch
Patch686: 0088-coverity-1315075-Uninitialized-pointer-field.patch
Patch687: 0089-lokdocview-Don-t-use-extern-variable-lokThreadPool.patch
Patch688: 0090-LOKit-set-thread-name-lo_startmain.patch
Patch689: 0091-tdf-93154-Save-button-often-does-not-save.patch
Patch690: 0092-sc-LOK_CALLBACK_DOCUMENT_SIZE_CHANGED-callback.patch
Patch691: 0093-sc-fix-LOKit-invalidate-setPart.patch
Patch692: 0094-gtktiledviewer-Jump-to-cursor-position-when-it-chang.patch
Patch693: 0095-lok-Document-getStyles-method.patch
Patch694: 0096-lok-namespace-and-re-work-various-types-helper-funct.patch
Patch695: 0097-Fix-incomplete-g-i-annotations.patch
Patch696: 0098-log-resource-usage-of-unit-tests-on-UNX-platforms.patch
Patch697: 0099-sal-don-t-use-target-as-parameter-to-cppunittester.patch
Patch698: 0100-LOK-added-a-general-getCommandValues-method.patch
Patch699: 0101-LOK-allow-float-numbers-in-json-property-value-conve.patch
Patch700: 0102-Revert-LOK-added-a-general-getCommandValues-method.patch
Patch701: 0103-LOK-moved-the-decalaration-of-LibLODocument_Impl-to-.patch
Patch702: 0104-desktop-enable-CppunitTest_desktop_lib-only-on-Linux.patch
Patch703: 0105-LOK-added-a-general-getCommandValues-method.patch
Patch704: 0106-LOK-getFonts-method.patch
Patch705: 0107-lokdocview-GTK-calls-should-be-made-from-the-main-th.patch
Patch706: 0108-LOK-don-t-use-unstable-API-unconditionally-when-incl.patch
Patch707: 0109-LOK-Implement-an-own-trivial-InteractionHandler.patch
Patch708: 0110-create_tree.sh-Generate-g-i-files.patch
Patch709: 0111-get-feedback-for-style-font-font-size-in-tiledrender.patch
Patch710: 0112-lok-initialize-UNO-url-command-dispatch.patch
Patch711: 0113-LOK-Sync-the-list-of-commands-we-initialize-with-tho.patch
Patch712: 0114-LOK-Avoid-crash-when-the-command-is-not-available-in.patch
Patch713: 0115-tdf-94237-tiled-rendering-Use-the-entire-document-as.patch
Patch714: 0116-sysui-depend-on-libreofficekitgtk-for-introspection.patch
Patch715: 0117-vcl-ITiledRenderable-add-getCurrentViewShell-and-imp.patch
Patch716: 0118-sfx2-add-SfxLokHelper.patch
Patch717: 0119-lok-Document-add-createView.patch
Patch718: 0120-gtktiledviewer-add-button-tooltips.patch
Patch719: 0121-lok-Office-add-getViews.patch
Patch720: 0122-CppunitTest_desktop_lib-fix-reported-name-of-failed-.patch
Patch721: 0123-lok-Document-add-destroyView.patch
Patch722: 0124-sfx2-add-missing-header-guard.patch
Patch723: 0125-gtktiledviewer-these-globals-can-be-static.patch
Patch724: 0126-gtktiledviewer-allow-multiple-DocView-instances.patch
Patch725: 0127-gtktiledviewer-allow-multiple-status-bars.patch
Patch726: 0128-gtktiledviwer-allow-GtkToolItems-in-multiple-windows.patch
Patch727: 0129-gtktiledviwer-tool-item-registration-is-per-window.patch
Patch728: 0130-gtktiledviewer-allow-part-selector-in-multiple-windo.patch
Patch729: 0131-gtktiledviewer-allow-findbar-in-multiple-windows.patch
Patch730: 0132-lokdocview-allow-not-calling-documentLoad.patch
Patch731: 0133-gtktiledviewer-factor-out-createWindow-from-main.patch
Patch732: 0134-gtktiledviewer-factor-out-setupDocView-from-main.patch
Patch733: 0135-gtktiledviewer-set-up-a-new-GtkWindow-for-a-new-view.patch
Patch734: 0136-lokdocview-avoid-GTK-calls-in-openDocumentInThread.patch
Patch735: 0137-lokdocview-set-up-the-widget-in-all-windows.patch
Patch736: 0138-gtktiledviewer-add-setupWidgetAndCreateWindow-to-avo.patch
Patch737: 0139-lok-Document-add-get-setView.patch
Patch738: 0140-Use-SfxViewFrame-Current.patch
Patch739: 0141-gtktiledviewer-use-setView-before-postKeyEvent.patch
Patch740: 0142-LOK-make-getViews-be-a-member-function-of-Document.patch
Patch741: 0143-LOK-allow-postMouseEvent-in-multiple-views.patch
Patch742: 0144-Add-missing-lok-Document-setPartMode-wrapper.patch
Patch743: 0145-lokdocview-set-view-before-calling-lok-Document-memb.patch
Patch744: 0146-SfxLokHelper-setView-check-if-view-is-already-curren.patch
Patch745: 0147-sfx2-add-SfxViewShell-libreOfficeKitViewCallback.patch
Patch746: 0148-comphelper-add-LibreOfficeKit-set-isViewCallback.patch
Patch747: 0149-sw-implement-per-view-LOK_CALLBACK_INVALIDATE_TILES.patch
Patch748: 0150-lok-Document-register-callback-in-the-view-if-reques.patch
Patch749: 0151-sw-implement-per-view-LOK_CALLBACK_INVALIDATE_VISIBL.patch
Patch750: 0152-gtktiledviewer-don-t-crash-on-opening-non-existing-f.patch
Patch751: 0153-gtktiledviewer-fix-leftover-import-progressbar-in-cr.patch
Patch752: 0154-sw-implement-per-view-LOK_CALLBACK_TEXT_SELECTION.patch
Patch753: 0155-sw-implement-per-view-LOK_CALLBACK_CURSOR_VISIBLE.patch
Patch754: 0156-CppCheck-reduce-variables-scope.patch
Patch755: 0157-lok-add-Office-getFilterTypes.patch
Patch756: 0158-desktop-make-LibLibreOffice_Impl-visible-to-testcase.patch
Patch757: 0159-fix-build.patch
Patch758: 0160-Add-lok-Office-getFilterTypes-testcase.patch
Patch759: 0161-Move-all-introspection-comments-to-header-file.patch
Patch760: 0162-sd-tiled-rendering-avoid-passing-explicit-0-vcl-Wind.patch
Patch761: 0163-libreofficekit-fix-mismatched-free-delete.patch
Patch762: 0164-lok-add-Document-getPartPageRectangles.patch
Patch763: 0165-coverity-1325053-Dereference-after-null-check.patch
Patch764: 0166-lokdocview-Reset-view-completely.patch
Patch765: 0167-Impress-set-current-page-Id-before-showing-the-new-p.patch
Patch766: 0168-desktop-vcl-support-transparency-in-VirtualDevices-w.patch
Patch767: 0169-sw-tiled-rendering-default-to-transparent-background.patch
Patch768: 0170-vcl-tiled-rendering-avoid-Pixel-represents-color-val.patch
Patch769: 0171-desktop-handle-sal_uInt16-in-jsonToPropertyValues.patch
Patch770: 0172-LOK-add-CALLBACK_SEARCH_RESULT_COUNT-and-implement-i.patch
Patch771: 0173-lokdocview-handle-LOK_CALLBACK_SEARCH_RESULT_COUNT.patch
Patch772: 0174-gtktiledviewer-make-it-possible-to-trigger-SearchIte.patch
Patch773: 0175-LOK-added-the-button-type-and-key-modifier-to-postMo.patch
Patch774: 0176-CppunitTest_sw_tiledrendering-testcase-for-LOK_CALLB.patch
Patch775: 0177-LOK-add-the-search-phrase-to-the-search-result-count.patch
Patch776: 0178-LOK-fixed-duplicated-switch-case-values.patch
Patch777: 0179-LOK-add-CALLBACK_SEARCH_RESULT_SELECTION-and-impleme.patch
Patch778: 0180-gtktiledviewer-recognize-LOK_CALLBACK_SEARCH_RESULT_.patch
Patch779: 0181-CppunitTest_sw_tiledrendering-CALLBACK_SEARCH_RESULT.patch
Patch780: 0182-lokdocview-log-paintTile-arguments.patch
Patch781: 0183-sw-outline-SwViewOption-SetOnlineSpell.patch
Patch782: 0184-Disable-spellcheck-when-LOK-is-active.patch
Patch783: 0185-sw-extract-lcl_emitSearchResultCallbacks-from-SwView.patch
Patch784: 0186-sw-tiled-rendering-emit-LOK_CALLBACK_SEARCH_RESULT-f.patch
Patch785: 0187-libreofficekit-Werror-unused-macros.patch
Patch786: 0188-lokdocview-invalidate-after-selection-change.patch
Patch787: 0189-sc-tiled-rendering-fix-showing-all-search-results.patch
Patch788: 0190-Make-this-compile-for-iOS-again.patch
Patch789: 0191-comphelper-add-string-join.patch
Patch790: 0192-sc-tiled-rendering-no-need-to-show-this-dialog.patch
Patch791: 0193-lok-Document-initializeForRendering-handle-lack-of-l.patch
Patch792: 0194-CppunitTest_desktop_lib-add-Calc-find-all-testcase.patch
Patch793: 0195-editeng-sw-sc-use-comphelper-string-join.patch
Patch794: 0196-sc-tiled-rendering-implement-LOK_CALLBACK_SEARCH_RES.patch
Patch795: 0197-LOK-CALLBACK_SEARCH_RESULT_COUNT-is-redundant.patch
Patch796: 0198-lokdocview-log-postUnoCommand-arguments.patch
Patch797: 0199-gtktiledviewer-drop-tiles-on-set-part-event.patch
Patch798: 0200-sd-tiled-rendering-make-invalidation-in-DrawViewShel.patch
Patch799: 0201-tdf-95002-sd-tiled-rendering-fix-handling-of-images-.patch
Patch800: 0202-disable-test-that-causes-inf.-loop.patch
Patch801: 0203-sd-tiled-rendering-implement-LOK_CALLBACK_SEARCH_RES.patch
Patch802: 0204-CppunitTest_sd_tiledrendering-CALLBACK_SEARCH_RESULT.patch
Patch803: 0205-Bump-gtk-version-to-2.18.patch
Patch804: 0206-sd-tiled-rendering-initial-search-all.patch
Patch805: 0207-sd-tiled-rendering-search-rectangle-is-part-specific.patch
Patch806: 0208-LOK-include-part-numbers-in-CALLBACK_SEARCH_RESULT_S.patch
Patch807: 0209-lok-Document-paintTile-fix-non-rectangular-tiles-wrt.patch
Patch808: 0210-sd-tiled-rendering-let-find-all-at-least-select-the-.patch
Patch809: 0211-sd-tiled-rendering-implement-CALLBACK_SET_PART-for-f.patch
Patch810: 0212-vcl-aAlphaBitmap.ImplGetImpBitmap-seen-as-0.patch
Patch811: 0213-editeng-tiled-rendering-avoid-selections-callbacks-i.patch
Patch812: 0214-sd-tiled-rendering-emit-CALLBACK_TEXT_SELECTION-on-m.patch
Patch813: 0215-editeng-add-EditView-GetSelectionRectangles.patch
Patch814: 0216-disable-failing-test.patch
Patch815: 0217-lok-svg-export-Default-to-exporting-all-slides-use-t.patch
Patch816: 0218-lok-Document-saveAs-add-Writer-Impress-Draw-png-mapp.patch
Patch817: 0219-Add-DLOPEN_LIBS-to-configure-for-some-cases-where-ld.patch
Patch818: 0220-sc-initial-png-export.patch
Patch819: 0221-lokdocview-Use-G_PARAM_STATIC_STRINGS.patch
Patch820: 0222-lok-Avoid-adding-to-recent-documents-completely.patch
Patch821: 0223-lokdocview-Emit-a-warning-after-error.patch
Patch822: 0224-vcl-add-ITiledRenderable-getWindow-and-implement-in-.patch
Patch823: 0225-LOK-add-Document-paste.patch
Patch824: 0226-gtktiledviewer-initial-paste-support.patch
Patch825: 0227-desktop-add-lok-Document-paste-testcase.patch
Patch826: 0228-loplugin-defaultparams.patch
Patch827: 0229-vcl-ITiledRenderable-getWindow-can-be-pure-virtual-n.patch
Patch828: 0230-lok-Document-paste-check-if-the-given-mime-type-is-s.patch
Patch829: 0231-sc-implement-vcl-ITiledRenderable-isMimeTypeSupporte.patch
Patch830: 0232-vcl-add-Window-SetClipboard.patch
Patch831: 0233-lok-clipboard-support-rich-text-paste.patch
Patch832: 0234-gtktiledviwer-try-to-paste-as-html-then-as-plain-tex.patch
Patch833: 0235-sw-tiled-rendering-don-t-offer-HTML-paste-for-shape-.patch
Patch834: 0236-fix-includes-that-are-not-stand-alone.patch
Patch835: 0237-sd-implement-vcl-ITiledRenderable-getWindow.patch
Patch836: 0238-sd-implement-vcl-ITiledRenderable-isMimeTypeSupporte.patch
Patch837: 0239-vcl-getWindow-setClipboard-in-ITiledRenderable.patch
Patch838: 0240-LOK-font-back-color-feedback.patch
Patch839: 0241-LOK-font-back-color-callback-use-sal_Int32-instead-o.patch
Patch840: 0242-lokdocview-ensure-private-structure-is-allocated-wit.patch
Patch841: 0243-LOK-initial-Document-getCommandValues-for-RowColumnH.patch
Patch842: 0244-gtktiledviewer-initial-row-headers-for-spreadsheet-d.patch
Patch843: 0245-loplugin-staticmethods.patch
Patch844: 0246-gtktiledviewer-initial-column-headers-for-spreadshee.patch
Patch845: 0247-gtktiledviewer-add-missing-spreadsheet-corner-button.patch
Patch846: 0248-loplugin-staticmethods.patch
Patch847: 0249-sc-lok-Always-provide-a-reasonable-document-size.patch
Patch848: 0250-lokdocview-Fix-memory-leaks.patch
Patch849: 0251-android-don-t-use-alpha-VDev-when-painting-tiles-on-.patch
Patch850: 0252-add-LOKit-interface-missing-description.patch
Patch851: 0253-gtktiledviewer-add-a-few-more-trivial-buttons-and-br.patch
Patch852: 0254-ScTabView-getRowColumnHeaders-include-info-about-col.patch
Patch853: 0255-ScTabView-getRowColumnHeaders-emit-info-about-last-f.patch
Patch854: 0256-sc-lok-emit-RowColumnHeader-info-in-twips.patch
Patch855: 0257-gtktiledviewer-show-zoom-in-the-status-bar.patch
Patch856: 0258-sc-lok-fix-rounding-errors-with-non-100-zoom.patch
Patch857: 0259-LOK-make-use-of-MOUSEMOVE-in-calc.patch
Patch858: 0260-gtktiledviewer-adjust-spreadsheet-row-column-headers.patch
Patch859: 0261-lokdocview-Separate-painting-and-saving-of-tiles.patch
Patch860: 0262-libreofficekit-Werror-unused-parameter.patch
Patch861: 0263-lok-Fix-typo-search-result_count-search-result-count.patch
Patch862: 0264-lok-Introduce-LOK_CALLBACK_UNO_COMMAND_RESULT-callba.patch
Patch863: 0265-build-fix.patch
Patch864: 0266-sc-lok-allow-requesting-row-headers-only-for-a-logic.patch
Patch865: 0267-sc-lok-allow-requesting-column-headers-only-for-a-lo.patch
Patch866: 0268-Werror-Wformat-security.patch
Patch867: 0269-sc-lok-avoid-placeholder-row-when-providing-all-head.patch
Patch868: 0270-lok-Unit-test-for-LOK_CALLBACK_UNO_COMMAND_RESULT.patch
Patch869: 0271-lok-Fix-crash-due-to-non-initialized-callback.patch
Patch870: 0272-Werror-Wformat-security.patch
Patch871: 0273-sc-lok-return-absolute-positions-for-row-column-head.patch
Patch872: 0274-CppunitTest_desktop_lib-test-absolute-positions-for-.patch
Patch873: 0275-lokdocview-Don-t-render-tiles-while-tile-buffer-has-.patch
Patch874: 0276-sc-lok-Cell-Cursor-callback.patch
Patch875: 0277-sc-lok-Cache-viewdata-zoom-and-reuse-for-cursor-call.patch
Patch876: 0278-sc-lok-make-cell-cursor-behaviour-consistent-with-de.patch
Patch877: 0279-sc-lok-tdf-94605-introduce-uno-CellCursor.patch
Patch878: 0280-sc-lok-update-parameter-syntax-for-.uno-CellCursor.patch
Patch879: 0281-sw-tiled-rendering-initial-annotation-support.patch
Patch880: 0282-sw-lok-annotations-paint-all-child-window.patch
Patch881: 0283-gtktiledviewer-larger-default-window-size.patch
Patch882: 0284-sw-lok-annotations-disable-the-scrollbar-for-now.patch
Patch883: 0285-sc-lok-annotations-paint-range-and-anchor-overlay.patch
Patch884: 0286-Revert-sc-lok-Cache-viewdata-zoom-and-reuse-for-curs.patch
Patch885: 0287-gtktiledviewer-add-Ctrl-Alt-Shift-shortcut-support.patch
Patch886: 0288-sc-lok-Add-initial-test-for-.uno-CellCursor.patch
Patch887: 0289-sc-lok-add-missing-commandName.patch
Patch888: 0290-lokdocview-assert-that-loading-of-handle-bitmaps-suc.patch
Patch889: 0291-loplugin-nullptr-automatic-rewrite.patch
Patch890: 0292-loplugin-nullptr-automatic-rewrite.patch
Patch891: 0293-Keep-LibreOfficeKit.hxx-compatible-with-C-03.patch
Patch892: 0294-Add-a-check-for-non-LIBO_INTERNAL_ONLY-C-03-compatib.patch
Patch893: 0295-Missing-include-for-NULL.patch
Patch894: 0296-gtktiledviewer-don-t-hide-cursor-after-doc-size-chan.patch
Patch895: 0297-sw-lok-fix-width-of-the-notes-sidebar.patch
Patch896: 0298-Avoid-Werror-pedantic-when-building-CppunitTest_libr.patch
Patch897: 0299-sw-lok-fix-length-of-the-line-overlay-above-the-note.patch
Patch898: 0300-This-PixelToLogic-call-can-be-conditional-in-SwSideb.patch
Patch899: 0301-sd-lok-ccu-1295-force-async-image-swap.patch
Patch900: 0302-Implement-LOK_CALLBACK_MOUSE_POINTER.patch
Patch901: 0303-lokdocview-support-LOK_CALLBACK_MOUSE_POINTER.patch
Patch902: 0304-sw-lok-fix-sidebarwindows-SwSidebarWin-pixel-positio.patch
Patch903: 0305-lok-add-Clear-formatting-to-getStyles.patch
Patch904: 0306-lok-sw-Place-default-styles-at-top-of-style-selector.patch
Patch905: 0307-sw-lok-route-SwEditWin-MouseButtonDown-to-SidebarTex.patch
Patch906: 0308-fix-build.patch
Patch907: 0309-fix-build.patch
Patch908: 0310-lok-send-list-of-commands-instead-of-ClearStyles.patch
Patch909: 0311-Use-std-vector-instead-of-an-array-of-strings.patch
Patch910: 0312-More-range-based-for.patch
Patch911: 0313-sw-lok-filter-out-defalt-styles-to-avoid-duplicates.patch
Patch912: 0314-sw-lok-forward-key-events-to-annotation-window-if-ne.patch
Patch913: 0315-lok-Use-reference-instead-of-copy-constructing-in-ra.patch
Patch914: 0316-LOK-setClientZoom-sets-the-client-zoom-level.patch
Patch915: 0317-LOK-calc-formula-callback-formula-bar-implementation.patch
Patch916: 0318-libreofficekit-loplugin-cstylecast.patch
Patch917: 0319-sw-don-t-show-main-cursor-when-editing-a-postit.patch
Patch918: 0320-loplugin-nullptr.patch
Patch919: 0321-sc-lok-during-tiled-rendering-the-cell-cursor-is-alw.patch
Patch920: 0322-editeng-lok-respect-origin-of-map-mode-for-INVALIDAT.patch
Patch921: 0323-sw-lok-fix-blinking-cursor-position-of-comments.patch
Patch922: 0324-editeng-lok-respect-origin-of-map-mode-for-TEXT_SELE.patch
Patch923: 0325-sw-lok-disable-comment-menu-button-for-now.patch
Patch924: 0326-sw-lok-comments-fix-position-of-blinking-cursor-afte.patch
Patch925: 0327-sw-lok-comments-emit-invalidation-events-in-SidebarT.patch
Patch926: 0328-sw-lok-comments-implement-setTextSelection-API.patch
Patch927: 0329-sw-lok-comments-fix-callback-of-newly-created-outlin.patch
Patch928: 0330-sw-lok-comments-fix-cursor-position-of-a-newly-creat.patch
Patch929: 0331-sw-lok-comments-implement-mouse-move-and-mouse-up.patch
Patch930: 0332-gtktiledviewer-the-formula-bar-is-calc-only.patch
Patch931: 0333-gtktiledviewer-add-toolbar-buttons-to-insert-delete-.patch
Patch932: 0334-CppunitTest_sw_tiledrendering-replace-various-ifdefs.patch
Patch933: 0335-CppunitTest_desktop_lib-add-Writer-comments-textcase.patch
Patch934: 0336-sc-lok-use-client-zoom-for-ViewRowColumnHeaders.patch
Patch935: 0337-sw-lok-comments-fix-sidebar-width-with-custom-zoom.patch
Patch936: 0338-sw-lok-comments-fix-text-selection-with-custom-zoom.patch
Patch937: 0339-sw-lok-comments-fix-comment-widget-width-with-custom.patch
Patch938: 0340-sw-lok-comments-fix-meta-author-data-size-with-custo.patch
Patch939: 0341-sw-lok-comments-implement-clipboard-copy.patch
Patch940: 0342-gtktiledviewer-set-author-name-when-inserting-a-comm.patch
Patch941: 0343-lok-Document-initializeForRendering-support-init.-ar.patch
Patch942: 0344-vcl-ITiledRenderable-initializeForTiledRendering-sup.patch
Patch943: 0345-gtktiledviewer-allow-passing-initializeForRendering-.patch
Patch944: 0346-sw-lok-comments-don-t-paint-hidden-comment-sub-widge.patch
Patch945: 0347-editeng-lok-invalidate-on-scroll.patch
Patch946: 0348-sw-lok-comments-optimize-sidebar-text-control-invali.patch
Patch947: 0349-gtktiledviewer-allow-setting-custom-background-color.patch
Patch948: 0350-Werror-Wdeprecated-declarations.patch
Patch949: 0351-sw-lok-comments-implement-painting-of-the-vertical-s.patch
Patch950: 0352-LOK-add-Document-getTileMode.patch
Patch951: 0353-sw-lok-comments-fix-vertical-scrollbar-with-custom-z.patch
Patch952: 0354-updae-getTileMode.patch
Patch953: 0355-vcl-lok-fix-scrollbar-to-accept-mouse-events-in-twip.patch
Patch954: 0356-sw-lok-comments-handle-mouse-up-down-events-on-the-v.patch
Patch955: 0357-desktop-fix-LOK_DEBUG-rectangle-painting.patch
Patch956: 0358-sw-lok-comments-fix-missing-invalidations-from-the-s.patch
Patch957: 0359-vcl-lok-handle-tracking-coordinates-which-are-in-twi.patch
Patch958: 0360-sw-lok-comments-implement-drag-of-the-scrollbar.patch
Patch959: 0361-sw-lok-comments-avoid-crash-an-exit-after-clicking-t.patch
Patch960: 0362-sw-lok-comments-fix-map-mode-state-after-changing-zo.patch
Patch961: 0363-tdf-96243-don-t-crash-if-LibO-install.-wasn-t-found.patch
Patch962: 0364-improve-error-message-for-nonexist.-path.patch
Patch963: 0365-tdf-96246-Make-pRenderingArguments-nullable.patch
Patch964: 0366-tdf-96250-desktop-empty-str-is-the-same-as-0-str-in-.patch
Patch965: 0367-tdf-96316-Decouple-view-only-editable-modes.patch
Patch966: 0368-tdf-96318-Add-searching-API.patch
Patch967: 0369-lokdocview-Set-a-default-path-for-LOK-init.patch
Patch968: 0370-tdf-96317-Add-API-for-copy-paste-from-to-the-widget.patch
Patch969: 0371-tdf-96384-Add-a-new-signal-text-selection-to-lokdocv.patch
Patch970: 0372-tdf-96250-LOK-guard-against-0-pRenderingArguments.patch
Patch971: 0373-lokdocview-Remove-an-easy-FIXME.patch
Patch972: 0374-lokdocview-Superfluous-_set_zoom-call-on-widget-init.patch
Patch973: 0375-lokdocview-Use-GLib-basic-types.patch
Patch974: 0376-lokdocview-Added-some-missing-comments-annotations.patch
Patch975: 0377-lokdocview-Return-if-no-document-is-set.patch
Patch976: 0378-coverity-1343631-Resource-leak.patch
Patch977: 0379-coverity-1343632-Resource-leak.patch
Patch978: 0380-coverity-1343633-Resource-leak.patch
Patch979: 0381-coverity-1315075-Uninitialized-scalar-field.patch
Patch980: 0382-lokdocview-Use-an-array-to-install-properties.patch
Patch981: 0383-tdf-96514-Emits-a-notify-signal-when-zoom-changes.patch
Patch982: 0384-lokdocview-Use-shared_ptr-to-fix-a-possible-memory-l.patch
Patch983: 0385-tdf-96421-Return-if-no-window-is-realized.patch
Patch984: 0386-lokdocview-Fix-WARNING-when-creating-an-error.patch
Patch985: 0387-tdf-96513-Limit-LOKDocView-s-zoom-in-0.25-5.0.patch
Patch986: 0388-lokdocview-Center-the-widget-inside-the-allocation.patch
Patch987: 0389-libreofficekit-password-interaction-optional-and-off.patch
Patch988: 0390-libreofficekit-fix-inverted-condition.patch
Patch989: 0391-Missing-include.patch
Patch990: 0392-lokdocview-Handle-password-protected-documents.patch
Patch991: 0393-lok-fix-saveAs-for-a-loaded-HTML-document.patch
Patch992: 0394-lokdocview-Center-the-widget-vertically-inside-the-a.patch
Patch993: 0395-WaE-buggy-warning-in-vs2015-r1.patch
Patch994: 0396-gtktiledviewer-needs-gtk3-not-gtk2.patch
Patch995: 0397-tdf-99314-lokdocview-add-new-userprofileurl-property.patch
Patch996: 0398-fix-build.patch
Patch997: 0001-sysui-g-ir-scanner-is-not-available-in-when-introspe.patch
Patch998: 0002-sysui-introspection-wants-INSTDIR-not-DESTDIR-INSTAL.patch
Patch999: 0001-vcl-assign-nullptr-after-deleting.patch
Patch1000: 0001-Move-SolarMutex-down-from-tools-to-comphelper-to-mak.patch
Patch1001: 0002-vcl-add-isInitVCL-to-not-initialize-twice.patch
Patch1002: 0003-gnome-documents-rework-SfxPickList-as-pimpl.patch
Patch1003: 0004-rhbz-1444437-gnome-documents-finalize-may-not-occur-.patch
Patch1004: 0005-gnome-documents-hold-solarmutex-on-dtor-patch-as-wel.patch
Patch1005: 0006-Resolves-rhbz-144437-make-gnome-documents-not-crash-.patch
Patch1006: 0001-gtktiledviewer-allow-testing-of-destroyView.patch
Patch1007: 0001-Resolves-rhbz-1454693-segv-on-interrupting-tiled-ren.patch
#end rebase

%endif

%define instdir %{_libdir}
%define baseinstdir %{instdir}/libreoffice
%define sdkinstdir %{baseinstdir}/sdk
%define fontname opensymbol

%description
LibreOffice is an Open Source, community-developed, office productivity suite.
It includes the key desktop applications, such as a word processor,
spreadsheet, presentation manager, formula editor and drawing program, with a
user interface and feature set similar to other office suites.  Sophisticated
and flexible, LibreOffice also works transparently with a variety of file
formats, including Microsoft Office File Formats.

%package filters
Summary: All import / export filters
Group: Applications/Productivity
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
Requires: %{name}-math = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-xsltfilter = %{epoch}:%{version}-%{release}

%description filters
Metapackage to pull in all subpackages that contain import or export
filters.

%package core
Summary: Core modules for LibreOffice
Group: Applications/Productivity
Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0
Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts
Requires: google-crosextra-caladea-fonts, google-crosextra-carlito-fonts
Requires: hyphen-en, hyphen >= 2.4, autocorr-en
# rhbz#949106 libreoffice-core drags in both openjdk 1.7.0 and 1.8.0
Requires: java-headless >= 1:1.6
Requires: hunspell-en-US
Requires(pre):    gtk2 >= 2.9.4
Requires(post):   gtk2 >= 2.9.4
Requires(preun):  gtk2 >= 2.9.4
Requires(postun): gtk2 >= 2.9.4
Obsoletes: libreoffice-appdata < 1:4.3.3.0
Obsoletes: libreoffice-binfilter < 1:4.0.0.0
Obsoletes: libreoffice-headless < 1:4.4.0.0
Obsoletes: libreoffice-javafilter < 1:4.1.0.0
Obsoletes: openoffice.org-core < 1:3.3.1
Obsoletes: openoffice.org-brand < 1:3.3.1, broffice.org-brand < 1:3.3.1
Obsoletes: openoffice.org-headless < 1:3.3.1
Obsoletes: openoffice.org-javafilter < 1:3.3.1
Obsoletes: openoffice.org-langpack-ms < 1:3.3.1, libreoffice-langpack-ms < 1:3.3.99.1
Obsoletes: openoffice.org-langpack-ur < 1:3.3.1, libreoffice-langpack-ur < 1:3.3.99.1
Obsoletes: openoffice.org-testtools < 1:3.3.1
Obsoletes: libreoffice-testtools < 1:3.4.99.1
Obsoletes: autocorr-eu < 1:4.0.1.2
Provides: libreoffice-headless = %{epoch}:%{version}-%{release}

%description core
The shared core libraries and support files for LibreOffice.

%package pyuno
Summary: Python support for LibreOffice
Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: %{libo_python}
Obsoletes: openoffice.org-pyuno < 1:3.3.1

%description pyuno
Python bindings for the LibreOffice UNO component model. Allows scripts both
external to LibreOffice and within the internal LibreOffice scripting framework
to be written in python.

%package base
Summary: Database front-end for LibreOffice
Group: Applications/Productivity
Requires: pentaho-reporting-flow-engine
Requires: postgresql-jdbc
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-report-builder < 1:4.1.0.0
Obsoletes: openoffice.org-base-core < 1:3.3.1
Obsoletes: openoffice.org-base < 1:3.3.1, broffice.org-base < 1:3.3.1
Obsoletes: openoffice.org-report-builder < 1:3.3.1

%description base
GUI database front-end for LibreOffice. Allows creation and management of 
databases through a GUI.

%package bsh
Summary: BeanShell support for LibreOffice
Group: Development/Libraries
Requires: bsh
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-bsh < 1:3.3.1

%description bsh
Support BeanShell scripts in LibreOffice.

%package officebean
Summary: JavaBean for LibreOffice Components
Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release}

%description officebean
Allows embedding of LibreOffice documents within the Java environment. It
provides a Java AWT window into which the backend LibreOffice process draws
its visual representation

%package rhino
Summary: JavaScript support for LibreOffice
Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-rhino < 1:3.3.1

%description rhino
Support JavaScript scripts in LibreOffice.

%package wiki-publisher
Summary: Create Wiki articles on MediaWiki servers with LibreOffice
Group: Applications/Productivity
Requires: apache-commons-codec, jakarta-commons-httpclient
Requires: apache-commons-lang, apache-commons-logging
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-wiki-publisher < 1:3.3.1

%description wiki-publisher
The Wiki Publisher enables you to create Wiki articles on MediaWiki servers
without having to know the syntax of the MediaWiki markup language. Publish
your new and existing documents transparently with writer to a wiki page.

%package nlpsolver
Summary: Non-linear solver engine for LibreOffice Calc
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-calc = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}

%description nlpsolver
A non-linear solver engine for Calc as an alternative to the default linear
programming model when more complex, nonlinear programming is required.

%package ogltrans
Summary: 3D OpenGL slide transitions for LibreOffice
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-impress = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-ogltrans < 1:3.3.1

%description ogltrans
OpenGL Transitions enable 3D slide transitions to be used in LibreOffice.
Requires good quality 3D support for your graphics card for best experience.

%package pdfimport
Summary: PDF Importer for LibreOffice Draw
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-draw = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-pdfimport < 1:3.3.1

%description pdfimport
The PDF Importer imports PDF into drawing documents to preserve layout
and enable basic editing of PDF documents.

%package %{fontname}-fonts
Summary: LibreOffice dingbats font
Group: User Interface/X
Requires: fontpackages-filesystem
Obsoletes: openoffice.org-fonts < 1:3.3.1
Obsoletes: openoffice.org-opensymbol-fonts < 1:3.3.1
BuildArch: noarch

%description %{fontname}-fonts
A dingbats font, OpenSymbol, suitable for use by LibreOffice for bullets and
mathematical symbols. 

%package writer
Summary: LibreOffice Word Processor Application
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-writer-core < 1:3.3.1
Obsoletes: openoffice.org-writer < 1:3.3.1, broffice.org-writer < 1:3.3.1

%description writer
The LibreOffice Word Processor application.

%package emailmerge
Summary: Email mail-merge component for LibreOffice 
Group: Applications/Productivity
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-emailmerge < 1:3.3.1

%description emailmerge
Enables the LibreOffice writer module to mail-merge to email.

%package calc
Summary: LibreOffice Spreadsheet Application
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-calc-core < 1:3.3.1
Obsoletes: openoffice.org-calc < 1:3.3.1, broffice.org-calc < 1:3.3.1

%description calc
The LibreOffice Spreadsheet application.

%package draw
Summary: LibreOffice Drawing Application
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-pdfimport = %{epoch}:%{version}-%{release}
Requires: %{name}-graphicfilter = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-draw-core < 1:3.3.1
Obsoletes: openoffice.org-draw < 1:3.3.1, broffice.org-draw < 1:3.3.1

%description draw
The LibreOffice Drawing Application.

%package impress
Summary: LibreOffice Presentation Application
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-presentation-minimizer < 2:4.2.0.0-1.alpha1
Obsoletes: %{name}-presenter-screen < 2:4.0.0.0-1.beta1
Obsoletes: openoffice.org-impress-core < 1:3.3.1
Obsoletes: openoffice.org-impress < 1:3.3.1, broffice.org-impress < 1:3.3.1
Obsoletes: openoffice.org-presentation-minimizer < 1:3.3.1
Obsoletes: openoffice.org-presenter-screen < 1:3.3.1
Provides: %{name}-presentation-minimizer%{?_isa} = %{epoch}:%{version}-%{release}
Provides: %{name}-presenter-screen%{?_isa} = %{epoch}:%{version}-%{release}

%description impress
The LibreOffice Presentation Application.

%package math
Summary: LibreOffice Equation Editor Application
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-math-core < 1:3.3.1
Obsoletes: openoffice.org-math < 1:3.3.1, broffice.org-math < 1:3.3.1

%description math 
The LibreOffice Equation Editor Application.

%package graphicfilter
Summary: LibreOffice Extra Graphic filters
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-graphicfilter < 1:3.3.1

%description graphicfilter
The graphicfilter module for LibreOffice provides graphic filters, e.g. svg and
flash filters.

%package xsltfilter
Summary: Optional xsltfilter module for LibreOffice
Group: Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-xsltfilter < 1:3.3.1

%description xsltfilter
The xsltfilter module for LibreOffice, provides additional docbook and
xhtml export transforms. Install this to enable docbook export.

%package postgresql
Summary: PostgreSQL connector for LibreOffice
Group: Applications/Productivity
Requires: %{name}-base = %{epoch}:%{version}-%{release}
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: postgresql-libs

%description postgresql
A PostgreSQL connector for the database front-end for LibreOffice. Allows
creation and management of PostgreSQL databases through a GUI.

%package ure
Summary: UNO Runtime Environment
Group: Development/Libraries
#rhbz#1164551 we want to ensure that a libjvm.so of this arch is available
%if 0%{?__isa_bits} == 64
Requires: libjvm.so()(64bit)
%endif
Requires: unzip
Obsoletes: openoffice.org-ure < 1:3.3.1

%description ure
UNO is the component model of LibreOffice. UNO offers interoperability between
programming languages, other components models and hardware architectures,
either in process or over process boundaries, in the Intranet as well as in the
Internet. UNO components may be implemented in and accessed from any
programming language for which a UNO implementation (AKA language binding) and
an appropriate bridge or adapter exists

%package sdk
Summary: Software Development Kit for LibreOffice
Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}
Requires: unzip, java-devel
Obsoletes: openoffice.org-sdk < 1:3.3.1, openoffice.org-devel < 1:3.3.1

%description sdk
The LibreOffice SDK is an add-on for the LibreOffice office suite. It provides
the necessary tools for programming using the LibreOffice APIs and for creating
extensions (UNO components) for LibreOffice.  To set the build environment for
building against the sdk use %{sdkinstdir}/setsdkenv_unix.sh.

%package sdk-doc
Summary: Software Development Kit documentation for LibreOffice
Group: Documentation
Requires: %{name}-sdk = %{epoch}:%{version}-%{release}
Obsoletes: openoffice.org-sdk-doc < 1:3.3.1

%description sdk-doc
This provides documentation for programming using the LibreOffice APIs
and examples of creating extensions (UNO components) for LibreOffice.

%package glade
Summary: Support for creating LibreOffice dialogs in glade
Group: Development/Libraries
Requires: %{name}-core = %{epoch}:%{version}-%{release}
Requires: %{name}-ure = %{epoch}:%{version}-%{release}

%description glade
%{name}-glade contains a catalog of LibreOffice-specific widgets for
glade and ui-previewer tool to check the visual appearance of dialogs.

%package librelogo
Summary: LibreLogo scripting language
Group: Applications/Productivity
Requires: %{name}-writer = %{epoch}:%{version}-%{release}
Requires: %{name}-pyuno = %{epoch}:%{version}-%{release}

%description librelogo
Enables LibreLogo scripting in Writer. LibreLogo is a Logo-like
programming language with interactive vectorgraphics for education and
DTP.

%if 0%{?fedora}

%package kde
Summary: LibreOffice KDE integration plug-in
Group:   Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}

%description kde
A plug-in for LibreOffice that enables integration into the KDE desktop environment.

%package gtk3
Summary: LibreOffice GTK+ 3 integration plug-in
Group:   Applications/Productivity
Requires: %{name}-core = %{epoch}:%{version}-%{release}

%description gtk3
A plug-in for LibreOffice that enables integration into GTK+ 3 environment.
This plugin is experimental and it is not suggested for normal use.

%endif

%package -n libreofficekit
Summary: A library providing access to LibreOffice functionality
Requires: %{name}-core = %{epoch}:%{version}-%{release}
License: MPLv2.0

%description -n libreofficekit
LibreOfficeKit can be used to access LibreOffice functionality
through C/C++, without any need to use UNO.

For now it only offers document conversion (in addition to an
experimental tiled rendering API).

%package -n libreofficekit-devel
Summary: Development files for libreofficekit
Requires: libreofficekit%{?_isa} = %{epoch}:%{version}-%{release}
License: MPLv2.0

%description -n libreofficekit-devel
The libreofficekit-devel package contains libraries and header files for
developing applications that use libreofficekit.

%if 0%{?_enable_debug_packages}

%define debug_package %{nil}
%global __debug_package 1

%package debuginfo
Summary: Debug information for package %{name}
Group: Development/Debug
AutoReqProv: 0
%if 0%{?fedora}
Requires: libreoffice-core = %{epoch}:%{version}-%{release}
Recommends: libreoffice-gdb-debug-support = %{epoch}:%{version}-%{release}
%endif

%description debuginfo
This package provides debug information for package %{name}.
Debug information is useful when developing applications that use this
package or when debugging this package.

%files debuginfo -f debugfiles.list

%package gdb-debug-support
Summary: Additional support for debugging with gdb
Group: Development/Debug
Requires: gdb
Requires: %{libo_python}-six
AutoReqProv: 0

%description gdb-debug-support
This package provides gdb pretty printers for package %{name}.

%files gdb-debug-support
%{_datadir}/gdb/auto-load%{baseinstdir}
%{_datadir}/libreoffice/gdb

%endif

%define _langpack_common() \
%{baseinstdir}/program/resource/*%{1}.res  \
%{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
%{baseinstdir}/share/config/soffice.cfg/*/ui/res/%{1}.zip \
%{baseinstdir}/share/template/%{1} \
%{baseinstdir}/share/registry/Langpack-%{1}.xcd \
%{baseinstdir}/share/registry/res/registry_%{1}.xcd \
%{baseinstdir}/share/registry/res/fcfg_langpack_%{1}.xcd \
%{nil}

# Defines a language pack subpackage.
#
# It's necessary to define language code (-l) and language name (-n).
# Additionally, it's possible
# * to require autocorr, hunspell, hyphen or mythes package or font for
#   given language,
# * to obsolete openoffice.org-langpack package,
# * to provide libreoffice-langpack-loc package, where loc is glibc
#   locale--this is necessary for yum to pick it automatically,
# * to require other, unrelated, packages,
# * to specify file serving as file list.
# For these, lower case character argument takes an argument specifying
# language, upper case character argument uses language from -l.
#
# All remaining arguments are considered to be files and added to the file
# list.
#
# Aa:  autocorr dependency
# c:   additional config file (just the name stem)
# E    the package does not contain any files (i.e., has empty filelist)
# Ff:  font language dependency
# Hh:  hunspell dependency
# i:   additional language added to this package
# L:   internal (LibreOffice) language code, used in file names
# l:   language code, e.g., cs
# Mm:  mythes dependency
# n:   language name, e.g., Czech
# Oo:  Obsoletes: of openoffice.org-langpack
# Vv:  Very archaic Obsoletes: of openoffice.org-langpack
# Ww:  Archaic Obsoletes: of openoffice.org2-langpack
# p:   Provides: of libreoffice-langpack
# r:   comma-separated list of additional requires
# S:s: script classification (cjk, ctl). -S is only a marker, as it does
#      not add any .xcd into the package (the file does not exist for at
#      least one CTL-using locale, si)
# T    has help files
# Xx:  has autotext definitions
# Yy:  hyphen dependency
#
# Example:
# libreoffice-langpack-cs: langpack for Czech lang. requiring hyphen-cs,
# autocorr-cs, mythes-cs-CZ and suitable font, obsoleting
# openoffice.org-langpack-cs_CZ:
# %%langpack -l cs -n Czech -H -A -m cs-CZ
#  b de g  jk     q  tu    z BCD  G IJK  N PQR  U    Z0123456789
%define langpack(Aa:c:EFf:Hh:i:L:l:Mm:n:p:Oo:r:S:s:TVv:Ww:Xx:Yy:) \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define _langpack_lang %{-L:%{-L*}}%{!-L:%{lang}} \
%define pkgname langpack-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%global langpack_langs %{langpack_langs} %{_langpack_lang} %{-i:%{-i*}} \
\
%package %{pkgname} \
Summary: %{langname} language pack for LibreOffice \
Group: Applications/Productivity \
Requires: %{name}-core = %{epoch}:%{version}-%{release} \
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
%{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
%{-r:Requires: %{-r*}} \
%{-o:Obsoletes: openoffice.org-langpack-%{-o*} < 1:3.3.1}%{!-o:%{-O:Obsoletes: openoffice.org-langpack-%{lang} < 1:3.3.1}} \
%{-w:Obsoletes: openoffice.org2-langpack-%{-x*} < 1:3.0.0}%{!-x:%{-W:Obsoletes: openoffice.org2-langpack-%{lang} < 1:3.0.0}} \
%{-v:Obsoletes: openoffice.org-langpack-%{-v*} < 1:2.0.3}%{!-v:%{-V:Obsoletes: openoffice.org-langpack-%{lang} < 1:2.0.3}} \
%{-p:Provides: %{name}-langpack-%{-p*}} \
\
%description %{pkgname} \
Provides additional %{langname} translations and resources for LibreOffice. \
\
%files %{pkgname} \
%{!-E: \
%{expand:%%_langpack_common %{_langpack_lang}} \
%{-x:%{baseinstdir}/share/autotext/%{-x*}}%{!-x:%{-X:%{baseinstdir}/share/autotext/%{_langpack_lang}}} \
%{-c:%{baseinstdir}/share/registry/%{-c*}.xcd} \
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-T: \
%docdir %{baseinstdir}/help/%{_langpack_lang} \
%{baseinstdir}/help/%{_langpack_lang} \
} \
%{-i:%{expand:%%_langpack_common %{-i*}}} \
} \
%{nil}

# Defines an auto-correction subpackage.
#
# i: add autocorrections from additional language
# l: language code
# n: language name
# L  the filename does not contain country code
#
# All remaining arguments are considered to be files and added to the file
# list.
%define autocorr(i:Ll:n:) \
%define lang %{-l:%{-l*}}%{!-l:%{error:Language code not defined}} \
%define pkgname autocorr-%{lang} \
%define langname %{-n:%{-n*}}%{!-n:%{error:Language name not defined}} \
\
%package -n %{pkgname} \
Summary: %{langname} auto-correction rules \
Group: Applications/Text \
BuildArch: noarch \
\
%description -n %{pkgname} \
Rules for auto-correcting common %{langname} typing errors. \
\
%files -n %{pkgname} \
%doc instdir/LICENSE \
%dir %{_datadir}/autocorr \
%{-L:%{_datadir}/autocorr/acor_%{lang}.dat} \
%{!-L:%{_datadir}/autocorr/acor_%{lang}-*.dat} \
%{-i:%{_datadir}/autocorr/acor_%{-i*}-*.dat} \
%{nil}

%langpack -l en -n English -F -H -Y -M -A -E -L en-US -O

%if %{with langpacks}

%langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -V -w af_ZA
%langpack -l ar -n Arabic -F -H -s ctl -O -W
%langpack -l as -n Assamese -F -H -Y -o as_IN -w as_IN
%langpack -l bg -n Bulgarian -F -H -Y -M -A -T -X -o bg_BG -V -w bg_BG
%langpack -l bn -n Bengali -F -H -Y -T -O -v bn_IN -W
%langpack -l br -n Breton -F -H
%langpack -l ca -n Catalan -F -H -Y -M -A -T -o ca_ES -V -w ca_ES -X
%langpack -l cs -n Czech -F -H -Y -M -A -T -X -o cs_CZ -V -w cs_CZ
%langpack -l cy -n Welsh -F -H -Y -o cy_GB -V -w cy_GB
%langpack -l da -n Danish -F -H -Y -M -A -T -X -o da_DK -V -w da_DK
%langpack -l de -n German -F -H -Y -M -A -T -X -O -W
%langpack -l dz -n Dzongkha -F -s ctl -T -O
%langpack -l el -n Greek -F -H -Y -M -T -o el_GR -V -w el_GR
%langpack -l es -n Spanish -F -H -Y -M -A -T -X -O -W
%langpack -l et -n Estonian -F -H -Y -T -o et_EE -V -w et_EE
%langpack -l eu -n Basque -F -H -Y -T -o eu_ES -V -w eu_ES
%langpack -l fa -n Farsi -A -H -Y -s ctl -X
%langpack -l fi -n Finnish -F -r libreoffice-voikko -A -T -o fi_FI -V -w fi_FI -X
%langpack -l fr -n French -F -H -Y -M -A -T -X -O -W
%langpack -l ga -n Irish -F -H -Y -M -A -o ga_IE -w ga_IE
%langpack -l gl -n Galician -F -H -Y -T -o gl_ES -V -w gl_ES
%langpack -l gu -n Gujarati -F -H -Y -s ctl -o gu_IN -w gu_IN -T
%langpack -l he -n Hebrew -F -H -s ctl -o he_IL -V -w he_IL -T
%langpack -l hi -n Hindi -F -H -Y -s ctl -T -o hi_IN -v hi-IN -w hi_IN -X
%langpack -l hr -n Croatian -F -H -Y -A -o hr_HR -V -w hr_HR -T -X
%langpack -l hu -n Hungarian -F -H -Y -M -A -T -X -o hu_HU -V -w hu_HU
%langpack -l it -n Italian -F -H -Y -M -A -T -X -O -W
%langpack -l ja -n Japanese -F -A -s cjk -T -X -o ja_JP -V -w ja_JP
%langpack -l kk -n Kazakh -F -H
%langpack -l kn -n Kannada -F -H -Y -o kn_IN -w ka_IN
%langpack -l ko -n Korean -F -H -A -s cjk -T -X -o ko_KR -V -w ko_KR
%langpack -l lt -n Lithuanian -F -H -Y -A -o lt_LT -V -w lt_LT -X
%langpack -l lv -n Latvian -F -H -Y -M
%langpack -l mai -n Maithili -F -o mai_IN
%langpack -l ml -n Malayalam -F -H -Y -o ml_IN -w ml_IN
%langpack -l mr -n Marathi -F -H -Y -o mr_IN -w mr_IN
%langpack -l nb -n Bokmal -F -H -Y -M -T -o nb_NO -V -w nb_NO
%langpack -l nl -n Dutch -F -H -Y -M -A -T -X -O -W
%langpack -l nn -n Nynorsk -F -H -Y -M -T -o nn_NO -V -w nn_NO
%define langpack_lang Southern Ndebele
%langpack -l nr -n %{langpack_lang} -F -H -o nr_ZA
%define langpack_lang Northern Sotho
%langpack -l nso -n %{langpack_lang} -F -H -o nso_ZA -w nso_ZA
%langpack -l or -n Odia -F -H -Y -s ctl -o or_IN -w or_IN
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -O -v pa_IN -w pa_IN
%langpack -l pl -n Polish -F -H -Y -M -A -T -X -o pl_PL -V -w pl_PL
%define langpack_lang Brazilian Portuguese
%langpack -l pt-BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -o pt_BR -V -w pt_BR
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt -o pt_PT -v pt -W
%langpack -l ro -n Romanian -A -F -H -Y -M -O -X
%langpack -l ru -n Russian -F -H -Y -M -A -T -X -O -W
%langpack -l si -n Sinhalese -F -H -S ctl -T -O
%langpack -l sk -n Slovak -F -H -Y -M -A -T -X -o sk_SK -V -w sk_SK
%langpack -l sl -n Slovenian -F -H -Y -M -A -T -X -o sl_SI -V -w sl_SI
%{baseinstdir}/share/wordbook/sl.dic

#rhbz#452379 clump serbian translations together
%langpack -l sr -n Serbian -F -H -Y -A -i sr-Latn -O -v sr_CS -w sr_CS
%langpack -l ss -n Swati -F -H -o ss_ZA
%define langpack_lang Southern Sotho
%langpack -l st -n %{langpack_lang} -F -H -o st_ZA
%langpack -l sv -n Swedish -F -H -Y -M -A -T -X -O -W
%langpack -l ta -n Tamil -F -H -Y -s ctl -o ta_IN -w ta_IN
%langpack -l te -n Telugu -F -H -Y -o te_IN -w te_IN
%langpack -l th -n Thai -F -H -s ctl -c ctlseqcheck_th -o th_TH -V -w th_TH
%langpack -l tn -n Tswana -F -H -o tn_ZA -V -w tn_ZA
%langpack -l tr -n Turkish -F -A -T -X -o tr_TR -V -W
%langpack -l ts -n Tsonga -F -H -o ts_ZA -V -w ts_ZA
%langpack -l uk -n Ukrainian -F -H -Y -M -T -O
%langpack -l ve -n Venda -F -H -o ve_ZA
%langpack -l xh -n Xhosa -F -H -o xh_ZA
%define langpack_lang Simplified Chinese
%langpack -l zh-Hans -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -o zh_CN -v zh-CN -w zh_CN
%define langpack_lang Traditional Chinese
%langpack -l zh-Hant -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -o zh_TW -v zh-TW -w zh_TW
%langpack -l zu -n Zulu -F -H -Y -o zu_ZA -V -w zu_ZA
%undefine langpack_lang

%endif

%autocorr -l en -n English

%if %{with langpacks}

%autocorr -l af -n Afrikaans
%autocorr -l bg -n Bulgarian
%autocorr -l ca -n Catalan
%autocorr -l cs -n Czech
%autocorr -l da -n Danish
%autocorr -l de -n German -L
%autocorr -l es -n Spanish -L
%autocorr -l fa -n Farsi
%autocorr -l fi -n Finnish
%autocorr -l fr -n French -L
%autocorr -l ga -n Irish
%autocorr -l hr -n Croatian
%autocorr -l hu -n Hungarian
%autocorr -l is -n Icelandic
%autocorr -l it -n Italian -L
%autocorr -l ja -n Japanese
%autocorr -l ko -n Korean
%autocorr -l lb -n Luxembourgish
%autocorr -l lt -n Lithuanian
%autocorr -l mn -n Mongolian
%autocorr -l nl -n Dutch
%autocorr -l pl -n Polish
%autocorr -l pt -n Portuguese
%autocorr -l ro -n Romanian
%autocorr -l ru -n Russian
%autocorr -l sk -n Slovak
%autocorr -l sl -n Slovenian
#rhbz#452379 clump serbian autocorrections together
%autocorr -l sr -n Serbian -i sr-Latn
%autocorr -l sv -n Swedish
%autocorr -l tr -n Turkish
%autocorr -l vi -n Vietnamese
%autocorr -l zh -n Chinese

%endif

%define make_autocorr_aliases(l:) \
%{?-l: \
for lang in %{*}; do \
    ln -sf acor_%{-l*}.dat acor_$lang.dat \
done \
} \
%{!?-l:%{error:-l must be present}}

%prep
%setup -q -n %{name}-%{version}%{?libo_prerelease} -b 1 -b 2
rm -rf git-hooks */git-hooks

# set up git repo
git init
git config user.name rpmbuild
git config user.email rpmbuild@fedoraproject.org
git config gc.auto 0 # disable auto packing
git add -A
git commit -q -a -m %{name}-%{version}

#Customize Palette to add Red Hat colours
(head -n -1 extras/source/palettes/standard.soc && \
 echo -e '  <draw:color draw:name="Red Hat 1" draw:color="#cc0000"/>
  <draw:color draw:name="Red Hat 2" draw:color="#0093d9"/>
  <draw:color draw:name="Red Hat 3" draw:color="#ff8d00"/>
  <draw:color draw:name="Red Hat 4" draw:color="#abb400"/>
  <draw:color draw:name="Red Hat 5" draw:color="#4e376b"/>' && \
 tail -n 1 extras/source/palettes/standard.soc) > redhat.soc
mv -f redhat.soc extras/source/palettes/standard.soc
git commit -q -a -m 'add Red Hat colors to palette'

# apply patches
git am %{patches}

sed -i -e /CppunitTest_sw_ooxmlimport/d sw/Module_sw.mk
# fails on all secondary platforms
sed -i -e /CppunitTest_vcl_outdev/d vcl/Module_vcl.mk
sed -i -e /CppunitTest_vcl_bitmap_test/d vcl/Module_vcl.mk
git commit -q -a -m 'temporarily disable failing tests'

# Seeing .git dir makes some of the build tools change their behavior.
# We do not want that. Note: it is still possible to use
# git --git-dir=.git-rpm
mv .git .git-rpm

%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
echo building localizations: %{langpack_langs}
# path to external tarballs
EXTSRCDIR=`dirname %{SOURCE0}`

%if 0%{?fedora}
# KDE bits
export QT4DIR=%{_qt4_prefix}
export KDE4DIR=%{_kde4_prefix}
export PATH=$QT4DIR/bin:$PATH
%endif

#use the RPM_OPT_FLAGS but remove the OOo overridden ones
for i in $RPM_OPT_FLAGS; do
        case "$i" in
                -pipe|-Wall|-Werror*|-g|-fexceptions) continue;;
        esac
        ARCH_FLAGS="$ARCH_FLAGS $i"
done
%ifarch s390 aarch64
# these builders typically do not have enough memory to link the big libs with -g2
ARCH_FLAGS="$ARCH_FLAGS -g1"
%endif
export ARCH_FLAGS
export CFLAGS=$ARCH_FLAGS
export CXXFLAGS=$ARCH_FLAGS

%if 0%{?rhel}
%define distrooptions --disable-eot --disable-gltf --disable-firebird-sdbc --enable-python=system
%else # fedora
%define distrooptions --enable-eot --enable-kde4 --with-system-opencollada --with-system-ucpp
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
%endif

%if %{with langpacks}
%define with_lang --with-lang='%{langpack_langs}'
%endif

%if ! 0%{libo_use_python3}
export PYTHON=%{_bindir}/python
export PYTHON_CFLAGS=`pkg-config --cflags python`
export PYTHON_LIBS=`pkg-config --libs python`
%endif

# %%if 0%%{?rhel} && 0%%{?rhel} < 7
aclocal -I m4
autoconf
# %endif

# TODO: enable coinmp?
# avoid running autogen.sh on make
touch autogen.lastrun
# NOTE: --enable-gtk3 is just for libreofficekit
%configure \
 %vendoroption \
 %{?with_lang} \
 %{?_smp_mflags:--with-parallelism=%{_smp_mflags}} \
 --disable-coinmp \
 --disable-fetch-external \
 --disable-gnome-vfs \
 --disable-openssl \
 --enable-evolution2 \
 --enable-ext-nlpsolver \
 --enable-ext-wiki-publisher \
 --enable-gtk3 \
 --enable-release-build \
 --enable-scripting-beanshell \
 --enable-scripting-javascript \
 --enable-symbols \
 --with-build-version="%{version}-%{release}" \
 --with-external-dict-dir=/usr/share/myspell \
 --with-external-tar="$EXTSRCDIR" \
 --with-help \
 --with-system-dicts \
 --with-system-libs \
 --without-fonts \
 --without-system-npapi-headers \
 --with-gdrive-client-secret="GYWrDtzyZQZ0_g5YoBCC6F0I" \
 --with-gdrive-client-id="457862564325.apps.googleusercontent.com" \
 %{distrooptions} \
 %{?bundling_options} \
 %{?archoptions}

ulimit -c unlimited
# make VERBOSE=true
make verbose=true build-nocheck

#generate the icons and mime type stuff
export DESTDIR=../output
export KDEMAINDIR=/usr
export GNOMEDIR=/usr
export GNOME_MIME_THEME=hicolor
export PREFIXDIR=/usr
# TODO use empty variables? Should make the renaming hacks in %%install
# unnecessary.
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR PKG_CONFIG INSTDIR
pushd $WORKDIR/CustomTarget/sysui/share/libreoffice
./create_tree.sh
popd
mkdir $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/output/usr/share/* $WORKDIR/os-integration
cp -pr $WORKDIR/CustomTarget/sysui/share/output/girepository-1.0/LOKDocView-0.1.typelib $WORKDIR/os-integration

%if %{with smallbuild}
# remove the biggest offenders
# NOTE: not removing complete LinkTarget, as some libs are needed for smoketest
rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/LinkTarget/CppunitTest
%endif

echo build end time is `date`, diskspace: `df -h . | tail -n 1`


%install
# TODO investigate use of make distro-pack-install
#figure out the icon version
. ./bin/get_config_variables PRODUCTVERSIONSHORT PRODUCTVERSION SRCDIR WORKDIR
export PRODUCTVERSIONSHORT PRODUCTVERSION

# installation

install -m 0755 -d %{buildroot}%{instdir}
if ! make instsetoo_native PKGFORMAT=installed EPM=not-used-but-must-be-set; then
    echo - ---dump log start---
    cat $WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log
    echo - ---dump log end---
    echo - ---dump log start -- SDK---
    cat $WORKDIR/installation/LibreOffice_SDK/installed/logging/en-US/log_*_en-US.log
    echo - ---dump log end -- SDK---
    echo - ---dump log start -- languagepacks---
    cat $WORKDIR/installation/LibreOffice_languagepack/installed/logging/en-US/log_*_en-US.log
    echo - ---dump log end -- languagepacks---
    exit 1
fi
install -m 0755 -d %{buildroot}%{baseinstdir}
mv $WORKDIR/installation/LibreOffice/installed/install/en-US/* %{buildroot}%{baseinstdir}
%if %{with langpacks}
for langpack in $WORKDIR/installation/LibreOffice_languagepack/installed/install/*; do
  [ `basename $langpack` = log ] && continue
  cp -rp $langpack/* %{buildroot}%{baseinstdir}
  rm -rf $langpack
done
%endif
mv $WORKDIR/installation/LibreOffice_SDK/installed/install/en-US/sdk %{buildroot}%{sdkinstdir}
chmod -R +w %{buildroot}%{baseinstdir}

# postprocessing and tweaks

# The installer currently sets UserInstallation to
# $ORIGIN/../libreoffice/4, which is of course total nonsense. Because I
# have no inclination to crawl through mountains of perl code to figure out
# where it comes from, I am just going to replace it by a sensible
# value here.
sed -i -e '/UserInstallation/s@\$ORIGIN/..@$SYSUSERCONFIG@' %{buildroot}%{baseinstdir}/program/bootstraprc

#configure sdk
pushd %{buildroot}%{sdkinstdir}
    sed -e "s,@OO_SDK_NAME@,sdk," \
        -e "s,@OO_SDK_HOME@,%{sdkinstdir}," \
        -e "s,@OFFICE_HOME@,%{baseinstdir}," \
        -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \
        -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \
        -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \
        -e "s,@OO_SDK_CAT_HOME@,/usr/bin," \
        -e "s,@OO_SDK_SED_HOME@,/usr/bin," \
        -e "s,@OO_SDK_CC_55_OR_HIGHER@,," \
        -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \
        -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \
        -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \
        setsdkenv_unix.sh.in > setsdkenv_unix.sh
    # ensure no unexpanded vars sneaked in
    grep '@[A_Z0-9_]\+@' setsdkenv_unix.sh && exit 1
    chmod 755 setsdkenv_unix.sh
    # we don't want to install the input file
    rm -f setsdkenv_unix.sh.in
# TODO: is this still necessary?
#fix permissions
    find examples -type f -exec chmod -x {} \;
popd

#ensure a template dir for each lang
pushd %{buildroot}%{baseinstdir}/share/template
for I in %{langpack_langs}; do
    mkdir -p $I
done
popd

#Set some aliases to canonical autocorrect language files for locales with matching languages
pushd %{buildroot}%{baseinstdir}/share/autocorr

%make_autocorr_aliases -l en-GB en-AG en-AU en-BS en-BW en-BZ en-CA en-DK en-GH en-HK en-IE en-IN en-JM en-NG en-NZ en-SG en-TT
%make_autocorr_aliases -l en-US en-PH
#en-ZA exists and has a good autocorrect file with two or three extras that make sense for 
#neighbouring english speaking territories
%make_autocorr_aliases -l en-ZA en-NA en-ZW
%if %{with langpacks}
%make_autocorr_aliases -l af-ZA af-NA
%make_autocorr_aliases -l nl-NL nl-AW
%make_autocorr_aliases -l sv-SE sv-FI
%else
rm -f acor_[a-df-z]*.dat acor_e[su]*.dat
%endif
popd
#rhbz#484055 make these shared across multiple applications
install -m 0755 -d %{buildroot}%{_datadir}
mv -f %{buildroot}%{baseinstdir}/share/autocorr %{buildroot}%{_datadir}/autocorr
chmod 755 %{buildroot}%{_datadir}/autocorr
ln -s %{_datadir}/autocorr %{buildroot}%{baseinstdir}/share/autocorr

#remove it in case we didn't build with gcj
rm -f %{buildroot}%{baseinstdir}/program/classes/sandbox.jar

#remove dummy .dat files
rm -f %{buildroot}%{baseinstdir}/program/root?.dat

#set standard permissions for rpmlint
find %{buildroot}%{baseinstdir} -exec chmod +w {} \;
find %{buildroot}%{baseinstdir} -type d -exec chmod 0755 {} \;

# move python bits into site-packages
install -m 0755 -d %{buildroot}%{libo_python_sitearch}
pushd %{buildroot}%{libo_python_sitearch}
echo "import sys, os" > uno.py
echo "sys.path.append('%{baseinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:%{baseinstdir}/program/fundamentalrc')" >> uno.py
cat %{buildroot}%{baseinstdir}/program/uno.py >> uno.py
rm -f %{buildroot}%{baseinstdir}/program/uno.py*
mv -f %{buildroot}%{baseinstdir}/program/unohelper.py* .
mv -f %{buildroot}%{baseinstdir}/program/officehelper.py* .
popd

# rhbz#477435 package opensymbol separately
pushd %{buildroot}%{baseinstdir}/share/fonts/truetype
install -d -m 0755 %{buildroot}%{_fontdir}
install -p -m 0644 *.ttf %{buildroot}%{_fontdir}
popd
rm -rf %{buildroot}%{baseinstdir}/share/fonts

%if 0%{?rhel} && 0%{?rhel} < 7
#fix rpath for redland libs
chrpath -r '$ORIGIN:$ORIGIN/../ure-link/lib' \
    %{buildroot}%{baseinstdir}/program/libraptor2-lo.so.0 \
    %{buildroot}%{baseinstdir}/program/librasqal-lo.so.3 \
    %{buildroot}%{baseinstdir}/program/librdf-lo.so.0
%endif

#ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs 
#have snuck through
pic=0
executable=0
for foo in `find %{buildroot}%{instdir} -name "*" -exec file {} \;| grep ": ELF" | cut -d: -f 1` ; do
    chmod +wx $foo
    ls -asl $foo
    result=`readelf -d $foo | grep TEXTREL` || true
    if [ "$result" != "" ]; then
        echo "TEXTREL Warning: $foo is b0rked (-fpic missing)"
        pic=1
    fi
    result=`readelf -l $foo | grep GNU_STACK | grep RWE` || true
    if [ "$result" != "" ]; then
        echo "GNU_STACK Warning: $foo is b0rked (-noexecstack missing)"
        executable=1
    fi
done
if [ $pic == 1 ]; then false; fi
if [ $executable == 1 ]; then false; fi

#make up some /usr/bin scripts
install -m 0755 -d %{buildroot}%{_bindir}

pushd %{buildroot}%{_bindir}
echo \#\!/bin/sh > ooffice
echo exec libreoffice \"\$@\" >> ooffice
chmod a+x ooffice

echo \#\!/bin/sh > ooviewdoc
echo exec libreoffice --view \"\$@\" >> ooviewdoc
chmod a+x ooviewdoc

for app in base calc draw impress math writer; do
    echo \#\!/bin/sh > oo$app
    echo exec libreoffice --$app \"\$@\" >> oo$app
    chmod a+x oo$app
done

sed -e s/LAUNCHER/unopkg/g -e s/BRAND/libreoffice/g %{SOURCE4} > unopkg
chmod a+x unopkg

sed -e s/LAUNCHER/soffice/g -e s/BRAND/libreoffice/g %{SOURCE4} > libreoffice
chmod a+x libreoffice

# rhbz#499474 provide a /usr/bin/soffice for .recently-used.xbel
ln -s %{baseinstdir}/program/soffice soffice
# rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat
ln -s libreoffice openoffice.org
popd

pushd %{buildroot}%{baseinstdir}/share/xdg/
chmod u+w *.desktop
ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'`
for file in *.desktop; do
    # rhbz#156677 remove the version from Name=
    # rhbz#156067 don't version the icons
    sed -i -e "s/ *$PRODUCTVERSION//g" \
        -e "s/$ICONVERSION//g" \
        -e "s/$PRODUCTVERSIONSHORT//g" \
        $file
done
# rhbz#156677 / rhbz#186515 do not show math and startcenter
sed -i -e /NoDisplay/s/false/true/ math.desktop startcenter.desktop
# relocate the .desktop and icon files
install -m 0755 -d %{buildroot}%{_datadir}/applications
for app in base calc draw impress math startcenter writer xsltfilter; do
    sed -i -e 's/\${UNIXBASISROOTNAME}/%{name}/' $app.desktop
    desktop-file-validate $app.desktop
    install -m 0644 -p $app.desktop %{buildroot}%{_datadir}/applications/libreoffice-$app.desktop
done
popd

pushd $WORKDIR/os-integration
#get rid of the gnome icons and other unneeded files
rm -rf icons/gnome applications application-registry

#relocate the rest of them
# rhbz#901346 512x512 icons are not used by anything
for icon in `find icons -path '*/512x512' -prune -o -type f -print`; do
    install -m 0755 -d %{buildroot}%{_datadir}/`dirname $icon`
    install -m 0644 -p $icon %{buildroot}%{_datadir}/`echo $icon | sed -e s@libreoffice$ICONVERSION-@libreoffice-@ | sed -e s@libreoffice$PRODUCTVERSION-@libreoffice-@`
done
install -m 0755 -d %{buildroot}%{_datadir}/mime-info
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.keys %{buildroot}%{_datadir}/mime-info/libreoffice.keys
install -m 0644 -p mime-info/libreoffice$PRODUCTVERSION.mime %{buildroot}%{_datadir}/mime-info/libreoffice.mime
#add our mime-types, e.g. for .oxt extensions
install -m 0755 -d %{buildroot}%{_datadir}/mime/packages
install -m 0644 -p mime/packages/libreoffice$PRODUCTVERSION.xml %{buildroot}%{_datadir}/mime/packages/libreoffice.xml

# install LibreOfficeKit
install -m 0755 -d %{buildroot}%{_libdir}/girepository-1.0
install -m 0644 -p LOKDocView-%{girapiversion}.typelib %{buildroot}%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
install -m 0755 -d %{buildroot}%{_libdir}/gir-1.0
install -m 0644 -p gir-1.0/LOKDocView-%{girapiversion}.gir %{buildroot}%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir
mv %{buildroot}%{baseinstdir}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}
popd

%if 0%{?fedora}
# install LibreOfficeKit headers
install -m 0755 -d %{buildroot}%{_includedir}/LibreOfficeKit
install -m 0644 -p include/LibreOfficeKit/* %{buildroot}%{_includedir}/LibreOfficeKit
%endif

# This is only a side effect of building LibreOfficeKit. The plugin
# itself is not usable yet in 5.0, so let's drop it.
rm -f %{buildroot}%{baseinstdir}/program/libvclplug_gtk3lo.so

rm -rf %{buildroot}%{baseinstdir}/readmes
rm -rf %{buildroot}%{baseinstdir}/licenses

# to-do, remove this in libreoffice 4.4 when --without-ppds is gone, it'll do the right thing on its own then
install -m 0755 -d %{buildroot}%{baseinstdir}/share/psprint/driver
install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{buildroot}%{baseinstdir}/share/psprint/driver/SGENPRT.PS

# rhbz#452385 to auto have postgres in classpath if subsequently installed
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc

# move glade catalog to system glade dir
install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
ln -sr %{buildroot}%{_datadir}/glade/catalogs/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs

# rhbz#1049543 install appdata
install -m 0755 -d %{buildroot}%{_datadir}/appdata
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata

# rhbz#1215800 install symbolic icons
install -m 0755 -d %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE42} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE43} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE44} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE45} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE46} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE47} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
install -m 0644 -p %{SOURCE48} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps

# install man pages
install -m 0755 -d %{buildroot}%{_mandir}/man1
install -m 0644 -p sysui/desktop/man/*.1 %{buildroot}%{_mandir}/man1
for app in oobase oocalc oodraw ooffice ooimpress oomath ooviewdoc oowriter openoffice.org soffice; do
    echo '.so man1/libreoffice.1' > $app.1
    install -m 0644 -p $app.1 %{buildroot}%{_mandir}/man1
done

export DESTDIR=%{buildroot}
./solenv/bin/install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb
# tl.pyc is sligtly different on various platforms for some reason, breaking multilib
rm -f \
    %{buildroot}%{_datadir}/gdb/auto-load%{baseinstdir}/program/libtllo.so-gdb.py \
    %{buildroot}%{_datadir}/libreoffice/gdb/libreoffice/tl.py

%if 0%{?fedora}
# Update the screenshot shown in the software center
#
# NOTE: It would be *awesome* if this file was pushed upstream.
#
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
#
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-writer.appdata.xml \
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/a.png \
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-writer/b.png 
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-calc.appdata.xml \
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-calc/a.png 
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-draw.appdata.xml \
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-draw/a.png 
appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/libreoffice-impress.appdata.xml \
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/libreoffice-impress/a.png 
%endif

%check
ulimit -c unlimited
unset WITH_LANG
# work around flawed accessibility check
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice
# fails on ppc, but we don't need that anyway
%ifnarch ppc
timeout -k 2m 2h make smoketest.subsequentcheck
%endif
# we don't need this anymore
rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar

%files

%files filters

%files core
%dir %{baseinstdir}
%dir %{baseinstdir}/help
%docdir %{baseinstdir}/help/en-US
%dir %{baseinstdir}/help/en-US
%{baseinstdir}/help/en-US/default.css
%{baseinstdir}/help/en-US/err.html
%{baseinstdir}/help/en-US/highcontrast1.css
%{baseinstdir}/help/en-US/highcontrast2.css
%{baseinstdir}/help/en-US/highcontrastblack.css
%{baseinstdir}/help/en-US/highcontrastwhite.css
%{baseinstdir}/help/en-US/sbasic.*
%{baseinstdir}/help/en-US/schart.*
%{baseinstdir}/help/en-US/shared.*
%{baseinstdir}/help/idxcaption.xsl
%{baseinstdir}/help/idxcontent.xsl
%{baseinstdir}/help/main_transform.xsl
%{baseinstdir}/presets
%dir %{baseinstdir}/program
%{baseinstdir}/program/libbasprovlo.so
%{baseinstdir}/program/libcairocanvaslo.so
%{baseinstdir}/program/libcanvasfactorylo.so
%dir %{baseinstdir}/program/classes
%{baseinstdir}/program/classes/commonwizards.jar
%{baseinstdir}/program/classes/form.jar
%{baseinstdir}/program/classes/query.jar
%{baseinstdir}/program/classes/report.jar
%{baseinstdir}/program/classes/ScriptFramework.jar
%{baseinstdir}/program/classes/ScriptProviderForJava.jar
%{baseinstdir}/program/classes/table.jar
%{baseinstdir}/program/classes/unoil.jar
%{baseinstdir}/program/classes/XMergeBridge.jar
%{baseinstdir}/program/classes/xmerge.jar
%{baseinstdir}/program/libcmdmaillo.so
%{baseinstdir}/program/libdeployment.so
%{baseinstdir}/program/libdeploymentgui.so
%{baseinstdir}/program/libdlgprovlo.so
%{baseinstdir}/program/libexpwraplo.so
%{baseinstdir}/program/flat_logo.svg
%{baseinstdir}/program/libfps_officelo.so
%{baseinstdir}/program/gdbtrace
%{baseinstdir}/program/gengal
%{baseinstdir}/program/gengal.bin
%{baseinstdir}/program/gnome-open-url
%{baseinstdir}/program/libi18nsearchlo.so
%{baseinstdir}/program/libldapbe2lo.so
%{baseinstdir}/program/libacclo.so
%{baseinstdir}/program/libavmedia*.so
%{baseinstdir}/program/libbasebmplo.so
%{baseinstdir}/program/libbasctllo.so
%{baseinstdir}/program/libbiblo.so
%{baseinstdir}/program/libcached1.so
%{baseinstdir}/program/libcanvastoolslo.so
%{baseinstdir}/program/libchart*lo.so
%{baseinstdir}/program/libclewlo.so
%{baseinstdir}/program/libcollator_data.so
%{baseinstdir}/program/libcppcanvaslo.so
%{baseinstdir}/program/libctllo.so
%{baseinstdir}/program/libcuilo.so
%{baseinstdir}/program/libdbalo.so
%{baseinstdir}/program/libdbaselo.so
%{baseinstdir}/program/libdbaxmllo.so
%{baseinstdir}/program/libdbmmlo.so
%{baseinstdir}/program/libdbpool2.so
%{baseinstdir}/program/libdbtoolslo.so
%{baseinstdir}/program/libdbulo.so
%{baseinstdir}/program/libdeploymentmisclo.so
%{baseinstdir}/program/libdesktop_detectorlo.so
%{baseinstdir}/program/libdict_ja.so
%{baseinstdir}/program/libdict_zh.so
%{baseinstdir}/program/libdrawinglayerlo.so
%{baseinstdir}/program/libeditenglo.so
%{baseinstdir}/program/libembobj.so
%{baseinstdir}/program/libemboleobj.so
%{baseinstdir}/program/libevoab*.so
%{baseinstdir}/program/libevtattlo.so
%{baseinstdir}/program/libegilo.so
%{baseinstdir}/program/libemelo.so
%{baseinstdir}/program/libepblo.so
%{baseinstdir}/program/libepglo.so
%{baseinstdir}/program/libepplo.so
%{baseinstdir}/program/libepslo.so
%{baseinstdir}/program/libeptlo.so
%{baseinstdir}/program/liberalo.so
%{baseinstdir}/program/libetilo.so
%{baseinstdir}/program/libexplo.so
%if 0%{?fedora}
%{baseinstdir}/program/libfirebird_sdbclo.so
%endif
%{baseinstdir}/program/libicdlo.so
%{baseinstdir}/program/libicglo.so
%{baseinstdir}/program/libidxlo.so
%{baseinstdir}/program/libimelo.so
%{baseinstdir}/program/libindex_data.so
%{baseinstdir}/program/libipblo.so
%{baseinstdir}/program/libipdlo.so
%{baseinstdir}/program/libipslo.so
%{baseinstdir}/program/libiptlo.so
%{baseinstdir}/program/libipxlo.so
%{baseinstdir}/program/libiralo.so
%{baseinstdir}/program/libitglo.so
%{baseinstdir}/program/libitilo.so
%{baseinstdir}/program/libfilelo.so
%{baseinstdir}/program/libfilterconfiglo.so
%{baseinstdir}/program/libflatlo.so
%{baseinstdir}/program/libfrmlo.so
%{baseinstdir}/program/libguesslanglo.so
%{baseinstdir}/program/libhelplinkerlo.so
%{baseinstdir}/program/libhyphenlo.so
%{baseinstdir}/program/libjdbclo.so
%{baseinstdir}/program/liblnglo.so
%{baseinstdir}/program/libloglo.so
%{baseinstdir}/program/liblocaledata_en.so
%{baseinstdir}/program/liblocaledata_es.so
%{baseinstdir}/program/liblocaledata_euro.so
%{baseinstdir}/program/liblocaledata_others.so
%{baseinstdir}/program/libmcnttype.so
%{baseinstdir}/program/libmorklo.so
%{baseinstdir}/program/libmozbootstraplo.so
%{baseinstdir}/program/libmsfilterlo.so
%{baseinstdir}/program/libmtfrendererlo.so
%{baseinstdir}/program/libmysqllo.so
%{baseinstdir}/program/libodbclo.so
%{baseinstdir}/program/liboglcanvaslo.so
%{baseinstdir}/program/liboffacclo.so
%{baseinstdir}/program/libooxlo.so
%{baseinstdir}/program/libopencllo.so
%{baseinstdir}/program/libpcrlo.so
%{baseinstdir}/program/libpdffilterlo.so
%{baseinstdir}/program/libpllo.so
%{baseinstdir}/program/libprotocolhandlerlo.so
%{baseinstdir}/program/libqstart_gtklo.so
%{baseinstdir}/program/librecentfile.so
%{baseinstdir}/program/libreslo.so
%{baseinstdir}/program/libsaxlo.so
%{baseinstdir}/program/libscnlo.so
%{baseinstdir}/program/libscriptframe.so
%{baseinstdir}/program/libsdlo.so
%{baseinstdir}/program/libsdfiltlo.so
%{baseinstdir}/program/libsdbc2.so
%{baseinstdir}/program/libsdbtlo.so
%{baseinstdir}/program/libsddlo.so
%{baseinstdir}/program/libsduilo.so
%{baseinstdir}/program/libspelllo.so
%{baseinstdir}/program/libsrtrs1.so
%{baseinstdir}/program/libstoragefdlo.so
%{baseinstdir}/program/libsvgiolo.so
%{baseinstdir}/program/libsvxlo.so
%{baseinstdir}/program/libsvxcorelo.so
%{baseinstdir}/program/libswdlo.so
%{baseinstdir}/program/libswlo.so
%{baseinstdir}/program/libtextconv_dict.so
%{baseinstdir}/program/libtextconversiondlgslo.so
%{baseinstdir}/program/libtextfdlo.so
%{baseinstdir}/program/libodfflatxmllo.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libucbhelper.so
%{baseinstdir}/program/libucpchelp1.so
%{baseinstdir}/program/libucpdav1.so
%{baseinstdir}/program/libucpftp1.so
%{baseinstdir}/program/libucphier1.so
%{baseinstdir}/program/libucppkg1.so
%{baseinstdir}/program/libunordflo.so
%{baseinstdir}/program/libunopkgapp.so
%{baseinstdir}/program/libunoxmllo.so
%{baseinstdir}/program/libuuilo.so
%{baseinstdir}/program/libvbahelperlo.so
%{baseinstdir}/program/libvclplug_genlo.so
%{baseinstdir}/program/libvclplug_gtklo.so
%{baseinstdir}/program/libxmlfalo.so
%{baseinstdir}/program/libxmlfdlo.so
%{baseinstdir}/program/libxoflo.so
%{baseinstdir}/program/libxsec_fw.so
%{baseinstdir}/program/libxsec_xmlsec.so
%{baseinstdir}/program/libxsltdlglo.so
%{baseinstdir}/program/libxsltfilterlo.so
%{baseinstdir}/program/libxstor.so
# TODO how useful this is in Fedora?
%{baseinstdir}/program/liblosessioninstalllo.so
%{baseinstdir}/program/libmigrationoo2lo.so
%{baseinstdir}/program/libmigrationoo3lo.so
%{baseinstdir}/program/libmsformslo.so
%dir %{baseinstdir}/program/opengl
%{baseinstdir}/program/opengl/areaHashCRC64TFragmentShader.glsl
%{baseinstdir}/program/opengl/areaScaleFragmentShader.glsl
%{baseinstdir}/program/opengl/areaScaleFastFragmentShader.glsl
%{baseinstdir}/program/opengl/backgroundFragmentShader.glsl
%{baseinstdir}/program/opengl/backgroundVertexShader.glsl
%{baseinstdir}/program/opengl/blendedTextureFragmentShader.glsl
%{baseinstdir}/program/opengl/blendedTextureVertexShader.glsl
%{baseinstdir}/program/opengl/commonFragmentShader.glsl
%{baseinstdir}/program/opengl/commonVertexShader.glsl
%{baseinstdir}/program/opengl/convolutionFragmentShader.glsl
%{baseinstdir}/program/opengl/debugFragmentShader.glsl
%{baseinstdir}/program/opengl/debugVertexShader.glsl
%{baseinstdir}/program/opengl/diffTextureFragmentShader.glsl
%{baseinstdir}/program/opengl/dumbVertexShader.glsl
%{baseinstdir}/program/opengl/dummyVertexShader.glsl
%{baseinstdir}/program/opengl/linearGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/linearMultiColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/linearTwoColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/maskedTextureFragmentShader.glsl
%{baseinstdir}/program/opengl/maskedTextureVertexShader.glsl
%{baseinstdir}/program/opengl/maskFragmentShader.glsl
%{baseinstdir}/program/opengl/pickingFragmentShader.glsl
%{baseinstdir}/program/opengl/pickingVertexShader.glsl
%{baseinstdir}/program/opengl/radialGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/radialMultiColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/radialTwoColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/rectangularMultiColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/rectangularTwoColorGradientFragmentShader.glsl
%{baseinstdir}/program/opengl/renderTextureFragmentShader.glsl
%{baseinstdir}/program/opengl/renderTextureVertexShader.glsl
%{baseinstdir}/program/opengl/replaceColorFragmentShader.glsl
%{baseinstdir}/program/opengl/screenTextFragmentShader.glsl
%{baseinstdir}/program/opengl/screenTextVertexShader.glsl
%{baseinstdir}/program/opengl/shape3DFragmentShader.glsl
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatch.glsl
%{baseinstdir}/program/opengl/shape3DFragmentShaderBatchScroll.glsl
%{baseinstdir}/program/opengl/shape3DFragmentShaderV300.glsl
%{baseinstdir}/program/opengl/shape3DVertexShader.glsl
%{baseinstdir}/program/opengl/shape3DVertexShaderBatch.glsl
%{baseinstdir}/program/opengl/shape3DVertexShaderBatchScroll.glsl
%{baseinstdir}/program/opengl/shape3DVertexShaderV300.glsl
%{baseinstdir}/program/opengl/solidFragmentShader.glsl
%{baseinstdir}/program/opengl/symbolFragmentShader.glsl
%{baseinstdir}/program/opengl/symbolVertexShader.glsl
%{baseinstdir}/program/opengl/textFragmentShader.glsl
%{baseinstdir}/program/opengl/textFragmentShaderBatch.glsl
%{baseinstdir}/program/opengl/textVertexShader.glsl
%{baseinstdir}/program/opengl/textVertexShaderBatch.glsl
%{baseinstdir}/program/opengl/textureFragmentShader.glsl
%{baseinstdir}/program/opengl/textureVertexShader.glsl
%{baseinstdir}/program/opengl/transformedTextureVertexShader.glsl
%{baseinstdir}/program/open-url
%{baseinstdir}/program/types/offapi.rdb
%{baseinstdir}/program/libpasswordcontainerlo.so
%{baseinstdir}/program/pagein-common
%{baseinstdir}/program/pluginapp.bin
%dir %{baseinstdir}/program/resource
%{baseinstdir}/program/resource/avmediaen-US.res
%{baseinstdir}/program/resource/accen-US.res
%{baseinstdir}/program/resource/basctlen-US.res
%{baseinstdir}/program/resource/biben-US.res
%{baseinstdir}/program/resource/chartcontrolleren-US.res
%{baseinstdir}/program/resource/cuien-US.res
%{baseinstdir}/program/resource/dbaen-US.res
%{baseinstdir}/program/resource/dbmmen-US.res
%{baseinstdir}/program/resource/dbuen-US.res
%{baseinstdir}/program/resource/dbwen-US.res
%{baseinstdir}/program/resource/deploymenten-US.res
%{baseinstdir}/program/resource/deploymentguien-US.res
%{baseinstdir}/program/resource/dkten-US.res
%{baseinstdir}/program/resource/editengen-US.res
%{baseinstdir}/program/resource/epsen-US.res
%{baseinstdir}/program/resource/euren-US.res
%{baseinstdir}/program/resource/fps_officeen-US.res
%{baseinstdir}/program/resource/frmen-US.res
%{baseinstdir}/program/resource/fween-US.res
%{baseinstdir}/program/resource/galen-US.res
%{baseinstdir}/program/resource/impen-US.res
%{baseinstdir}/program/resource/ofaen-US.res
%{baseinstdir}/program/resource/pcren-US.res
%{baseinstdir}/program/resource/pdffilteren-US.res
%{baseinstdir}/program/resource/sben-US.res
%{baseinstdir}/program/resource/scnen-US.res
%{baseinstdir}/program/resource/sden-US.res
%{baseinstdir}/program/resource/sfxen-US.res
%{baseinstdir}/program/resource/sdbten-US.res
%{baseinstdir}/program/resource/svlen-US.res
%{baseinstdir}/program/resource/svten-US.res
%{baseinstdir}/program/resource/svxen-US.res
%{baseinstdir}/program/resource/swen-US.res
%{baseinstdir}/program/resource/tplen-US.res
%{baseinstdir}/program/resource/uuien-US.res
%{baseinstdir}/program/resource/upden-US.res
%{baseinstdir}/program/resource/vclen-US.res
%{baseinstdir}/program/resource/wzien-US.res
%{baseinstdir}/program/resource/xmlsecen-US.res
%{baseinstdir}/program/resource/xsltdlgen-US.res
%{baseinstdir}/program/senddoc
%dir %{baseinstdir}/program/services
%{baseinstdir}/program/services/services.rdb
%{baseinstdir}/program/libsimplecanvaslo.so
%{baseinstdir}/program/libslideshowlo.so
%{baseinstdir}/program/libsofficeapp.so
%{baseinstdir}/program/libstringresourcelo.so
%{baseinstdir}/program/libsysshlo.so
%{baseinstdir}/program/libucpcmis1lo.so
%{baseinstdir}/program/libucpexpand1lo.so
%{baseinstdir}/program/libucpextlo.so
%{baseinstdir}/program/libucpimagelo.so
%{baseinstdir}/program/libucptdoc1lo.so
%{baseinstdir}/program/lounorc
%{baseinstdir}/program/libupdatefeedlo.so
%{baseinstdir}/program/uri-encode
%{baseinstdir}/program/libvbaeventslo.so
%{baseinstdir}/program/libvclcanvaslo.so
%{baseinstdir}/program/versionrc
%{baseinstdir}/program/xid-fullscreen-on-all-monitors
%dir %{baseinstdir}/share
%dir %{baseinstdir}/share/Scripts
%{baseinstdir}/share/Scripts/java
%{baseinstdir}/share/autocorr
%dir %{_datadir}/autocorr
%dir %{baseinstdir}/share/autotext
%dir %{_datadir}/autocorr
%{baseinstdir}/share/autocorr
%{baseinstdir}/share/autotext/en-US
%{baseinstdir}/share/basic
%dir %{baseinstdir}/share/config
%{baseinstdir}/share/config/images_breeze.zip
%{baseinstdir}/share/config/images_galaxy.zip
%{baseinstdir}/share/config/images_hicontrast.zip
%{baseinstdir}/share/config/images_oxygen.zip
%{baseinstdir}/share/config/images_sifr.zip
%{baseinstdir}/share/config/images_tango.zip
%dir %{baseinstdir}/share/config/soffice.cfg
%{baseinstdir}/share/config/soffice.cfg/modules
%if %{with langpacks}
# UI translations go into langpacks
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res
%endif
%{baseinstdir}/share/config/soffice.cfg/*/ui
%if %{with langpacks}
# UI translations go into langpacks
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res
%endif
%{baseinstdir}/share/palette
%{baseinstdir}/share/config/webcast
%{baseinstdir}/share/config/wizard
%dir %{baseinstdir}/share/dtd
%{baseinstdir}/share/dtd/officedocument
%{baseinstdir}/share/gallery
%dir %{baseinstdir}/share/labels
%{baseinstdir}/share/labels/labels.xml
%dir %{baseinstdir}/share/psprint
%config %{baseinstdir}/share/psprint/psprint.conf
%{baseinstdir}/share/psprint/driver
%dir %{baseinstdir}/share/registry
%{baseinstdir}/share/registry/gnome.xcd
%{baseinstdir}/share/registry/lingucomponent.xcd
%{baseinstdir}/share/registry/main.xcd
%{baseinstdir}/share/registry/oo-ad-ldap.xcd.sample
%{baseinstdir}/share/registry/oo-ldap.xcd.sample
%{baseinstdir}/share/registry/Langpack-en-US.xcd
%dir %{baseinstdir}/share/registry/res
%{baseinstdir}/share/registry/res/fcfg_langpack_en-US.xcd
%dir %{baseinstdir}/share/template
%{baseinstdir}/share/template/en-US
%dir %{baseinstdir}/share/template/common
%{baseinstdir}/share/template/common/internal
%{baseinstdir}/share/template/common/layout
%{baseinstdir}/share/template/common/officorr
%{baseinstdir}/share/template/common/offimisc
%{baseinstdir}/share/template/common/personal
%{baseinstdir}/share/template/common/presnt
%{baseinstdir}/share/template/common/styles
%{baseinstdir}/share/template/common/wizard
%{baseinstdir}/share/template/wizard
%dir %{baseinstdir}/share/wordbook
%{baseinstdir}/share/wordbook/en-GB.dic
%{baseinstdir}/share/wordbook/en-US.dic
%{baseinstdir}/share/wordbook/technical.dic
%{baseinstdir}/program/liblnthlo.so
%{_bindir}/unopkg
%{_mandir}/man1/unopkg.1*
#icons and mime
%{_datadir}/icons/*/*/*/libreoffice*
%{_datadir}/mime-info/libreoffice.*
%{baseinstdir}/program/libxmlsecurity.so
%{_datadir}/mime/packages/libreoffice.xml
%{baseinstdir}/program/libconfigmgrlo.so
%{baseinstdir}/program/libdesktopbe1lo.so
%{baseinstdir}/program/libfsstoragelo.so
%{baseinstdir}/program/libgconfbe1lo.so
%{baseinstdir}/program/libi18npoollo.so
%{baseinstdir}/program/libbasegfxlo.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libcomphelper.so
%{baseinstdir}/program/libfwelo.so
%{baseinstdir}/program/libfwilo.so
%{baseinstdir}/program/libfwklo.so
%{baseinstdir}/program/libfwllo.so
%{baseinstdir}/program/libfwmlo.so
%{baseinstdir}/program/libi18nlangtag.so
# TODO: shouldn't it have lo suffix?
%{baseinstdir}/program/libi18nutil.so
%{baseinstdir}/program/libpackage2.so
%{baseinstdir}/program/libsblo.so
%{baseinstdir}/program/libsfxlo.so
%{baseinstdir}/program/libsotlo.so
%{baseinstdir}/program/libspllo.so
%{baseinstdir}/program/libsvllo.so
%{baseinstdir}/program/libsvtlo.so
%{baseinstdir}/program/libtklo.so
%{baseinstdir}/program/libtllo.so
%{baseinstdir}/program/libucb1.so
%{baseinstdir}/program/libucpfile1.so
%{baseinstdir}/program/libutllo.so
%{baseinstdir}/program/libvcllo.so
%{baseinstdir}/program/libwriterperfectlo.so
%{baseinstdir}/program/libxmlscriptlo.so
%{baseinstdir}/program/libxolo.so
%{baseinstdir}/program/liblocalebe1lo.so
%{baseinstdir}/program/libucpgio1lo.so
%{baseinstdir}/program/types/oovbaapi.rdb
#share unopkg
%dir %{baseinstdir}/share/extensions
%{baseinstdir}/share/extensions/package.txt
%{baseinstdir}/program/unopkg
%{baseinstdir}/program/unopkg.bin
%{baseinstdir}/program/bootstraprc
%{baseinstdir}/program/fundamentalrc
%{baseinstdir}/program/setuprc
%doc %{baseinstdir}/CREDITS.fodt
%doc %{baseinstdir}/LICENSE
%doc %{baseinstdir}/LICENSE.html
%doc %{baseinstdir}/LICENSE.fodt
%doc %{baseinstdir}/NOTICE
%{baseinstdir}/program/intro.*
%{baseinstdir}/program/soffice
%{baseinstdir}/program/soffice.bin
%{baseinstdir}/program/sofficerc
%{baseinstdir}/program/unoinfo
%{baseinstdir}/program/oosplash
%{baseinstdir}/program/shell/
%dir %{baseinstdir}/share/filter
%{baseinstdir}/share/filter/oox-drawingml-adj-names
%{baseinstdir}/share/filter/oox-drawingml-cs-presets
%{baseinstdir}/share/filter/vml-shape-types
%{baseinstdir}/share/xdg/
%{baseinstdir}/program/redirectrc
%{_datadir}/applications/libreoffice-startcenter.desktop
#launchers
%{_bindir}/libreoffice
%{_bindir}/openoffice.org
%{_bindir}/soffice
%{_bindir}/ooffice
%{_bindir}/ooviewdoc
%{_mandir}/man1/libreoffice.1*
%{_mandir}/man1/openoffice.org.1*
%{_mandir}/man1/soffice.1*
%{_mandir}/man1/ooffice.1*
%{_mandir}/man1/ooviewdoc.1*

%post core
update-desktop-database %{_datadir}/applications &> /dev/null || :
for theme in hicolor locolor; do
    touch --no-create %{_datadir}/icons/$theme &>/dev/null || :
done
touch --no-create %{_datadir}/mime/packages &> /dev/null || :

%postun core
update-desktop-database %{_datadir}/applications &> /dev/null || :
if [ $1 -eq 0 ] ; then
    for theme in hicolor locolor; do
        touch --no-create %{_datadir}/icons/$theme &>/dev/null || :
        gtk-update-icon-cache -q %{_datadir}/icons/$theme &>/dev/null || :
    done
    touch --no-create %{_datadir}/mime/packages &> /dev/null || :
    update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi

%posttrans core
for theme in hicolor locolor; do
    gtk-update-icon-cache -q %{_datadir}/icons/$theme &>/dev/null || :
done
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :


%files base
%{baseinstdir}/help/en-US/sdatabase.*
%{baseinstdir}/program/classes/hsqldb.jar
%{baseinstdir}/program/classes/reportbuilder.jar
%{baseinstdir}/program/classes/reportbuilderwizard.jar
%{baseinstdir}/program/classes/sdbc_hsqldb.jar
%{baseinstdir}/program/libabplo.so
%{baseinstdir}/program/libdbplo.so
%{baseinstdir}/program/libhsqldb.so
%{baseinstdir}/program/librptlo.so
%{baseinstdir}/program/librptuilo.so
%{baseinstdir}/program/librptxmllo.so
%{baseinstdir}/program/resource/abpen-US.res
%{baseinstdir}/program/resource/cnren-US.res
%{baseinstdir}/program/resource/dbpen-US.res
%{baseinstdir}/program/resource/rpten-US.res
%{baseinstdir}/program/resource/rptuien-US.res
%{baseinstdir}/program/resource/sdbclen-US.res
%{baseinstdir}/program/resource/sdberren-US.res
%{baseinstdir}/share/registry/base.xcd
%{baseinstdir}/share/registry/reportbuilder.xcd
%{baseinstdir}/program/sbase
%{_datadir}/appdata/libreoffice-base.appdata.xml
%{_datadir}/applications/libreoffice-base.desktop
%{_bindir}/oobase
%{_mandir}/man1/oobase.1*

%post base
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun base
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files bsh
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar
%{baseinstdir}/program/services/scriptproviderforbeanshell.rdb
%{baseinstdir}/share/Scripts/beanshell

%files rhino
%{baseinstdir}/program/classes/js.jar
%{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar
%{baseinstdir}/program/services/scriptproviderforjavascript.rdb
%{baseinstdir}/share/Scripts/javascript

%files wiki-publisher
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license
%{baseinstdir}/share/extensions/wiki-publisher

%files nlpsolver
%docdir %{baseinstdir}/share/extensions/nlpsolver/help
%{baseinstdir}/share/extensions/nlpsolver

%files officebean
%{baseinstdir}/program/classes/officebean.jar
%{baseinstdir}/program/libofficebean.so

%files ogltrans
%{baseinstdir}/program/libOGLTranslo.so
%{baseinstdir}/program/opengl/basicVertexShader.glsl
%{baseinstdir}/program/opengl/dissolveFragmentShader.glsl
%{baseinstdir}/program/opengl/staticFragmentShader.glsl
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions-ogl.xml
%{baseinstdir}/share/registry/ogltrans.xcd

%files pdfimport
%{baseinstdir}/program/libpdfimportlo.so
%{baseinstdir}/program/xpdfimport
%{baseinstdir}/share/registry/pdfimport.xcd
%dir %{baseinstdir}/share/xpdfimport
%{baseinstdir}/share/xpdfimport/xpdfimport_err.pdf

%_font_pkg -n %{fontname} opens___.ttf
%doc instdir/LICENSE

%files calc
%{baseinstdir}/help/en-US/scalc.*
%{baseinstdir}/program/libanalysislo.so
%{baseinstdir}/program/libcalclo.so
%{baseinstdir}/program/libdatelo.so
%{baseinstdir}/program/libforlo.so
%{baseinstdir}/program/libforuilo.so
%{baseinstdir}/program/libpricinglo.so
%{baseinstdir}/program/libsclo.so
%{baseinstdir}/program/libscdlo.so
%{baseinstdir}/program/libscfiltlo.so
%{baseinstdir}/program/libscuilo.so
%{baseinstdir}/program/libsolverlo.so
%{baseinstdir}/program/libwpftcalclo.so
%{baseinstdir}/program/resource/analysisen-US.res
%{baseinstdir}/program/resource/dateen-US.res
%{baseinstdir}/program/resource/foren-US.res
%{baseinstdir}/program/resource/foruien-US.res
%{baseinstdir}/program/resource/pricingen-US.res
%{baseinstdir}/program/resource/scen-US.res
%{baseinstdir}/program/resource/solveren-US.res
%{baseinstdir}/program/libvbaobjlo.so
%{baseinstdir}/share/registry/calc.xcd
%{baseinstdir}/program/pagein-calc
%{baseinstdir}/program/scalc
%{_datadir}/appdata/libreoffice-calc.appdata.xml
%{_datadir}/applications/libreoffice-calc.desktop
%{_bindir}/oocalc
%{_mandir}/man1/oocalc.1*

%post calc
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun calc
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files draw
%{baseinstdir}/help/en-US/sdraw.*
%{baseinstdir}/share/registry/draw.xcd
%{baseinstdir}/program/pagein-draw
%{baseinstdir}/program/sdraw
%{_datadir}/appdata/libreoffice-draw.appdata.xml
%{_datadir}/applications/libreoffice-draw.desktop
%{_bindir}/oodraw
%{_mandir}/man1/oodraw.1*

%post draw
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun draw
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files emailmerge
%{baseinstdir}/program/mailmerge.py*
%{baseinstdir}/program/msgbox.py*

%files writer
%{baseinstdir}/help/en-US/swriter.*
%{baseinstdir}/program/libhwplo.so
%{baseinstdir}/program/liblwpftlo.so
%{baseinstdir}/program/libmswordlo.so
%{baseinstdir}/program/libswuilo.so
%{baseinstdir}/program/libt602filterlo.so
%{baseinstdir}/program/libwpftwriterlo.so
%{baseinstdir}/program/libwriterfilterlo.so
%{baseinstdir}/program/libvbaswobjlo.so
%{baseinstdir}/program/resource/t602filteren-US.res
%{baseinstdir}/share/registry/writer.xcd
%{baseinstdir}/program/pagein-writer
%{baseinstdir}/program/swriter
%{_datadir}/appdata/libreoffice-writer.appdata.xml
%{_datadir}/applications/libreoffice-writer.desktop
%{_bindir}/oowriter
%{_mandir}/man1/oowriter.1*

%post writer
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun writer
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files impress
%{baseinstdir}/help/en-US/simpress.*
%{baseinstdir}/program/libanimcorelo.so
%{baseinstdir}/program/libplacewarelo.so
%{baseinstdir}/program/libPresentationMinimizerlo.so
%{baseinstdir}/program/libPresenterScreenlo.so
%{baseinstdir}/program/libwpftimpresslo.so
%dir %{baseinstdir}/share/config/soffice.cfg/simpress
%{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/layoutlist.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/objectlist.xml
%{baseinstdir}/share/config/soffice.cfg/simpress/transitions.xml
%{baseinstdir}/share/registry/impress.xcd
%{baseinstdir}/program/pagein-impress
%{baseinstdir}/program/simpress
%{_datadir}/appdata/libreoffice-impress.appdata.xml
%{_datadir}/applications/libreoffice-impress.desktop
%{_bindir}/ooimpress
%{_mandir}/man1/ooimpress.1*

%post impress
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun impress
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files math
%{baseinstdir}/help/en-US/smath.*
%{baseinstdir}/program/libsmlo.so
%{baseinstdir}/program/libsmdlo.so
%{baseinstdir}/program/resource/smen-US.res
%{baseinstdir}/share/registry/math.xcd
%{baseinstdir}/program/smath
%{_datadir}/applications/libreoffice-math.desktop
%{_bindir}/oomath
%{_mandir}/man1/oomath.1*

%post math
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun math
update-desktop-database %{_datadir}/applications &> /dev/null || :

%files graphicfilter
%{baseinstdir}/program/libflashlo.so
%{baseinstdir}/program/libgraphicfilterlo.so
%{baseinstdir}/program/libsvgfilterlo.so
%{baseinstdir}/program/libwpftdrawlo.so
%{baseinstdir}/share/registry/graphicfilter.xcd

%files xsltfilter
%{baseinstdir}/share/xslt
%{baseinstdir}/share/registry/xsltfilter.xcd
%{_datadir}/applications/libreoffice-xsltfilter.desktop

%files postgresql
%{baseinstdir}/program/libpostgresql-sdbclo.so
%{baseinstdir}/program/libpostgresql-sdbc-impllo.so
%{baseinstdir}/program/postgresql-sdbc.ini
%{baseinstdir}/program/services/postgresql-sdbc.rdb
%{baseinstdir}/share/registry/postgresql.xcd

%files ure
%{baseinstdir}/program/classes/java_uno.jar
%{baseinstdir}/program/classes/juh.jar
%{baseinstdir}/program/classes/jurt.jar
%{baseinstdir}/program/classes/ridl.jar
%{baseinstdir}/program/classes/unoloader.jar
%{baseinstdir}/program/javaldx
%{baseinstdir}/program/javavendors.xml
%{baseinstdir}/program/jvmfwk3rc
%{baseinstdir}/program/JREProperties.class
%{baseinstdir}/program/libaffine_uno_uno.so
%{baseinstdir}/program/libbinaryurplo.so
%{baseinstdir}/program/libbootstraplo.so
%{baseinstdir}/program/libgcc3_uno.so
%{baseinstdir}/program/libintrospectionlo.so
%{baseinstdir}/program/libinvocadaptlo.so
%{baseinstdir}/program/libinvocationlo.so
%{baseinstdir}/program/libiolo.so
%{baseinstdir}/program/libjava_uno.so
%{baseinstdir}/program/libjavaloaderlo.so
%{baseinstdir}/program/libjavavmlo.so
%{baseinstdir}/program/libjpipe.so
%{baseinstdir}/program/libjuh.so
%{baseinstdir}/program/libjuhx.so
%{baseinstdir}/program/libjvmaccesslo.so
%{baseinstdir}/program/libjvmfwklo.so
%{baseinstdir}/program/liblog_uno_uno.so
%{baseinstdir}/program/libnamingservicelo.so
%{baseinstdir}/program/libproxyfaclo.so
%{baseinstdir}/program/libreflectionlo.so
%{baseinstdir}/program/libreglo.so
%{baseinstdir}/program/libsal_textenclo.so
%{baseinstdir}/program/libstocserviceslo.so
%{baseinstdir}/program/libstorelo.so
%{baseinstdir}/program/libuno_cppu.so.3
%{baseinstdir}/program/libuno_cppuhelpergcc3.so.3
%{baseinstdir}/program/libuno_purpenvhelpergcc3.so.3
%{baseinstdir}/program/libuno_sal.so.3
%{baseinstdir}/program/libuno_salhelpergcc3.so.3
%{baseinstdir}/program/libunoidllo.so
%{baseinstdir}/program/libunsafe_uno_uno.so
%{baseinstdir}/program/libuuresolverlo.so
%{baseinstdir}/program/libxmlreaderlo.so
%{baseinstdir}/program/regmerge
%{baseinstdir}/program/regview
%{baseinstdir}/program/services.rdb
%{baseinstdir}/program/types.rdb
%{baseinstdir}/program/uno
%{baseinstdir}/program/uno.bin
%{baseinstdir}/program/unorc

%files sdk
%{sdkinstdir}/
%exclude %{sdkinstdir}/docs/
%exclude %{sdkinstdir}/examples/

%files sdk-doc
%docdir %{sdkinstdir}/docs
%{sdkinstdir}/docs/
%{sdkinstdir}/examples/

%files pyuno
%{baseinstdir}/program/libpyuno.so
%{baseinstdir}/program/pythonloader.py*
%{baseinstdir}/program/libpythonloaderlo.so
%{baseinstdir}/program/pythonloader.unorc
%{baseinstdir}/program/pythonscript.py*
%{baseinstdir}/program/pyuno.so
%{baseinstdir}/program/services/pyuno.rdb
%{baseinstdir}/program/services/scriptproviderforpython.rdb
%{baseinstdir}/program/wizards
%{baseinstdir}/share/Scripts/python
%exclude %{baseinstdir}/share/Scripts/python/LibreLogo
%{libo_python_sitearch}/uno.py*
%{libo_python_sitearch}/unohelper.py*
%{libo_python_sitearch}/officehelper.py*
%if 0%{libo_use_python3}
%{libo_python_sitearch}/__pycache__/uno.cpython-*
%{libo_python_sitearch}/__pycache__/unohelper.cpython-*
%{libo_python_sitearch}/__pycache__/officehelper.cpython-*
%endif
%{baseinstdir}/share/registry/pyuno.xcd

%files librelogo
%{baseinstdir}/share/registry/librelogo.xcd
%{baseinstdir}/share/Scripts/python/LibreLogo

%files glade
%{baseinstdir}/program/ui-previewer
%{_datadir}/glade
%{_datadir}/glade3

%if 0%{?fedora}

%files kde
%{baseinstdir}/program/kde4-open-url
%{baseinstdir}/program/libkde4be1lo.so
%{baseinstdir}/program/libvclplug_kde4lo.so

%files gtk3
%{baseinstdir}/program/libvclplug_gtk3lo.so

%endif

%files -n libreofficekit
%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
%{_libdir}/liblibreofficekitgtk.so

%files -n libreofficekit-devel
%{_libdir}/gir-1.0/LOKDocView-%{girapiversion}.gir

%changelog
* Fri Jun 16 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-14
- Resolves: rhbz#1454693 segv on interrupting tiled rendering

* Thu Jun 15 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-13
- Related: rhbz#1444437 remove timer if document closed before it fires

* Tue Jun 06 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-12
- Resolves: rhbz#1454598 crash on selecting bullet from toolbar

* Thu May 25 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-11
- Related: rhbz#1444437 restart second instance cleanly

* Wed May 10 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-10
- Resolves: rhbz#1444437 segv in gnome-documents integration

* Wed Apr 26 2017 David Tardon <dtardon@redhat.com> - 1:5.0.6.2-9
- Resolves: rhbz#1445635 CVE-2017-7870 Heap-buffer-overflow in
  tools::Polygon::Insert

* Fri Mar 31 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-8
- Resolves: rhbz#1437537 fix csv a11y

* Sun Mar 26 2017 David Tardon <dtardon@redhat.com> - 1:5.0.6.2-7
- Resolves: rhbz#1431539 gnome-documents needs libreofficekit
- Resolves: rhbz#1435535 CVE-2017-3157 Arbitrary file disclosure in
  Calc and Writer

* Tue Feb 21 2017 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-6
- Resolves: rhbz#1401082 gnome hangs opening certain docx
- Resolves: rhbz#1421726 drop use of CAIRO_OPERATOR_DIFFERENCE

* Thu Feb 09 2017 Michael Stahl <mstahl@redhat.com> - 1:5.0.6.2-5
- Resolves: rhbz#1411327 Encrypted files opening as plain text after
  cancelling password dialog

* Fri Dec 02 2016 Caolán McNamara <caolanm@redhat.com> - 1:5.0.6.2-4
- Resolves: rhbz#1378521 crash in calc on exit after using csv dialog with a11y enabled
- Resolves: rhbz#1397992 crash in calc on closing dialog with a11y enabled

* Tue Aug 23 2016 David Tardon <dtardon@redhat.com> - 1:5.0.6.2-3
- Resolves: rhbz#1364335 tooltips are truncated

* Fri Jul 08 2016 David Tardon <dtardon@redhat.com> - 1:5.0.6.2-2
- Resolves: rhbz#1353839 CVE-2016-4324 dereference of invalid STL iterator on
  processing RTF file

* Tue May 03 2016 David Tardon <dtardon@redhat.com> - 1:5.0.6.2-1
- Related: rhbz#1290148 rebase to 5.0.6
- Related: rhbz#1290148 include more fixes from F-23

* Fri Mar 04 2016 David Tardon <dtardon@redhat.com> - 1:5.0.5.2-2
- Related: rhbz#1290148 remove unintentional dependency of libreoffice-core on
  libreoffice-calc
- Related: rhbz#1290148 restore lost changelog entry
- Related: rhbz#1290148 add additional 5.0.6 patches

* Tue Mar 01 2016 David Tardon <dtardon@redhat.com> - 1:5.0.5.2-1
- Resolves: rhbz#1290148 rebase to 5.0.x

* Wed Dec 02 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-5.1
- Resolves: rhbz#1285820 various flaws
- CVE-2015-4551 Arbitrary file disclosure in Calc and Writer
- CVE-2015-5212 Integer underflow in PrinterSetup length
- CVE-2015-5213 Integer overflow in DOC files
- CVE-2015-5214 Bookmarks in DOC documents are insufficiently checked
  causing memory corruption

* Tue Jul 14 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-5
- Related: rhbz#1205091 fix for ppc64
- Related: rhbz#1205091 fix deps for gdb-debug-support subpackage

* Mon May 25 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-4
- Related: rhbz#1205091 add another bunch of fixes from Fedora
- rhbz#1219137 tweak ruler for happenchance side-effect
- Related: rhbz#1205091 do not filter out requires

* Tue May 12 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-3
- Related: rhbz#1205091 fix build on ppc64le

* Mon May 11 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-2
- Related: rhbz#1205091 add more fixes from f21
- Resolves: tdf#91078 check also DBData modified, not only named expressions
- don't include red spelling underlines on bitmap copy/paste

* Mon May 04 2015 David Tardon <dtardon@redhat.com> - 1:4.3.7.2-1
- Resolves: rhbz#1205091 rebase to 4.3.7

* Mon Dec 01 2014 Stephan Bergmann <sbergman@redhat.com> - 1:4.2.6.3-5
- Resolves: rhbz#1098973 crash on exit

* Fri Nov 21 2014 David Tardon <dtardon@redhat.com> - 1:4.2.6.3-4
- Resolves: rhbz#1111216 LibreOffice Calc: PDF export of an empty document fails
  with Write Error

* Mon Nov 17 2014 Caolán McNamara <caolanm@redhat.com> - 1:4.2.6.3-3
- CVE-2014-3693: Disable sdremote by default and improve flow control

* Fri Sep 05 2014 David Tardon <dtardon@redhat.com> - 1:4.2.6.3-2
- Related: rhbz#1119709 port LibreOffice to aarch64

* Thu Aug 28 2014 David Tardon <dtardon@redhat.com> - 1:4.2.6.3-1
- Resolves: rhbz#1119709 rebase to 4.2.6

* Fri Aug 22 2014 Caolán McNamara <caolanm@redhat.com> - 1:4.1.4.2-4
- Resolves: rhbz#1125588 port LibreOffice to ppc64le

* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:4.1.4.2-3
- Mass rebuild 2014-01-24

* Mon Jan 13 2014 Caolán McNamara <caolanm@redhat.com> - 1:4.1.4.2-2
- Resolves: rhbz#1040777 rename "Oriya" to "Odia"

* Wed Jan 08 2014 David Tardon <dtardon@redhat.com> - 1:4.1.4.2-1
- Resolves: rhbz#1049791 rebase to 4.1.4
- also add a load of 4.1.5 patches

* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:4.1.3.2-6
- Mass rebuild 2013-12-27

* Wed Dec 11 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.3.2-5
- Resolves: rhbz#1035092 no shortcut key for Italian Tools

* Tue Nov 12 2013 David Tardon <dtardon@redhat.com> - 1:4.1.3.2-4
- Related: rhbz#1019277 fix rpmdiff problem

* Fri Nov 01 2013 David Tardon <dtardon@redhat.com> - 1:4.1.3.2-3
- Resolves: rhbz#1019277 rebase libreoffice to 4.1.3

* Mon Sep 16 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.4-6
- rebuild for ICU ABI break

* Tue Jul 30 2013 Stephan Bergmann <sbergman@redhat.com> - 1:4.1.0.4-5
- Resolves: rhbz#989246 Honor user's JavaDriverClass override in mysql driver
- Resolves: fdo#67045 fix several nasty screen selection issues

* Tue Jul 30 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.4-4
- Resolves: rhbz#989686 Fix crash with stripping whitespace from toc entries

* Mon Jul 29 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.4-3
- make libwpd-based filters work correctly with newest libwpd

* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 1:4.1.0.4-2
- Rebuild for boost 1.54.0

* Wed Jul 24 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.4-1
- 4.1.0 rc4

* Mon Jul 22 2013 Eike Rathke <erack@redhat.com> - 1:4.1.0.3-2
- force rebuild with icu-50.1.2-7

* Thu Jul 18 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.3-1
- 4.1.0 rc3
- Resolves: fdo#48835 GNOME3 app menu

* Thu Jul 18 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.2-5
- silence scary gcc warning
- fdo#66924 switching to master view is broken

* Tue Jul 16 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.2-4
- bump release

* Fri Jul 12 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.2-3
- Resolves: rhbz#983809 libreoffice-base misses deps on needed java packages

* Thu Jul 11 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.2-2
- Resolves: rhbz#980387 Exporting a odg to jpg or tiff generates error

* Thu Jul 04 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.2-1
- 4.1.0 rc2

* Mon Jul 01 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.1-8
- Resolves: rhbz#979758 crash on Diagrammen in LibreOffice help page

* Thu Jun 27 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.1-7
- bump revision

* Mon Jun 24 2013 Marek Kasik <mkasik@redhat.com> - 1:4.1.0.1-6
- Rebuild (poppler-0.22.5)

* Mon Jun 24 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.1-5
- fix build on big endian archs

* Mon Jun 24 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.1-4
- put glade catalog into an extra packgae

* Sun Jun 23 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.1-3
- Resolves: rhbz#976304 gallery elements may not insert

* Wed Jun 19 2013 Dennis Gilmore <dennis@ausil.us> - 1:4.1.0.1-2
- fix _smp_mflags macro useage

* Wed Jun 19 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.1-1
- 4.1.0 rc1
- Related: rhbz#971321 failing tests on ppc and s390

* Sun Jun 16 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-9.beta2
- Resolves: rhbz#971321 failing tests on ppc and s390
- Resolves: rhbz#974062 incorrect rendering of text in outline blocks in
  Impress

* Fri Jun 07 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-8.beta2
- Related: rhbz#971795 go back to BR: harfbuzz-devel

* Fri Jun 07 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-7.beta2
- Resolves: rhbz#971230 Use BR: harfbuzz-icu-devel

* Wed Jun 05 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-7.beta1
- 4.1.0 beta2

* Wed Jun 05 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.0-6.beta1
- Related: rhbz#968892 discard impossible languages for Oriya script

* Tue Jun 04 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.0-5.beta1
- Resolves: rhbz#968892 block entire grapheme together for glyph fallback
- Related: rhbz#968892 discard impossible languages for glyph fallback

* Fri May 31 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.1.0.0-4.beta1
- Resolves: rhbz#968976 fix dropdown list autosizing

* Thu May 30 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-3.beta1
- build fix for s390

* Fri May 24 2013 David Tardon <dtardon@redhat.com> - 1:4.1.0.0-2.beta1
- 4.1.0 beta1

* Fri May 24 2013 Stephan Bergmann <sbergman@redhat.com> - 1:4.0.3.3-3
- Resolves: rhbz#961460 can't save WebDAV (davs) files

* Thu May 16 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.3.3-2
- Resolves: rhbz#963276 font options cache crash

* Fri May 03 2013 David Tardon <dtardon@redhat.com> - 1:4.0.3.3-1
- 4.0.3 rc3

* Tue Apr 30 2013 David Tardon <dtardon@redhat.com> - 1:4.0.3.2-1
- 4.0.3 rc2

* Mon Apr 22 2013 Stephan Bergmann <sbergman@redhat.com> - 1:4.0.3.1-2
- Resolves: rhbz#954991 Avoid static data (causing trouble at exit)

* Thu Apr 18 2013 David Tardon <dtardon@redhat.com> - 1:4.0.3.1-1
- 4.0.3 rc1
- Resolves: rhbz#867808 do not throw UNO exceptions by pointer in C++

* Tue Apr 16 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.2.2-4
- Resolves: rhbz#927223 syntax highlighting crash

* Mon Apr 08 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.2.2-3
- Resolves: rhbz#949238 div by zero on pagedown in 0 width panel

* Fri Apr 05 2013 Kalev Lember <kalevlember@gmail.com> - 1:4.0.2.2-2
- Resolves: rhbz#949106 libreoffice drags in both openjdk 1.7.0 and 1.8.0

* Thu Mar 28 2013 David Tardon <dtardon@redhat.com> - 1:4.0.2.2-1
- 4.0.2 rc2
- Resolves: rhbz#876742 manipulation with larger tables in impress is
  very slow

* Fri Mar 15 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.2.1-2
- Resolves: rhbz#906137 slide show inverts outputs

* Fri Mar 15 2013 David Tardon <dtardon@redhat.com> - 1:4.0.2.1-1
- 4.0.2 rc1
- Resolves: rhbz#921716 Build Breton language pack

* Wed Mar 13 2013 Stephan Bergmann <sbergman@redhat.com> - 1:4.0.1.2-4
- Resolves: rhbz#895690 failure saving to gvfs mounts

* Tue Mar 12 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.1.2-3
- Resolves: rhbz#920697 presentation not always full-screen

* Thu Mar 07 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.1.2-2
- Related: rhbz#902884 check for NULL GetSelectedMasterPage
- Resolves: fdo#61241 force area page to size itself
- Resolves: fdo#61656 use order and orientation combobox
- Resolves: fdo#56031 RSID attr changes drop content changes

* Thu Feb 28 2013 David Tardon <dtardon@redhat.com> - 1:4.0.1.2-1
- 4.0.1 rc2

* Tue Feb 26 2013 Eike Rathke <erack@redhat.com> - 1:4.0.0.3-8
- do not access vector elements beyond size, rhbz#847519 related
- Resolves: rhbz#742780 let make OPT_FLAGS=... override SDK flags
- Resolves: rhbz#907933 crash on removing second last para

* Tue Feb 19 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.0.3-7
- Resolves: rhbz#895196 sc filter float a11y parent of itself

* Tue Feb 19 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.3-6
- Resolves: rhbz#911896 add Kazakh localization

* Fri Feb 15 2013 Caolán McNamara <caolanm@redhat.com> - 1:4.0.0.3-5
- make evolution 3.6 work with address book
- Resolves: rhbz#910176 cannot select directory with gtk folder picker
- fixes for building against Boost 1.53.0

* Fri Feb 15 2013 Stephan Bergmann <sbergman@redhat.com> - 1:4.0.0.3-4
- Resolves: fdo#60491 missing libemboleobj.so
- Resolves: rhbz#908674 crash on start

* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1:4.0.0.3-3
- Rebuild for Boost-1.53.0

* Wed Feb 06 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.3-2
- fix parsing errors in translated help

* Fri Feb 01 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.3-1
- 4.0.0 rc3

* Wed Jan 23 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.2-1
- 4.0.0 rc2
- use ucpp again

* Tue Jan 22 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.1-3
- Resolves: rhbz#760765 Impress doesn't copy custom styles from one file
  to another

* Mon Jan 21 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.1-2
- Resolves: rhbz#901346 do not install 512x512 icons

* Tue Jan 15 2013 David Tardon <dtardon@redhat.com> - 1:4.0.0.1-1
- 4.0.0 rc1

* Sat Dec 22 2012 David Tardon <dtardon@redhat.com> - 1:4.0.0.0-4.beta2
- use system cpp instead of ucpp

* Wed Dec 19 2012 David Tardon <dtardon@redhat.com> - 1:4.0.0.0-3.beta2
- 4.0.0 beta2

* Thu Dec 06 2012 David Tardon <dtardon@redhat.com> - 1:4.0.0.0-2.beta1
- 4.0.0 beta1

* Thu Nov 29 2012 David Tardon <dtardon@redhat.com> - 1:3.6.4.3-1
- 3.6.4 rc3

* Wed Nov 28 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.4.1-2
- fix docx import on big endian

* Sun Nov 18 2012 David Tardon <dtardon@redhat.com> - 1:3.6.4.1-1
- 3.6.4 rc1

* Wed Nov 14 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.2-8
- Resolves: rhbz#872815 ogltrans effects still suboptimal

* Tue Nov 13 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.2-7
- big endian test failure

* Thu Nov 08 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.2-6
- Resolves: fdo#56198/rhbz#868002 honour gtk-scrollbar-warp-preference

* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.2-5
- bump for libexttextcat

* Fri Nov 02 2012 David Tardon <dtardon@redhat.com> - 1:3.6.3.2-4
- Resolves: rhbz#871929 add keywords to desktop files
- fix debuginfo

* Wed Oct 31 2012 Eike Rathke <erack@redhat.com> - 1:3.6.3.2-3
- Resolves: rhbz#865058 increase number of user-defined format codes

* Fri Oct 26 2012 David Tardon <dtardon@redhat.com> - 1:3.6.3.2-2
- Resolves: rhbz#824035 do not bundle saxon

* Wed Oct 24 2012 David Tardon <dtardon@redhat.com> - 1:3.6.3.2-1
- 3.6.3 rc2
- drop integrated 0001-Resolves-rhbz-868479-fdo-56281-doubled-in-German-ok-.patch

* Mon Oct 22 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.1-3
- Resolves: rhbz#868479 guard against duplicated ~ in OK/Cancel

* Thu Oct 11 2012 David Tardon <dtardon@redhat.com> - 1:3.6.3.1-2
- Resolves: rhbz#858641 backport gstreamer 1.0 support to F-18

* Thu Oct 11 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.3.1-1
- 3.6.3 rc1
- drop integrated 0001-Resolves-rhbz-855972-crash-on-switching-to-outline-v.patch
- drop integrated 0001-fdo-52022-Simple-LargeControlPoints-actually-can-hav.patch
- drop integrated 0001-fdo-46071-Do-not-hide-windows-based-on-nil-Visible-p.patch

* Fri Oct 05 2012 Stephan Bergmann <sbergman@redhat.com> - 1:3.6.2.2-3
- Resolves: fdo#46071 Do not hide windows based on nil Visible property

* Fri Oct 05 2012 Stephan Bergmann <sbergman@redhat.com> - 1:3.6.2.2-2
- Resolves: fdo#52022 Part of data in userdir is lost on upgrade

* Wed Sep 26 2012 David Tardon <dtardon@redhat.com> - 1:3.6.2.2-1
- 3.6.2 rc2

* Wed Sep 12 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.2.1-2
- Resolves: rhbz#855541 XIOError handler multithread woes

* Wed Sep 12 2012 David Tardon <dtardon@redhat.com> - 1:3.6.2.1-1
- 3.6.2 rc1

* Tue Sep 11 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.1.2-4
- Resolves: rhbz#855507 large ole2 compound files fail to load

* Mon Sep 10 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.1.2-3
- Resolves: rhbz#855972 crash on switching to outline view

* Wed Aug 29 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.1.2-2
- Related: rhbz#850709 hunspell en-US available standalone so
  make English langpack require hunspell-en and core just
  bare bones hunspell-en-US

* Sun Aug 26 2012 David Tardon <dtardon@redhat.com> - 1:3.6.1.2-1
- 3.6.1 rc2

* Wed Aug 22 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.1.1-2
- Resolves: rhbz#846775 Clipboard must be disposed before selection
- Resolves: rhbz#842292 crash in scrolling multiselection in draw

* Wed Aug 15 2012 David Tardon <dtardon@redhat.com> - 1:3.6.1.1-1
- 3.6.1 rc1

* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 1:3.6.0.4-3
- Rebuild for new boost

* Sat Jul 28 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.4-2
- rebuilt for boost 1.50

* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.4-1
- 3.6.0 rc4

* Thu Jul 26 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.3-2
- Resolves: rhbz#842552 crash in pptx import

* Wed Jul 25 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.3-1
- 3.6.0 rc3

* Tue Jul 17 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.2-1
- 3.6.0 rc2

* Mon Jul 16 2012 Caolán McNamara <caolanm@redhat.com> - 1:3.6.0.1-3
- Resolves: rhbz#836937 insanely slow with Zemberek

* Mon Jul 16 2012 David Tardon <dtardon@redhat.com> - 1:3.6.0.1-2
- rebuild for new libexttextcat

* Thu Jul 12 2012 David Tardon <dtardon@redhat.com> - 3.6.0.1-1
- 3.6.0 rc1

* Mon Jul 09 2012 Caolán McNamara <caolanm@redhat.com> - 3.6.0.0-4
- Resolves: rhbz#838368 --view ignored while -view accepted

* Thu Jul 05 2012 David Tardon <dtardon@redhat.com> - 3.6.0.0-3
- 3.6.0 beta3

* Mon Jul  2 2012 Marek Kasik <mkasik@redhat.com> - 3.6.0.0-2
- Rebuild (poppler-0.20.1)

* Wed Jun 27 2012 David Tardon <dtardon@redhat.com> - 3.6.0.0-1
- 3.6.0 beta2
- drop integrated 0001-move-binfilter-mime-types-into-extra-.desktop-file.patch
- drop integrated 0001-Resolves-rhbz-788042-skip-splashscreen-with-quicksta.patch
- drop integrated libreoffice-ensure-non-broken-xml-tree.patch
- drop integrated 0001-preserve-timestamps-for-.py-files.patch
- drop integrated 0001-Resolves-rhbz-788045-swriter-help-etc-doesn-t-show-h.patch
- drop integrated 0001-Resolves-rhbz-799525-put-flat-odf-mimetypes-in-xsltf.patch
- drop integrated 0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch
- drop integrated 0001-Resolves-rhbz-806663-SlideshowImpl-can-outlive-SdMod.patch
- drop integrated 0001-desktop-do-not-complain-about-soffice-command-line-o.patch
- drop integrated 0001-Resolves-fdo-48096-torn-off-popups-trigger-keyboard-.patch
- drop integrated 0001-fdo-38088-better-CSV-import-default-separators.patch
- drop integrated 0001-save-register-arguments-first.patch
- drop integrated 0001-do-not-let-gcc-use-registers-we-are-setting-ourselve.patch
- drop integrated 0001-wrong-types-used-here-breaks-64bit-bigendian.patch
- drop integrated 0001-Resolves-rhbz-805743-a11y-call-doShow-after-we-have-.patch
- drop integrated 0001-Resolves-fdo-49849-implement-Unicode-6.1-hebrew-line.patch
- drop integrated 0001-use-ure-instead-of-ure-link.patch
- drop broken 0001-fix-setting-of-paper-tray-from-print-dialog-fdo-4393.patch

* Mon Jun 18 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.5.1-2
- Resolves: rhbz#830810 missing dependency on lucene-contrib

* Thu Jun 14 2012 David Tardon <dtardon@redhat.com> - 3.5.5.1-1
- 3.5.5 rc1
- drop integrated 0001-make-hsqldb-build-with-java-1.7.patch
- drop integrated 0001-Related-rhbz-799628-crash-with-chewing-IM-with-g3g.patch
- drop integrated 0001-silence-SolarMutex-not-locked-spew.patch
- drop integrated 0001-gcc-trunk-fix-unable-to-find-string-literal-operator.patch
- drop integrated 0001-ppc-yyinput-returns-a-int-truncating-to-unsigned-cha.patch
- drop integrated 0001-Resolves-rhbz-826609-rhbz-820554-fix-smoketest-on-pp.patch

* Mon Jun 11 2012 David Tardon <dtardon@redhat.com> - 3.5.4.2-3
- make gdb pretty printers for URE libs usable again

* Fri Jun 08 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.4.2-2
- Resolves: rhbz#826609, rhbz#820554 fix smoketest on ppc[64] and s390[x]

* Wed May 23 2012 David Tardon <dtardon@redhat.com> - 3.5.4.2-1
- 3.5.4 rc2

* Thu May 17 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.4.1-2
- Resolves: rhbz#811226 ARM FTBFS

* Wed May 16 2012 David Tardon <dtardon@redhat.com> - 3.5.4.1-1
- 3.5.4 rc1
- drop integrated 0001-do-not-prepend-n-twice-it-confuses-KFileDialog-rhbz-.patch
- drop integrated 0001-incrementing-index-twice-in-one-run-seems-wrong.patch
- drop integrated 0001-fdo-49365-correctly-map-monitor-index-back-to-screen.patch
- drop integrated 0001-rhbz-809019-count-mirrored-monitors-as-one.patch

* Sun May 13 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.3.2-5
- Resolves: fdo#49849 line breaking fixes for Hebrew

* Fri May 11 2012 David Tardon <dtardon@redhat.com> - 3.5.3.2-4
- Resolves: rhbz#820439 KDE export dialog broken for most formats
- Resolves: fdo#49365 Libreoffice fails to start on second screen with
  gtk vcl plugin
- Resolves: rhbz#809019 Impress thinks a machine with 2 monitors in
  clone mode is multihead

* Wed May 09 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.3.2-3
- Resolves: rhbz#805743 a11y crash in impress/draw
- Resolves: rhbz#813202 opengl slide transitions still a bit
  problematic in Fedora 17

* Thu May 03 2012 David Tardon <dtardon@redhat.com> - 3.5.3.2-2
- rebuild for changed dependencies

* Wed Apr 25 2012 David Tardon <dtardon@redhat.com> - 3.5.3.2-1
- 3.5.3 rc2
- fix broken test on 64bit big endian

* Mon Apr 23 2012 David Tardon <dtardon@redhat.com> - 3.5.3.1-2
- rebuild for icu
- fix UNO bridges for ppc and ppc64

* Thu Apr 19 2012 David Tardon <dtardon@redhat.com> - 3.5.3.1-1
- 3.5.3 rc1
- drop integrated 0001-Introduced-SystemShellExecuteFlags-URIS_ONLY.patch
- drop integrated 0001-Simplify-code-and-use-proper-register-names-for-linu.patch
- drop integrated 0001-resolved-rhbz-813280-the-current-document-is-not-alw.patch

* Wed Apr 18 2012 Eike Rathke <erack@redhat.com> - 3.5.2.1-7
- Resolves: rhbz#813280 sheets cannot be moved in Calc

* Wed Apr 11 2012 Eike Rathke <erack@redhat.com> - 3.5.2.1-6
- Resolves: fdo#38088 rhbz#810267 better CSV import default separators

* Tue Apr 10 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.2.1-5
- Resolves: rhbz#811226 FTBFS ARM

* Thu Apr 05 2012 Stephan Bergmann <sbergman@redhat.com> - 3.5.2.1-4
- Fix URIS_ONLY flag issue
- rebuild for db4

* Mon Apr 02 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.2.1-3
- Resolves: rhbz#708041 focus problems with tearable menus

* Mon Mar 26 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.2.1-2
- Resolves: rhbz#806663 SlideshowImpl can outlive SdModule

* Sun Mar 25 2012 David Tardon <dtardon@redhat.com> - 3.5.2.1-1
- 3.5.2 rc1
-drop integrated 0001-yet-another-clash-with-macro-name.patch

* Wed Mar 14 2012 David Tardon <dtardon@redhat.com> - 3.5.1.2-2
- Resolves: rhbz#770209 can't change paper tray setting while printing

* Thu Mar 08 2012 David Tardon <dtardon@redhat.com> - 3.5.1.2-1
- 3.5.1 rc2

* Tue Mar 06 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.1.1-3
- Resolves: rhbz#799628 crash with chewing IM with g3g
- Resolves: rhbz#799525 put flat odf mimetypes into xsltfilter.desktop
- Resolves: rhbz#800272 complain about unknown commandline options

* Wed Feb 29 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.1.1-2
- Resolves: rhbz#788045 swriter --help doesn't show help
- Resolves: rhbz#798667 missing .desktop icons

* Sun Feb 26 2012 David Tardon <dtardon@redhat.com> - 3.5.1.1-1
- 3.5.1 rc1
- drop 0001-Resolves-fdo-43644-survive-registered-but-unavailabl.patch
- drop 0001-Resolves-rhbz-789622-Adapt-SDK-to-changed-paths-in-L.patch
- drop 0001-Fix-fdo-45177-avoid-linked-undo-for-the-while.patch
- drop 0001-Fix-some-apparent-misuses-of-RTL_CONSTASCII_USTRINGP.patch
- drop binfilter-Fix-some-apparent-misuses-of-RTL_CONSTASCII_USTRINGP.patch
- Resolves: fdo#45177 avoid linked undo crash
- Fix some apparent misuses of RTL_CONSTASCII_USTRINGPARAM (cherry-picked from
  upstream libreoffice-3-5 branch)

* Tue Feb 14 2012 Stephan Bergmann <sbergman@redhat.com> - 3.5.0.3-5
- Resolves rhbz#789622: Adapt SDK to changed paths in LO installation

* Mon Feb 13 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.0.3-4
- ensure gdb .py files have the same timstamps so that multilib
  .pyc's and .pyo's have the same content (timestamp in binary cache)

* Sat Feb 11 2012 Caolán McNamara <caolanm@redhat.com> - 3.5.0.3-3
- make sure .tree files don't get busted again

* Tue Feb 07 2012 Stephan Bergmann <sbergman@redhat.com> - 3.5.0.3-2
- junit4 -> junit
- Resolves: rhbz#788042 skip splashscreen with quickstarter
- with split binfilter we need fix for fdo#43644

* Thu Feb 02 2012 David Tardon <dtardon@redhat.com> - 3.5.0.3-1
- 3.5.0 rc3
- Resolves: rhbz#786328 add nlpsolver subpackage
- split legacy binary filters into subpackage

* Thu Jan 26 2012 Stephan Bergmann <sbergman@redhat.com> - 3.5.0.2-2
- add libreoffice-postgresql subpackage

* Wed Jan 25 2012 David Tardon <dtardon@redhat.com> - 3.5.0.2-1
- 3.5.0 rc2

* Thu Jan 19 2012 David Tardon <dtardon@redhat.com> - 3.5.0.1-1
- 3.5.0 rc1
- drop integrated 0001-workaround-internal-compiler-error-with-gcc-4.7.patch
- drop integrated 0001-fix-for-gcc-4.7-C-11-these-are-not-string-literal-op.patch
- drop integrated 0001-fix-for-gcc-4.7-C-11-this-is-not-string-literal-oper.patch
- drop integrated 0001-Revert-fast_merge-fix-mis-merge-of-first-module-s-st.patch
- drop integrated 0001-fix-writing-of-strings-from-the-first-module.patch
- drop integrated 0001-refactor-slightly-to-avoid-link-problems-with-gcc-4..patch

* Fri Jan 13 2012 David Tardon <dtardon@redhat.com> - 3.4.99.3-1
- 3.5.0 beta3
- drop integrated 0001-fix-syntactic-error.patch
- drop integrated 0001-gcc-trunk-fix-error-unable-to-find-string-literal-op.patch
- drop integrated 0001-gcc-trunk-avoid-confusion.patch
- drop integrated 0001-workaround-for-LO-namespace-pollution-breaking-KDE4-.patch
- drop integrated 0001-smath-does-not-handle-accents-in-MathML.patch
- Resolves: rhbz#533318 smath does not handle accents in MathML
- Resolves: rhbz#771108 English menu in writer despite installation of
  libreoffice-langpack-de

* Fri Jan 06 2012 David Tardon <dtardon@redhat.com> - 3.4.99.2-2
- rebuild with gcc 4.7

* Wed Dec 21 2011 David Tardon <dtardon@redhat.com> - 3.4.99.2-1
- 3.5.0 beta2
- drop integrated 0001-Resolves-rhbz-761009-IFSD_Equal-is-asymmetrical.patch
- drop integrated 0001-Resolves-rhbz-767708-avoid-SIGBUS-writing-to-overcom.patch
- drop integrated 0001-force-gbuild-stage-for-CustomTargets.patch
- drop integrated 0001-these-translations-do-already-exist-in-translations-.patch
- drop integrated 0001-Fix-typo-and-clean-up.patch
- use system mysql-connector-c++

* Sun Dec 18 2011 David Tardon <dtardon@redhat.com> - 3.4.99.1-1
- 3.5.0 beta1
- drop integrated 0001-Related-fdo-37195-migrationoo3-not-registered.patch
- drop integrated 0001-Related-i58612-don-t-crash-anyway.patch
- drop integrated 0001-Related-rhbz-652604-better-survive-exceptions-thrown.patch
- drop integrated 0001-Related-rhbz-702833-addEventListener-without-removeE.patch
- drop integrated 0001-Related-rhbz-711087-band-aid.patch
- drop integrated 0001-Related-rhbz-718976-crash-in-SwTxtSizeInfo-GetMultiC.patch
- drop integrated 0001-Related-rhbz-730225-avoid-segv-in-ld-this-was-set-to.patch
- drop integrated 0001-Related-rhbz-753201-fedora-ant-java-1.5.0-gcj-won-t-.patch
- drop integrated 0001-Resolves-fdo-32665-handle-that-FreeSerif-lacks-some-.patch
- drop integrated 0001-Resolves-rhbz-693265-fix-crash-from-unhandled-except.patch
- drop integrated 0001-Resolves-rhbz-695509-crash-in-RefreshDocumentLB.patch
- drop integrated 0001-Resolves-rhbz-713154-pdf-export-dialog-too-tall-to-f.patch
- drop integrated 0001-Resolves-rhbz-715549-use-fontconfig-s-detected-forma.patch
- drop integrated 0001-Resolves-rhbz-738255-avoid-crash-on-NULL-pointer.patch
- drop integrated 0001-Resolves-rhbz-751290-KDE-black-on-dark-tooltips.patch
- drop integrated 0001-add-Oracle-Java-1.7.0-recognition.patch
- drop integrated 0001-avoid-using-com.sun.org-apis.patch
- drop integrated 0001-bubble-down-configure-test-findings-on-visibility.patch
- drop integrated 0001-fix-horizontal-scrollbars-with-KDE-oxygen-style-bnc-.patch
- drop integrated 0001-gtk3-fix-cairo-canvas-crash-for-non-X-or-svp-backend.patch
- drop integrated 0001-helgrind-Related-rhbz-655686-get-order-of-shutdown-c.patch
- drop integrated 0001-rhbz-667082-do-not-crash-importing-section-containin.patch
- drop integrated 0001-rhbz-702635-set-correct-page-number-when-exporting-s.patch
- drop integrated Backport-reading-AES-encrypted-ODF-1.2-documents.patch
- drop integrated gdb-pretty-printers.patch
- drop integrated kde4configure.patch
- drop integrated libreoffice-ppc64.patch
- drop integrated openoffice.org-3.3.0.ooo108637.sfx2.uisavedir.patch
- drop integrated openoffice.org-3.3.0.ooo113273.desktop.resolvelinks.patch
- drop integrated vbahelper.visibility.patch
- drop libreoffice-testtools subpackage, because testtool has been
  removed by upstream

* Thu Dec 15 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.4.2-6
- Resolves: rhbz#761009 IFSD_Equal is asymmetrical
- Resolves: rhbz#767708 write to mmap'ed file w/o disk space: SIGBUS

* Tue Nov 29 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.4.2-5
- Resolves: rhbz#757653 fix headless crash with cairo canvas

* Tue Nov 22 2011 Lukas Tinkl <ltinkl@redhat.com> - 3.4.4.2-4
- Resolves: rhbz#751290 - [kde] LibreOffice has black on dark-grey tooltip-texts

* Fri Nov 11 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.4.2-3
- Related: fdo#42534 0001-Related-i58612-don-t-crash-anyway.patch
- Resolves: fdo#42749 KDE oxygen theme and scrollbars

* Thu Nov 10 2011 Stephan Bergmann <sbergman@redhat.com> - 3.4.4.2-2
- Patch to backport reading AES-encrypted ODF 1.2 documents

* Thu Nov 03 2011 David Tardon <dtardon@redhat.com> - 3.4.4.2-1
- 3.4.4 rc2

* Fri Oct 28 2011 Rex Dieter <rdieter@fedoraproject.org> - 1:3.4.4.1-4
- rebuild(poppler)

* Thu Oct 27 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.4.1-3
- Resolves: rhbz#665800 missing glyph symbol shown when toggling bold/italic
  for Sinhala text

* Thu Oct 27 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.4.1-2
- possible fix for java 1.7.0 detection


* Wed Oct 26 2011 David Tardon <dtardon@redhat.com> - 3.4.4.1-1
- 3.4.4 rc1

* Tue Oct 25 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-16
- allow building with gcj

* Fri Oct 21 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-15
- Resolves: rhbz#747356 let Qt call XInitThreads
- fix .sdw import

* Wed Oct 19 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-14
- Related: rhbz#743750 addXineramaScreenUnique issue
 
* Fri Oct 07 2011 Stephan Bergmann <sbergman@redhat.com> - 3.4.3.2-13
- Patches to build with GCC 6.4.1

* Fri Sep 30 2011 Marek Kasik <mkasik@redhat.com> - 3.4.3.2-12
- Rebuild (poppler-0.18.0)

* Tue Sep 20 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-11
- Resolves: rhbz#738133 fix bn discard string
- Resolves: fdo#35513 avoid crash while processing incorrect print range

* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 3.4.3.2-10
- Rebuild (poppler-0.17.3)

* Thu Sep 15 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-9
- Resolves: rhbz#738255 avoid crash on sc inputhdl

* Tue Sep 13 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-8
- Resolves: rhbz#274631 remove NoDisplay from -math.desktop

* Thu Sep 08 2011 David Tardon <dtardon@redhat.com> - 3.4.3.2-7
- rebuild for new icu

* Tue Sep 06 2011 David Tardon <dtardon@redhat.com> - 3.4.3.2-6
- Resolves: rhbz#734976 libreoffice-langpack-*-* not pulled in by
  yum install libreoffice

* Fri Sep 02 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-5
- Resolves: rhbz#735182 be able to rebuild against poppler 0.17.3

* Tue Aug 30 2011 David Tardon <dtardon@redhat.com> - 3.4.3.2-4
- Resolves: rhbz#734432 openoffice.org symlink broken

* Mon Aug 29 2011 David Tardon <dtardon@redhat.com> - 3.4.3.2-3
- add Latvian langpack

* Fri Aug 26 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.3.2-2
- Resolves: rhbz#733564 graphite2 now packaged into fedora
- Related: fdo#37195 migrationoo3 not registered

* Thu Aug 25 2011 David Tardon <dtardon@redhat.com> - 3.4.3.2-1
- 3.4.3 rc2

* Mon Aug 22 2011 David Tardon <dtardon@redhat.com> - 3.4.3.1-2
- add gdb pretty printers

* Tue Aug 16 2011 David Tardon <dtardon@redhat.com> - 3.4.3.1-1
- 3.4.3 rc1
- drop integrated 0001-Resolves-rhbz-725144-wrong-csh-syntax.patch

* Fri Aug 12 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.2.3-3
- Related: rhbz#730225 avoid segv in ld

* Tue Aug 02 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.2.3-2
- Resolves: rhbz#693265 fix crash from unhandled exception

* Fri Jul 29 2011 David Tardon <dtardon@redhat.com> - 3.4.2.3-1
- 3.4.2 rc3

* Mon Jul 25 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.2.2-2
- Resolves: rhbz#725144 wrong csh syntax

* Wed Jul 20 2011 David Tardon <dtardon@redhat.com> - 3.4.2.2-1
- 3.4.2 rc2
- fix breakage in KDE4 plugin

* Tue Jul 19 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.2.1-3
- Resolves: rhbz#715549 use fontconfig's detected format

* Mon Jul 18 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.2.1-2
- Rebuild (poppler-0.17.0), add libreoffice-poppler-0.17.0.patch
  seeing as the API changed for some reason or other

* Wed Jul 13 2011 David Tardon <dtardon@redhat.com> - 3.4.2.1-1
- 3.4.2 rc1
- drop 0001-bad-merge-fix-to-enable-extensions-to-build-again.patch
- drop 0001-fix-regression-in-SvGlobalName-operator.patch

* Tue Jul 12 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.3-3
- fix regression in SvGlobalName operator

* Tue Jul 05 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.3-2
- Related: rhbz#718976 crash in SwTxtSizeInfo::GetMultiCreator

* Fri Jul 01 2011 David Tardon <dtardon@redhat.com> - 3.4.1.3-1
- 3.4.1 rc3

* Thu Jun 23 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.2-1
- 3.4.1 rc2
- drop integrated 0001-correctly-build-GTK-systray-icon.patch

* Tue Jun 21 2011 David Tardon <dtardon@redhat.com> - 3.4.1.1-5
- Resolves: rhbz#714781 add Persian langpack
- Resolves: rhbz#667082 do not crash importing section containing just
  an empty paragraph

* Mon Jun 20 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.1-4
- Related: rhbz#711087 band aid for crash in sc undo
- Resolves: rhbz#714338 add a metapackage to install standard bits

* Fri Jun 17 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.1-3
- Related: rhbz#702833 addEventListener without removeEventListener

* Thu Jun 16 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.1.1-2
- Resolves: rhbz#713154 pdf export dialog too tall to fit

* Wed Jun 15 2011 David Tardon <dtardon@redhat.com> - 3.4.1.1-1
- 3.4.1 RC1
- drop integrated 0001-Resolves-rhbz-707317-avoid-crash-in-getRowSpan.patch
- drop integrated 0001-Resolves-rhbz-710004-band-aid-for-immediate-crash-in.patch
- drop integrated 0001-Resolves-rhbz-710556-don-t-crash-on-missing-graphics.patch
- drop integrated 0001-Resolves-rhbz-699909-crash-in-export-of-.doc-in-lcl_.patch
- drop integrated 0001-fdo-37584-Make-a-real-copy-of-the-text-where-to-coun.patch
- drop integrated 0001-Resolves-fdo-37668-bitwise-operations-on-signed-numb.patch

* Thu Jun 09 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.0.2-5
- Resolves: rhbz#699909 crash in export of .doc in lcl_getField
- Resolves: fdo#37584 Make a real copy of the text
- Resolves: rhbz#709503/fdo#37668 bitwise operations on signed values

* Tue Jun 07 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.0.2-4
- Resolves: rhbz#710556 't crash on missing graphics .pptx export
- Resolves: rhbz#652604 better survive exceptions in autorecovery

* Thu Jun 02 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.0.2-3
- Resolves: rhbz#710004 band aid for crash

* Mon May 30 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.0.2-2
- Resolves: rhbz#707317 avoid crash in getRowSpan

* Fri May 27 2011 David Tardon <dtardon@redhat.com> - 3.4.0.2-1
- 3.4.0 RC2
- drop integrated 0001-fix-build-with-system-bsh.patch

* Wed May 25 2011 Caolán McNamara <caolanm@redhat.com> - 3.4.0.1-3
- rebuild for new hunspell

* Tue May 24 2011 David Tardon <dtardon@redhat.com> - 3.4.0.1-2
- Resolves: rhbz#706110 oosplash.bin segfault on every login

* Fri May 20 2011 David Tardon <dtardon@redhat.com> - 3.4.0.1-1
- 3.4 RC1
- Resolves: rhbz#702635 set correct page number when exporting selected
  pages

* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.3.99.4-2
- Update icon cache scriptlet

* Sat May 07 2011 David Tardon <dtardon@redhat.com> 3.3.99.4-1
- 3.4 beta4
- drop integrated 0001-Removed-duplicate-code-block-mis-merge-prolly.patch
- drop integrated 7de0b88ce2dd932915894385b54be1897d5ee053.zip

* Mon Apr 18 2011 Caolán McNamara <caolanm@redhat.com> 3.3.99.1-2
- Resolves: rhbz#695509 crash in RefreshDocumentLB
- bubble down configure test findings on visibility

* Mon Apr 11 2011 Caolán McNamara <caolanm@redhat.com> 3.3.99.1-1
- 3.4 beta1
- drop openoffice.org-1.9.123.ooo53397.prelinkoptimize.desktop.patch
  in favour of ooosplash
- drop openoffice.org-2.2.0.gccXXXXX.solenv.javaregistration.patch
  because components are passively registered now
- drop integrated openoffice.org-3.1.0.ooo102061.sc.cellanchoring.patch
- drop integrated turn-script-providers-into-extensions.patch
- drop integrated 0001-tidy-this-up-and-don-t-bail-out-on-mislength-records.patch
- drop integrated 0001-free-ctxt-after-taking-lastError-details.patch
- drop integrated 0001-Removed-suspect-hack.-Cursor-on-post-it-now-scrolls-.patch
- drop integrated libreoffice-gcc4.6.0.patch
- drop integrated 0001-fexceptions-fexceptions.patch
- drop integrated 0001-Related-rhbz-672872-cancel-gtk-file-dialog-on-deskto.patch
- drop vbahelper.visibility.patch
- drop integrated 0001-Resolves-fdo-33509-i62414-out-by-one-breaks-CTL-spel.patch
- drop integrated 0001-Resolves-rhbz-670020-crash-in-slidesorting.patch
- drop integrated 0001-Resolves-rhbz-676539-handle-missing-pWindows-from-xW.patch
- drop integrated 0001-Resolves-fdo-33750-i94623-use-optimal-border-width-w.patch
- drop integrated 0001-rhbz-649310-don-t-crash-deregistering-diff.-platform.patch
- drop integrated 0001-Resolves-rhbz-674330-dereference-of-NULL-mpBase.patch
- drop integrated 0001-rhbz-678284-Get-correct-current-position-when-shift-page-up-and-.patch
- drop integrated 0001-Resolves-rhbz-681159-bandaid-for-crash.patch
- drop integrated 0001-Resolves-rhbz-672818-bandaid-for-crash-in-SwTxtNode-.patch
- drop integrated 0001-install-high-resolution-icons.patch
- drop integrated 0001-Resolves-rhbz-682716-pa-IN-isn-t-handled-by-fontconf.patch
- drop integrated 0001-Related-rhbz-684477-make-sure-this-is-thread-safe.patch
- drop integrated 0001-Resolves-rhbz-682621-better-resizing-of-overtall-gly.patch
- drop integrated 0001-Resolves-rhbz-684620-crash-with-NULL-pTableBox.patch
- drop integrated libreoffice-fdo33947.sd.print.crash.patch
- drop integrated 0001-add-cairo_ft_font_face_create_for_pattern-wrapper.patch
- drop integrated 0001-Related-rhbz-680460-reorganize-this-to-make-it-inher.patch
- drop integrated 0001-Related-rhbz-680460-don-t-bother-with-an-interim-Fon.patch
- drop integrated 0001-Resolves-rhbz-680460-honour-lcdfilter-subpixeling-et.patch
- drop integrated 0001-Cut-Gordian-Knot-of-who-owns-the-font-options.patch
- drop integrated 0001-beware-of-invalidated-iterator.patch
- drop integrated rhbz680766.fix-mdds-crash.patch
- drop integrated 0001-Resolves-rhbz-684580-X-and-strike-through-escapes-ra.patch
- drop integrated 0001-set-mime-types-on-flat-xml-filters.patch
- drop integrated 0001-add-flat-xml-types-to-.desktop-files-etc.patch
- drop integrated libreoffice-fdo31271.icu.patch

* Tue Apr 05 2011 Caolán McNamara <caolanm@redhat.com> 3.3.2.2-6
- Resolves: rhbz#655686 get order of shutdown correct

* Wed Mar 30 2011 Caolán McNamara <caolanm@redhat.com> 3.3.2.2-5
- Add application/vnd.oasis.opendocument.text-flat-xml, etc. to
  .desktop files for mcepl

* Tue Mar 29 2011 Caolán McNamara <caolanm@redhat.com> 3.3.2.2-4
- Resolves: rhbz#684580 improve X and / strike-through

* Thu Mar 24 2011 David Tardon <dtardon@redhat.com> 3.3.2.2-3
- Resolves: rhbz#680766 crash in mdds

* Wed Mar 23 2011 David Tardon <dtardon@redhat.com> 3.3.2.2-2
- Related: rhbz#689268 versioned deps need to contain epoch

* Tue Mar 22 2011 Caolán McNamara <caolanm@redhat.com> 3.3.2.2-1
- latest version
- drop integrated 0001-Resolves-fdo-33701-ensure-node-outlives-path.patch
- drop integrated 0001-valgrind-don-t-leave-an-evil-thread-running-after-ma.patch

* Tue Mar 22 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-12
- Fix fontoptions cache
- avoid crash in calc on changing size of rows (dtardon)

* Mon Mar 21 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-11
- Resolves: rhbz#689268 autocorrs from OOo F14 not upgraded

* Wed Mar 16 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-10
- Resolves: rhbz#680460 honour lcdfilter and subpixeling

* Tue Mar 15 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-9
- Resolves: fdo#33947 sd print crash

* Mon Mar 14 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-8
- Related: rhbz#684477 make sure this is thread safe
- Resolves: rhbz#684620 crash with NULL pTableBox

* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> 3.3.1.2-7
- Rebuild (poppler-0.16.3)

* Wed Mar 09 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-6
- Resolves: rhbz#682621 better resizing of overtall glyphsubs

* Tue Mar 08 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-5
- Resolves: rhbz#682716 pa-IN isn't handled well by fontconfig

* Tue Mar 08 2011 David Tardon <dtardon@redhat.com> 3.3.1.2-4
- install 128x128 px icons

* Wed Mar 02 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-3
- Resolves: rhbz#681159 crash in writer
- Resolves: rhbz#672818 crash in writer
- Resolves: fdo#33701 ensure node outlives path
- Resolves: rhbz#681738 crash on writing config post-main

* Thu Feb 17 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-2
- Resolves: rhbz#678284 Calc crashes during cell select with keys
  (dtardon)

* Thu Feb 17 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.2-1
- RC2

* Wed Feb 16 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.1-2
- Resolves: rhbz#674330 dereference of NULL mpBase

* Fri Feb 11 2011 Caolán McNamara <caolanm@redhat.com> 3.3.1.1-1
- 3.3.1 rc1
- drop integrated 0001-don-t-pushback-and-process-a-corrupt-extension.patch
- drop integrated libreoffice-fdo32561.comphelper.patch
- drop integrated 0001-Related-rhbz-610103-more-woes-on-rpm-upgrade-vs-rpm-.patch
- drop integrated 0001-Resolves-rhbz-673819-crash-on-changing-position-of-d.patch
- drop integrated 0001-rhbz-666440-don-t-pushback-and-process-a-corrupt-extension.patch

* Thu Feb 10 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- Related: rhbz#610103 make this even more robust
- Related: rhbz#672872 cancel gtk file dialog on terminate
- Resolves: fdo#33509/ooo#62414 fix CTL spelling popup
- Resolves: rhbz#673819 crash on changing position of header/footer object
- Resolves: rhbz#670020 crash in slidesorting
- Resolves: rhbz#676539 handle missing pWindows from xWindows
- Resolves: rhbz#649310 don't crash deregistering diff. platform ext.
  (dtardon)
- Resolves: rhbz#666440 don't pushback and process a corrupt extension

* Mon Jan 24 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.4-2
- Resolves: rhbz#671540 fix lonely )

* Thu Jan 20 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.4-1
- next release candidate
- drop integrated 0001-fix-presenter-screens-description.xml-build.patch

* Tue Jan 18 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.3-2
- backport fix to get presenter screen working
- make handling busted extensions more robust

* Wed Jan 12 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.3-1
- latest version
- drop integrated 0001-Resoves-rhbz-663857-font-color-missing-C-FAQ-10.3-do.patch
- drop integrated 0001-Avoid-double-paste-when-pasting-text-into-cell-comme.patch
- drop integrated 0001-Resolves-rhbz-660342-Undo-Redo-crash-with-postits.patch
- drop integrated 0001-Resolves-rhbz-666088-clean-up-search-cache-singleton.patch

* Thu Jan 06 2011 Caolán McNamara <caolanm@redhat.com> 3.3.0.2-5
- Resolves: rhbz#666088 don't crash on clean up of search cache

* Wed Jan 05 2011 Lukas Tinkl <ltinkl@redhat.com> 3.3.0.2-4
- create a KDE integration subpackage

* Mon Jan 03 2011 David Tardon <dtardon@redhat.com> 3.3.0.2-3
- rebuild with new poppler

* Wed Dec 22 2010 Caolán McNamara <caolanm@redhat.com> 3.3.0.2-2
- Resolves: rhbz#663724 fdo32572-sc-dont-double-paste.patch
- Resolves: rhbz#660342 Undo/Redo crash with postits

* Tue Dec 21 2010 Caolán McNamara <caolanm@redhat.com> 3.3.0.2-1
- latest version

* Sat Dec 18 2010 Caolán McNamara <caolanm@redhat.com> 3.3.0.1-4
- Resolves: rhbz#663857 font color missing in transitions

* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 3.3.0.1-3
- rebuild (poppler)

* Wed Dec 15 2010 Caolán McNamara <caolanm@redhat.com> 3.3.0.1-2
- Fix up some doc imports

* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> 3.3.0.1-1
- release candidate 1
- drop integrated qstart.dont-forceenabled-on-post-reg-restart.patch
- drop integrated exit.quickstarter.when.deleted.patch
- drop integrated 0001-destroydesktop.in.timeout.patch
- drop integrated openoffice.org-3.3.0.rhbz657541.join-paragraphs.patch

* Sat Nov 27 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.3-2
- Resolves: rhbz#610103 exit quickstarter when libs deleted
- Resolves: rhbz#652695 release desktop in timeout
- Resolves: rhbz#657541 don't crash during processing of auto. styles
  when joining paragraphs (dtardon)

* Thu Nov 18 2010 Caolán McNamara <caolanm@redhat.com 3.2.99.3-1
- next Libreoffice milestone
- drop integrated openoffice.org-2.0.1.rhXXXXXX.extensions.defaulttoevo2.patch
- drop integrated openoffice.org-2.2.1.ooo7065.sw.titlepagedialog.patch
- drop integrated openoffice.org-3.2.0.ooo108846.sfx2.qstartfixes.patch
- drop integrated openoffice.org-3.3.0.ooo107490.cppu.lifecycle.patch
- drop integrated libreoffice-buildfix.patch
- drop integrated libreoffice-xdg632229.gnomeshell.patch
- drop integrated 0001-strcpy-cannot-be-used-with-overlapping-src-and-dest.patch
- drop integrated 0001-abort-doesn-t-gain-us-anything-here.patch
- drop integrated 0001-latest-libX11-changed-header-guards.patch

* Sat Nov 06 2010 David Tardon <dtardon@redhat.com 3.2.99.2-6
- turn script providers into extensions

* Wed Nov 03 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.2-5
- Resolves: rhbz#649210 add Sinhalese langpack

* Sat Oct 30 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.2-4
- langpack macro hard-coded version number

* Fri Oct 22 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.2-3
- Resolves: xdg632229 gnomeshell app tracking

* Tue Oct 12 2010 David Tardon <dtardon@redhat.com> 3.2.99.2-2
- use macros to define auto-correction and language pack subpackages

* Mon Oct 11 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.2-1
- next LibreOffice milestone
- drop integrated openoffice.org-2.3.0.ooo76649.httpencoding.patch
- drop integrated workspace.dtardon03.patch
- drop integrated openoffice.org-3.1.0.ooo61927.sw.ww6.unicodefontencoding.patch
- drop integrated workspace.impress195.patch
- drop integrated workspace.srb1.patch
- drop integrated openoffice.org-3.2.0.ooo106502.svx.fixspelltimer.patch
- drop integrated openoffice.org-3.3.0.ooo108246.svx.hide-sql-group-when-inactive.patch
- drop integrated openoffice.org-3.2.0.ooo95369.sw.sortedobjs.patch
- drop integrated openoffice.org-3.2.0.ooo110142.svx.safercolornames.patch
- drop integrated openoffice.org-3.3.0.ooo111758.sd.xerror.patch
- drop integrated openoffice.org-3.2.0.ooo111741.extras.malformed-xml-file.patch
- drop integrated openoffice.org-3.3.0.ooo112059.sw.avoid-null-ptr-deref.patch
- drop integrated openoffice.org-3.3.0.ooo100686.wizards.types.not.mediatypes.patch
- drop integrated workspace.vcl113.patch
- drop integrated openoffice.org-3.3.0.ooo112384.sw.export.doc.styledoesntexist.patch
- drop integrated workspace.cmcfixes77.patch
- drop integrated workspace.vcl114.patch
- drop integrated openoffice.org-3.3.0.ooo106591.sal.tradcopy.patch
- drop integrated workspace.vcl115.patch
- drop integrated workspace.cmcfixes78.patch
- drop integrated openoffice.org-3.3.0.ooo114012.sd.bada11ychain.patch
- drop integrated workspace.cmcfixes79.patch
- drop integrated openoffice.org-3.3.0.ooo114703.vcl.betterlocalize.font.patch
- drop integrated openoffice.org-3.3.0.rh638185.editeng.cjkctlhtmlsizes.patch
- drop integrated openoffice.org-3.3.0.rh637738.libgcrypt.addmutex.patch
- drop integrated openoffice.org-3.2.0.rh632236.writerfilter.cleanup-cell-props.patch
- drop workspace.gtk3.patch

* Wed Oct 06 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.1-2
- Related: rhbz#639945 pull in review changes
  + redland build-fix
  + replace awk script
  + validate .destop files

* Wed Sep 29 2010 Caolán McNamara <caolanm@redhat.com> 3.2.99.1-1
- initial import of the leviathan