diff --git a/libreoffice-5.1.1.3-desktop-startcenter-nodisplay.patch b/libreoffice-5.1.1.3-desktop-startcenter-nodisplay.patch new file mode 100644 index 0000000..b952162 --- /dev/null +++ b/libreoffice-5.1.1.3-desktop-startcenter-nodisplay.patch @@ -0,0 +1,12 @@ +diff -urN libreoffice-5.1.1.3/sysui/desktop/menus/startcenter.desktop libreoffice-5.1.1.3-patched/sysui/desktop/menus/startcenter.desktop +--- libreoffice-5.1.1.3/sysui/desktop/menus/startcenter.desktop 2016-04-06 22:58:19.156624790 +1000 ++++ libreoffice-5.1.1.3-patched/sysui/desktop/menus/startcenter.desktop 2016-04-06 22:59:43.549626371 +1000 +@@ -18,7 +18,7 @@ + [Desktop Entry] + Version=1.0 + Terminal=false +-NoDisplay=false ++NoDisplay=true + Icon=startcenter + Type=Application + Categories=Office; diff --git a/libreoffice.spec b/libreoffice.spec index fa996c7..f4f61b1 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -7,8 +7,6 @@ %bcond_with icecream %bcond_with ccache -%define beta %{nil} - %if %{with l10n} %define langs en-US af ar as bg bn br bs ca cs cy da de dz el en-GB es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv mai mk ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-TW zh-CN zu %define helplangs bg bn bs ca cs da de dz el en-GB es et eu fi fr gl gu he hi hr hu it ja ko mk nb nl nn pl pt pt-BR ru si sk sl sv tr uk zh-CN zh-TW en-US @@ -43,11 +41,7 @@ Summary: Office suite Name: libreoffice Epoch: 1 Version: 5.1.1 -%if "%{beta}" != "" -Release: 0.%{beta}.1 -%else -Release: 4 -%endif +Release: 5 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 Group: Office Url: http://www.libreoffice.org @@ -105,7 +99,6 @@ Patch0: libreoffice-5.1.1.3-disable-test-languagetag.patch Patch1: libreoffice-4.2.5-icu-49.patch Patch2: libreoffice-5.1.1.3-disable-test-hsqldb.patch Patch3: libreoffice-5.1.1.3-disable-test-firebird.patch -#Patch4: libreoffice-4.4.2.2-disable-test2.patch Patch51: libreoffice-4.4.1.2-impress-kde-crash-hack.patch @@ -113,6 +106,7 @@ Patch51: libreoffice-4.4.1.2-impress-kde-crash-hack.patch Patch100: libreoffice-4.1-vendor.patch Patch101: libreoffice-5.1.1.3-desktop-categories.patch Patch102: libreoffice-4.4.2.2-desktop-protocols.patch +Patch103: libreoffice-5.1.1.3-desktop-startcenter-nodisplay.patch BuildRequires: bison BuildRequires: bsh