[Libreoffice-commits] core.git: 2 commits - scp2/source sysui/CustomTarget_rpm.mk sysui/CustomTarget_share.mk sysui/desktop sysui/Package_share.mk

Petr Mladek pmladek at suse.cz
Fri May 17 09:19:36 PDT 2013


 scp2/source/ooo/module_systemint.scp       |    2 
 sysui/CustomTarget_rpm.mk                  |    2 
 sysui/CustomTarget_share.mk                |   19 -
 sysui/Package_share.mk                     |    4 
 sysui/desktop/mandriva/mandriva-menus.spec |  358 --------------------------
 sysui/desktop/suse/suse-menus.spec         |  389 -----------------------------
 6 files changed, 13 insertions(+), 761 deletions(-)

New commits:
commit 8550935cb17ccc07e4928613a43d15797f4fe5de
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri May 17 18:08:58 2013 +0200

    several fixes of Linux desktop integration after gbuildisation (fdo#64707)
    
    - $(UNIXFILENAME.$*) is not correctly substituted if the variables are defined
      by another VAR.bla variables
    - add missing '-' to the iconprefix
    - use '$${PRODUCTNAME} $${PRODUCTVERSION}' for the desktop menu; the real name
      and version is added later by the installer in instsetto_native
    - use correct .po file for the translations
    - deliver the localized and corrected desktop files
    
    Change-Id: Ifcf797b57f94b16bd7ee498136c9c353b85c7c46

diff --git a/sysui/CustomTarget_share.mk b/sysui/CustomTarget_share.mk
index 121005e..f3a5563 100644
--- a/sysui/CustomTarget_share.mk
+++ b/sysui/CustomTarget_share.mk
@@ -118,12 +118,9 @@ PKGVERSIONSHORT := $(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR)
 PRODUCTNAME.libreoffice := LibreOffice
 PRODUCTNAME.libreofficeodev := LibreOfficeDev
 PRODUCTNAME.oxygenoffice := OxygenOffice
-PRODUCTNAMELC.libreoffice := libreoffice
-PRODUCTNAMELC.libreofficeodev := libreofficedev
-PRODUCTNAMELC.oxygenoffice := oxygenoffice
-UNIXFILENAME.libreoffice := $(PRODUCTNAMELC.libreoffice)$(PKGVERSIONSHORT)
-UNIXFILENAME.libreofficedev := $(PRODUCTNAMELC.libreofficedev)$(PKGVERSIONSHORT)
-UNIXFILENAME.oxygenoffice := $(PRODUCTNAMELC.oxygenoffice)$(PKGVERSIONSHORT)
+UNIXFILENAME.libreoffice := libreoffice$(PKGVERSIONSHORT)
+UNIXFILENAME.libreofficedev := libreofficedev$(PKGVERSIONSHORT)
+UNIXFILENAME.oxygenoffice := oxygenoffice$(PKGVERSIONSHORT)
 
 $(eval $(call gb_CustomTarget_CustomTarget,sysui/share))
 
@@ -153,7 +150,7 @@ $(share_WORKDIR)/%/openoffice.keys:  \
 	mkdir -p $(dir $@)
 	$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
 	$(PERL) $(share_SRCDIR)/share/brand.pl -p $* -u $(UNIXFILENAME.$*) \
-		--iconprefix $(UNIXFILENAME.$*) $^ $(share_WORKDIR)/$*
+		--iconprefix $(UNIXFILENAME.$*)- $^ $(share_WORKDIR)/$*
 	$(PERL) $(share_TRANSLATE) -p $* -d $(share_WORKDIR)/$* \
 		--ext "keys" --key "description" $(share_WORKDIR)/documents.ulf
 	cat $(MIMEKEYS) > $@
@@ -163,7 +160,7 @@ $(share_WORKDIR)/%/mimelnklist: $(MIMEDESKTOPS) $(share_SRCDIR)/share/brand.pl \
 	mkdir -p $(dir $@)
 	$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
 	$(PERL) $(share_SRCDIR)/share/brand.pl -p $* -u $(UNIXFILENAME.$*) \
-		--iconprefix $(UNIXFILENAME.$*) $^ $(share_WORKDIR)/$*
+		--iconprefix $(UNIXFILENAME.$*)- $^ $(share_WORKDIR)/$*
 	$(PERL) $(share_TRANSLATE) -p $* -d $(share_WORKDIR)/$* \
 		--ext "desktop" --key "Comment" $(share_WORKDIR)/documents.ulf
 	echo "$(MIMEDESKTOPS)" > $@
@@ -212,9 +209,9 @@ $(share_WORKDIR)/%/build.flag: $(share_SRCDIR)/share/brand.pl $(LAUNCHERS) \
 	$(share_TRANSLATE)  $(addprefix $(share_WORKDIR)/,$(ULFS))
 	mkdir -p $(dir $@)
 	$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
-	$(PERL) $(share_SRCDIR)/share/brand.pl -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -u '$$(UNIXPRODUCTNAME)$$(BRANDPACKAGEVERSION)' \
+	$(PERL) $(share_SRCDIR)/share/brand.pl -p '$${PRODUCTNAME} $${PRODUCTVERSION}' -u $(UNIXFILENAME.$*) \
 		$(brand_URIPARAM) \
-		--iconprefix '$$(UNIXBASISROOTNAME)' $^ $(share_WORKDIR)/$*
+		--iconprefix '$${UNIXBASISROOTNAME}-' $^ $(share_WORKDIR)/$*
 	$(PERL) $(share_TRANSLATE) -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -d $(share_WORKDIR)/$* \
 		--ext "desktop" --key "Comment" $(share_WORKDIR)/launcher_comment.ulf
 	$(PERL) $(share_TRANSLATE) -p $(PRODUCTNAME.$*)$(PRODUCTVERSION) -d $(share_WORKDIR)/$* \
@@ -227,7 +224,7 @@ ifneq ($(WITH_LANG),)
 $(share_WORKDIR)/%.ulf: $(share_SRCDIR)/share/%.ulf | $(call gb_Executable_get_runtime_dependencies,ulfex)
 	$(call gb_Output_announce,$@,$(true),SUM,1)
 	MERGEINPUT=`$(gb_MKTEMP)` && \
-	echo $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/$(patsubst %/,%,$(dir $@)).po) > $${MERGEINPUT} && \
+	echo $(foreach lang,$(gb_TRANS_LANGS),$(gb_POLOCATION)/$(lang)/sysui/desktop/share.po) > $${MERGEINPUT} && \
 	$(call gb_Helper_abbreviate_dirs,\
 	$(call gb_Executable_get_command,ulfex) -i $< -o $@ -m $${MERGEINPUT} -l all ) && \
 	rm -rf $${MERGEINPUT}
diff --git a/sysui/Package_share.mk b/sysui/Package_share.mk
index eb94e7e..ce1d32a 100644
--- a/sysui/Package_share.mk
+++ b/sysui/Package_share.mk
@@ -7,10 +7,12 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 
-$(eval $(call gb_Package_Package,share,$(SRCDIR)/sysui/desktop/menus))
+$(eval $(call gb_Package_Package,share,$(share_WORKDIR)/libreoffice))
 
 $(eval $(call gb_Package_add_files,share,pck,\
 	$(addsuffix .desktop,$(LAUNCHERLIST)) \
 ))
 
+$(eval $(call gb_Package_use_custom_target,share,sysui/share))
+
 # vim: set noet sw=4 ts=4:
commit 4ed380d62abe283940dced63e0ad29f6f766545f
Author: Petr Mladek <pmladek at suse.cz>
Date:   Fri May 17 18:03:50 2013 +0200

    bin obsolete suse and madriva desktop integration packages
    
    The freedesktop solution has been supported by the Linux desktops
    for many years. It should be enough these days. At least the
    SUSE desktop integration has not been needed since about 2009.
    
    Change-Id: Ib5048bd062802f6e70403e81433ea68ca9dff177

diff --git a/scp2/source/ooo/module_systemint.scp b/scp2/source/ooo/module_systemint.scp
index bb628f6..f4a3d34 100644
--- a/scp2/source/ooo/module_systemint.scp
+++ b/scp2/source/ooo/module_systemint.scp
@@ -45,6 +45,6 @@ Module gid_Module_Optional_Systemintegration
   #else
     PackageName = "";
   #endif
-	InstallOrder = "desktop-integration:1050, suse-menus:1060, freedesktop-menus:1250, redhat-menus:1260";
+	InstallOrder = "desktop-integration:1050, freedesktop-menus:1250";
 End
 
diff --git a/sysui/CustomTarget_rpm.mk b/sysui/CustomTarget_rpm.mk
index cd9b3d1..feccac8 100644
--- a/sysui/CustomTarget_rpm.mk
+++ b/sysui/CustomTarget_rpm.mk
@@ -10,7 +10,7 @@
 rpm_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/rpm)
 rpm_SRCDIR := $(SRCDIR)/sysui/desktop
 
-RPMDISTROS := suse mandriva freedesktop
+RPMDISTROS := freedesktop
 
 define rpm_register_target
 $(call gb_CustomTarget_get_target,sysui/rpm): $(rpm_WORKDIR)/$(1)/$(1)$(PKGVERSIONSHORT)-$(2)-menus-$(PKGVERSION)-$(LIBO_VERSION_PATCH).noarch.rpm
diff --git a/sysui/desktop/mandriva/mandriva-menus.spec b/sysui/desktop/mandriva/mandriva-menus.spec
deleted file mode 100755
index b1b2b3b..0000000
--- a/sysui/desktop/mandriva/mandriva-menus.spec
+++ /dev/null
@@ -1,358 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-#   Licensed to the Apache Software Foundation (ASF) under one or more
-#   contributor license agreements. See the NOTICE file distributed
-#   with this work for additional information regarding copyright
-#   ownership. The ASF licenses this file to you under the Apache
-#   License, Version 2.0 (the "License"); you may not use this file
-#   except in compliance with the License. You may obtain a copy of
-#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-# version and release passed by command-line
-Version: %version
-Release: %release
-Summary: %productname desktop integration
-Name: %pkgprefix-mandriva-menus
-Group: Office
-License: LGPLv3 with MPLv2, ALv2 and others
-AutoReqProv: no
-BuildArch: noarch
-#
-# FIXME: Limited Edition 2005 contains package mandrakelinux-release,
-#        which provides 'mandrake-release'. We should leave 'mandrake-release'
-#        here and check for the 'mandriva-release' in the future (next year).
-#
-Requires: mandrake-release
-Provides: libreoffice-desktop-integration
-
-%define _unpackaged_files_terminate_build 0
-%define _binary_filedigest_algorithm 1
-%define _binary_payload w9.gzdio
-
-%define menuversion %(echo %version|cut -d'.' -f 1-2)
-%{?!update_menus:%define update_menus if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi}
-%{?!trigger_clean_menus:%define trigger_clean_menus if [ "$2" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi}
-
-%description
-%productname desktop integration
-
-# Update menus
-#
-# - core02 for spadmin (printeradmin)
-#
-%triggerin -- %pkgprefix, %pkgprefix-core01 %pkgprefix-calc %pkgprefix-draw %pkgprefix-impress %pkgprefix-writer %pkgprefix-math %pkgprefix-core02
-%{update_menus}
-
-# Update menus
-#
-# - core02 for spadmin (printeradmin)
-#
-%triggerpostun -- %pkgprefix, %pkgprefix-core01 %pkgprefix-calc %pkgprefix-draw %pkgprefix-impress %pkgprefix-writer %pkgprefix-math %pkgprefix-core02
-%{trigger_clean_menus}
-
-%post
-
-# update /etc/mime.types
-# backing out existing entries to avoid duplicates
-sed '
-/application\/vnd\.oasis\.opendocument/d
-/application\/vnd\.openofficeorg/d
-/application\/vnd\.sun/d
-/application\/vnd\.stardivision/d
-' /etc/mime.types 2>/dev/null >> /etc/mime.types.tmp$$
-
-# now append our stuff to the temporary file
-cat >> /etc/mime.types.tmp$$ << END
-application/vnd.oasis.opendocument.text odt
-application/vnd.oasis.opendocument.text-flat-xml fodt
-application/vnd.oasis.opendocument.text-template ott
-application/vnd.oasis.opendocument.text-web oth
-application/vnd.oasis.opendocument.text-master odm
-application/vnd.oasis.opendocument.graphics odg
-application/vnd.oasis.opendocument.graphics-flat-xml fodg
-application/vnd.oasis.opendocument.graphics-template otg
-application/vnd.oasis.opendocument.presentation odp
-application/vnd.oasis.opendocument.presentation-flat-xml fodp
-application/vnd.oasis.opendocument.presentation-template otp
-application/vnd.oasis.opendocument.spreadsheet ods
-application/vnd.oasis.opendocument.spreadsheet-flat-xml fods
-application/vnd.oasis.opendocument.spreadsheet-template ots
-application/vnd.oasis.opendocument.chart odc
-application/vnd.oasis.opendocument.formula odf
-application/vnd.oasis.opendocument.image odi
-application/vnd.sun.xml.writer sxw
-application/vnd.sun.xml.writer.template stw
-application/vnd.sun.xml.writer.global sxg
-application/vnd.stardivision.writer sdw vor
-application/vnd.stardivision.writer-global sgl
-application/vnd.sun.xml.calc sxc
-application/vnd.sun.xml.calc.template stc
-application/vnd.stardivision.calc sdc
-application/vnd.stardivision.chart sds
-application/vnd.sun.xml.impress sxi
-application/vnd.sun.xml.impress.template sti
-application/vnd.stardivision.impress sdd sdp
-application/vnd.sun.xml.draw sxd
-application/vnd.sun.xml.draw.template std
-application/vnd.stardivision.draw sda
-application/vnd.sun.xml.math sxm
-application/vnd.stardivision.math smf
-application/vnd.sun.xml.base odb
-application/vnd.openofficeorg.extension oxt
-application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
-application/vnd.ms-word.document.macroenabled.12 docm
-application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
-application/vnd.ms-word.template.macroenabled.12 dotm
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
-application/vnd.ms-excel.sheet.macroenabled.12 xlsm
-application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
-application/vnd.ms-excel.template.macroenabled.12 xltm
-application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
-application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
-application/vnd.openxmlformats-officedocument.presentationml.template potx
-application/vnd.ms-powerpoint.template.macroenabled.12 potm
-END
-
-# and replace the original file
-mv -f /etc/mime.types.tmp$$ /etc/mime.types 2>/dev/null
-
-# update /etc/mailcap only at initial install
-if [ "$1" = 1 ]
-then
-  # backing out existing entries to avoid duplicates
-  sed '
-/^# LibreOffice/d
-/^application\/vnd\.oasis\.opendocument/d
-/^application\/vnd\.openofficeorg/d
-/^application\/vnd\.sun/d
-/^application\/vnd\.stardivision/d
-/^application\/vnd\.ms-word/d
-/^application\/vnd\.ms-excel/d
-/^application\/vnd\.ms-powerpoint/d
-/^application\/x-star/d
-/excel/d
-/ms[-]*word/d
-/powerpoint/d
-' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
-
-  # now append our stuff to the temporary file
-  cat >> /etc/mailcap.tmp$$ << END
-# LibreOffice
-application/vnd.oasis.opendocument.text; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-template; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-web; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-master; %unixfilename -view %s
-application/vnd.sun.xml.writer; %unixfilename -view %s
-application/vnd.sun.xml.writer.template; %unixfilename -view %s
-application/vnd.sun.xml.writer.global; %unixfilename -view %s
-application/vnd.stardivision.writer; %unixfilename -view %s
-application/vnd.stardivision.writer-global; %unixfilename -view %s
-application/x-starwriter; %unixfilename -view %s
-application/vnd.oasis.opendocument.formula; %unixfilename -view %s
-application/vnd.sun.xml.math; %unixfilename -view %s
-application/vnd.stardivision.math; %unixfilename -view %s
-application/x-starmath; %unixfilename -view %s
-application/msword; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet-template; %unixfilename -view %s
-application/vnd.sun.xml.calc; %unixfilename -view %s
-application/vnd.sun.xml.calc.template; %unixfilename -view %s
-application/vnd.stardivision.calc; %unixfilename -view %s
-application/x-starcalc; %unixfilename -view %s
-application/vnd.stardivision.chart; %unixfilename -view %s
-application/x-starchart; %unixfilename -view %s
-application/excel; %unixfilename -view %s
-application/msexcel; %unixfilename -view %s
-application/vnd.ms-excel; %unixfilename -view %s
-application/x-msexcel; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation-template; %unixfilename -view %s
-application/vnd.sun.xml.impress; %unixfilename -view %s
-application/vnd.sun.xml.impress.template; %unixfilename -view %s
-application/vnd.stardivision.impress; %unixfilename -view %s
-application/x-starimpress; %unixfilename -view %s
-application/powerpoint; %unixfilename -view %s
-application/mspowerpoint; %unixfilename -view %s
-application/vnd.ms-powerpoint; %unixfilename -view %s
-application/x-mspowerpoint; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics-template; %unixfilename -view %s
-application/vnd.sun.xml.draw; %unixfilename -view %s
-application/vnd.sun.xml.draw.template; %unixfilename -view %s
-application/vnd.stardivision.draw; %unixfilename -view %s
-application/x-stardraw; %unixfilename -view %s
-application/vnd.oasis.opendocument.database; %unixfilename -view %s
-application/vnd.sun.xml.base; %unixfilename -view %s
-application/vnd.openofficeorg.extension; %unixfilename %s
-application/vnd.openxmlformats-officedocument.wordprocessingml.document; %unixfilename -view %s
-application/vnd.ms-word.document.macroenabled.12;%unixfilename -view %s
-application/vnd.openxmlformats-officedocument.wordprocessingml.template; %unixfilename -view %s
-application/vnd.ms-word.template.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; %unixfilename -view %s
-application/vnd.ms-excel.sheet.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.spreadsheetml.template; %unixfilename -view %s
-application/vnd.ms-excel.template.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.presentationml.presentation; %unixfilename -view %s
-application/vnd.ms-powerpoint.presentation.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.presentationml.template; %unixfilename -view %s
-application/vnd.ms-powerpoint.template.macroenabled.12; %unixfilename -view %s
-END
-
-  # and replace the original file
-  mv -f /etc/mailcap.tmp$$ /etc/mailcap
-fi
-
-%{update_menus}
-
-
-%install
-rm -rf $RPM_BUILD_ROOT/*
-
-# hack/workaround to make SuSE's brp-symlink-script happy. It wants the targets of all links
-# to be present on the build-system/the buildroot. But the point is that we generate stale
-# links intentionally (until we find a better solution) #46226
-export NO_BRP_STALE_LINK_ERROR=yes
-
-mkdir -p $RPM_BUILD_ROOT
-
-export DESTDIR=$RPM_BUILD_ROOT
-export KDEMAINDIR=/usr
-export GNOMEDIR=/usr
-
-./create_tree.sh
-
-#
-# Mandriva menus fun
-#
-# For more info, see:
-#
-#   http://qa.mandriva.com/twiki/bin/view/Main/MenuSystem
-#
-%define _menudir /usr/lib/menu
-mkdir -p $RPM_BUILD_ROOT%{_menudir}
-rm -f "$RPM_BUILD_ROOT%{_menudir}/%{name}"
-
-GenerateMenu() {
-[ -f "$RPM_BUILD_ROOT%{_menudir}/%{name}" ] || touch $RPM_BUILD_ROOT%{_menudir}/%{name}
-mimetypes_item=
-[ "$7" != "" ] && mimetypes_item="mimetypes=\"$7\""
-cat >> $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
-?package(%pkgprefix-$6): needs=x11 section="$2" icon="%iconprefix-$3.png" title="$4" longtitle="$5" command="$1" \
-$mimetypes_item kde_opt="InitialPreference=100" startup_notify="true"
-EOF
-}
-
-#
-# FIXME: Office/Database request in the Cooker ML, leave in Spreadsheets
-# until new group will be created
-#
-GenerateMenu "%unixfilename --base" \
-	"More Applications/Databases" \
-	"base" \
-	"%productname %{menuversion} Base" \
-	"%productname %{menuversion} Database" \
-	"core01" \
-	"application/vnd.oasis.opendocument.database,application/vnd.sun.xml.base"
-
-GenerateMenu "%unixfilename --calc" \
-	"Office/Spreadsheets" \
-	"calc" \
-	"%productname %{menuversion} Calc" \
-	"%productname %{menuversion} Spreadsheet" \
-	"calc" \
-	"application/vnd.oasis.opendocument.spreadsheet,application/vnd.oasis.opendocument.spreadsheet-template,application/vnd.sun.xml.calc,application/vnd.sun.xml.calc.template,application/vnd.stardivision.calc,application/vnd.stardivision.chart,application/msexcel,application/vnd.ms-excel"
-
-GenerateMenu "%unixfilename --draw" \
-	"Office/Drawing" \
-	"draw" \
-	"%productname %{menuversion} Draw" \
-	"%productname %{menuversion} Drawing" \
-	"draw" \
-	"application/vnd.oasis.opendocument.graphics,application/vnd.oasis.opendocument.graphics-template,application/vnd.sun.xml.draw,application/vnd.sun.xml.draw.template,application/vnd.stardivision.draw"
-
-GenerateMenu "%unixfilename --impress" \
-	"Office/Presentations" \
-	"impress" \
-	"%productname %{menuversion} Impress" \
-	"%productname %{menuversion} Presentation" \
-	"impress" \
-	"application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.presentation-template,application/vnd.sun.xml.impress,application/vnd.sun.xml.impress.template,application/vnd.stardivision.impress,application/mspowerpoint"
-
-GenerateMenu "%unixfilename --writer" \
-	"Office/Wordprocessors" \
-	"writer" \
-	"%productname %{menuversion} Writer" \
-	"%productname %{menuversion} Word Processing Component" \
-	"writer" \
-	"application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.text-template,application/vnd.oasis.opendocument.text-web,application/vnd.oasis.opendocument.text-master,application/vnd.sun.xml.writer,application/vnd.sun.xml.writer.template,application/vnd.sun.xml.writer.global,application/vnd.stardivision.writer,application/msword,application/vnd.ms-word,application/x-doc,application/rtf"
-
-GenerateMenu "%unixfilename --math" \
-	"Office/Wordprocessors" \
-	"math" \
-	"%productname %{menuversion} Math" \
-	"%productname %{menuversion} Formula Editor" \
-	"math" \
-	"application/vnd.oasis.opendocument.formula,application/vnd.sun.xml.math,application/vnd.stardivision.math"
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%preun
-# remove from /etc/mailcap only on de-install
-if [ "$1" = 0 ]
-then
-  # backing all entries pointing to our binary
-  sed '/%unixfilename/d' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
-
-  # and replace the original file
-  mv -f /etc/mailcap.tmp$$ /etc/mailcap
-fi
-
-%postun
-%{update_menus}
-
-
-%files
-%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "libreofficedev%productversion"
-# compat symlinks
-%attr(0755,root,root) /opt/%unixfilename
-%attr(0755,root,root) /usr/bin/libreoffice%productversion
-%attr(0755,root,root) /usr/bin/libreoffice%productversion-printeradmin
-%endif
-%attr(0755,root,root) %verify(not size md5) /usr/bin/%unixfilename
-%attr(0755,root,root) /usr/bin/%unixfilename-printeradmin
-%defattr(0644, root, root)
-%{_menudir}/%{name}
-/usr/share/application-registry/*.applications
-/usr/share/applications/%unixfilename-writer.desktop
-/usr/share/applications/%unixfilename-calc.desktop
-/usr/share/applications/%unixfilename-draw.desktop
-/usr/share/applications/%unixfilename-impress.desktop
-/usr/share/applications/%unixfilename-math.desktop
-/usr/share/applications/%unixfilename-base.desktop
-/usr/share/applications/%unixfilename-startcenter.desktop
-/usr/share/mime-info/*.keys
-/usr/share/mime-info/*.mime
-/usr/share/mimelnk/application/*.desktop
-/usr/share/icons/gnome/*/apps/*png
-/usr/share/icons/gnome/*/mimetypes/*png
-/usr/share/icons/gnome/scalable/apps/*svg
-/usr/share/icons/gnome/scalable/mimetypes/*svg
-/usr/share/icons/hicolor/*/apps/*png
-/usr/share/icons/hicolor/*/mimetypes/*png
-/usr/share/icons/hicolor/scalable/apps/*svg
-/usr/share/icons/hicolor/scalable/mimetypes/*svg
-/usr/share/icons/locolor/*/apps/*png
-/usr/share/icons/locolor/*/mimetypes/*png
-
diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec
deleted file mode 100755
index 9789a56..0000000
--- a/sysui/desktop/suse/suse-menus.spec
+++ /dev/null
@@ -1,389 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-#   Licensed to the Apache Software Foundation (ASF) under one or more
-#   contributor license agreements. See the NOTICE file distributed
-#   with this work for additional information regarding copyright
-#   ownership. The ASF licenses this file to you under the Apache
-#   License, Version 2.0 (the "License"); you may not use this file
-#   except in compliance with the License. You may obtain a copy of
-#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-# version and release passed by command-line
-Version: %version
-Release: %release
-Summary: %productname desktop integration
-Name: %pkgprefix-suse-menus
-Group: Office
-License: LGPLv3 with MPLv2, ALv2 and others
-Vendor: The Document Foundation
-AutoReqProv: no
-BuildArch: noarch
-# /etc/SuSE-release for SuSE, SLES and Novell Linux Desktop ..
-Requires: /etc/SuSE-release
-# .. but not for Sun JDS
-Conflicts: SunDesktopVersion
-Provides: libreoffice-desktop-integration
-%define _unpackaged_files_terminate_build 0
-%define _binary_filedigest_algorithm 1
-%define _binary_payload w9.gzdio
-
-%define gnome_dir /opt/gnome
-%define gnome_mime_theme hicolor
-
-%description
-%productname desktop integration
-
-%install
-rm -rf $RPM_BUILD_ROOT/*
-
-# hack/workaround to make SuSE's brp-symlink-script happy. It wants the targets of all links
-# to be present on the build-system/the buildroot. But the point is that we generate stale
-# links intentionally (until we find a better solution) #46226
-export NO_BRP_STALE_LINK_ERROR=yes
-
-mkdir -p $RPM_BUILD_ROOT
-
-# set parameters for the create_tree script
-export DESTDIR=$RPM_BUILD_ROOT
-export KDEMAINDIR=/opt/kde3
-export GNOMEDIR=%{gnome_dir}
-
-./create_tree.sh
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%triggerin -- %pkgprefix, %pkgprefix-writer, %pkgprefix-calc, %pkgprefix-draw, %pkgprefix-impress, %pkgprefix-base, %pkgprefix-math
-if [ -x /opt/gnome/bin/update-desktop-database ]; then
-  echo Update Desktop Database
-  /opt/gnome/bin/update-desktop-database -q /usr/share/applications
-  /opt/gnome/bin/update-desktop-database
-fi
-
-%triggerun -- %pkgprefix, %pkgprefix-writer, %pkgprefix-calc, %pkgprefix-draw, %pkgprefix-impress, %pkgprefix-base, %pkgprefix-math
-if [ "$1" = "0" ] ; then
-  # the menu-package gets uninstalled/updated - postun will run the command
-  exit 0
-fi
-if [ "$2" = "0" ] ; then
-  # the triggering package gets removed
-  if [ -x /opt/gnome/bin/update-desktop-database ]; then
-    echo Update Desktop Database
-    /opt/gnome/bin/update-desktop-database -q /usr/share/applications
-    /opt/gnome/bin/update-desktop-database
-fi
-fi
-
-%post
-# run always, since there are versions of this package that did not include
-# a shared-mime-info xml file
-if [ -x /usr/bin/update-mime-database ]; then
-  update-mime-database /usr/share/mime
-fi
-
-if [ -x /opt/gnome/bin/update-desktop-database ]; then
-  echo Update Desktop Database
-  /opt/gnome/bin/update-desktop-database -q /usr/share/applications
-  /opt/gnome/bin/update-desktop-database
-fi
-
-# add symlinks so that nautilus can identify the mime-icons
-# not strictly freedesktop-stuff but there is no common naming scheme yet.
-# One proposal is "mime-application:vnd.oasis.opendocument.spreadsheet.png"
-# for e.g. application/vnd.oasis.opendocument.spreadsheet
-link_target_root="%{gnome_dir}/share/icons/%{gnome_mime_theme}"
-
-if [ ! -d "${link_target_root}" ]
-then
-  link_target_root="%{gnome_dir}/share/icons/gnome"
-fi
-
-for subdir in `cd ${link_target_root}; ls -d *`
-do
-  link_dir="%{gnome_dir}/share/icons/%{gnome_mime_theme}/$subdir/mimetypes"
-  link_target_dir="../../../gnome/$subdir/mimetypes/"
-
-  test -d "${link_dir}" || mkdir -p "${link_dir}"
-  test -d ${link_dir}/${link_target_dir} || continue
-
-  icon=${link_target_dir}%iconprefix-drawing.png;                     test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.draw.png
-  icon=${link_target_dir}%iconprefix-drawing-template.png;            test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.draw.template.png
-  icon=${link_target_dir}%iconprefix-formula.png;                     test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.math.png
-  icon=${link_target_dir}%iconprefix-master-document.png;             test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.writer.global.png
-  icon=${link_target_dir}%iconprefix-oasis-database.png;              test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.base.png
-  icon=${link_target_dir}%iconprefix-oasis-database.png;              test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.database.png
-  icon=${link_target_dir}%iconprefix-oasis-drawing.png;               test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.graphics.png
-  icon=${link_target_dir}%iconprefix-oasis-drawing-template.png;      test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.graphics-template.png
-  icon=${link_target_dir}%iconprefix-oasis-formula.png;               test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.formula.png
-  icon=${link_target_dir}%iconprefix-oasis-master-document.png;       test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.text-master.png
-  icon=${link_target_dir}%iconprefix-oasis-presentation.png;          test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.presentation.png
-  icon=${link_target_dir}%iconprefix-oasis-presentation-template.png; test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.presentation-template.png
-  icon=${link_target_dir}%iconprefix-oasis-spreadsheet.png;           test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.spreadsheet.png
-  icon=${link_target_dir}%iconprefix-oasis-spreadsheet-template.png;  test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.spreadsheet-template.png
-  icon=${link_target_dir}%iconprefix-oasis-text.png;                  test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.text.png
-  icon=${link_target_dir}%iconprefix-oasis-text-template.png;         test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.text-template.png
-  icon=${link_target_dir}%iconprefix-oasis-web-template.png;          test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.oasis.opendocument.text-web.png
-  icon=${link_target_dir}%iconprefix-presentation.png;                test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.impress.png
-  icon=${link_target_dir}%iconprefix-presentation-template.png;       test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.impress.template.png
-  icon=${link_target_dir}%iconprefix-spreadsheet.png;                 test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.calc.png
-  icon=${link_target_dir}%iconprefix-spreadsheet-template.png;        test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.calc.template.png
-  icon=${link_target_dir}%iconprefix-text.png;                        test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.writer.png
-  icon=${link_target_dir}%iconprefix-text-template.png;               test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.sun.xml.writer.template.png
-  icon=${link_target_dir}%iconprefix-extension.png;                   test -f ${link_dir}/$icon && ln -sf ${icon} ${link_dir}/gnome-mime-application-vnd.openofficeorg.extension.png
-done
-
-# run only on first install, since postun is run when updating
-# post would be run before the old files are removed
-if [ "$1" = "1" ] ; then  # first install
-  for themedir in /opt/gnome/share/icons/gnome /opt/gnome/share/icons/hicolor /opt/kde3/share/icons/hicolor /opt/kde3/share/icons/locolor; do
-    if [ -e $themedir/icon-theme.cache ] ; then
-      # touch in, in case we cannot find gtk-update-icon-cache (just to make sure)
-      touch $themedir
-      # path to gtk-update-icon-cache is not in rpm's install_script_path by default.
-      if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then
-        /opt/gnome/bin/gtk-update-icon-cache $themedir
-      fi
-      # ignore errors (e.g. when there is a cache, but no index.theme)
-      true
-    fi
-  done
-fi
-
-# update /etc/mime.types
-# backing out existing entries to avoid duplicates
-sed '
-/application\/vnd\.oasis\.opendocument/d
-/application\/vnd\.openofficeorg/d
-/application\/vnd\.sun/d
-/application\/vnd\.stardivision/d
-' /etc/mime.types 2>/dev/null >> /etc/mime.types.tmp$$
-
-
-# now append our stuff to the temporary file
-cat >> /etc/mime.types.tmp$$ << END
-application/vnd.oasis.opendocument.text odt
-application/vnd.oasis.opendocument.text-flat-xml fodt
-application/vnd.oasis.opendocument.text-template ott
-application/vnd.oasis.opendocument.text-web oth
-application/vnd.oasis.opendocument.text-master odm
-application/vnd.oasis.opendocument.graphics odg
-application/vnd.oasis.opendocument.graphics-flat-xml fodg
-application/vnd.oasis.opendocument.graphics-template otg
-application/vnd.oasis.opendocument.presentation odp
-application/vnd.oasis.opendocument.presentation-flat-xml fodp
-application/vnd.oasis.opendocument.presentation-template otp
-application/vnd.oasis.opendocument.spreadsheet ods
-application/vnd.oasis.opendocument.spreadsheet-flat-xml fods
-application/vnd.oasis.opendocument.spreadsheet-template ots
-application/vnd.oasis.opendocument.chart odc
-application/vnd.oasis.opendocument.formula odf
-application/vnd.oasis.opendocument.image odi
-application/vnd.sun.xml.writer sxw
-application/vnd.sun.xml.writer.template stw
-application/vnd.sun.xml.writer.global sxg
-application/vnd.stardivision.writer sdw vor
-application/vnd.stardivision.writer-global sgl
-application/vnd.sun.xml.calc sxc
-application/vnd.sun.xml.calc.template stc
-application/vnd.stardivision.calc sdc
-application/vnd.stardivision.chart sds
-application/vnd.sun.xml.impress sxi
-application/vnd.sun.xml.impress.template sti
-application/vnd.stardivision.impress sdd sdp
-application/vnd.sun.xml.draw sxd
-application/vnd.sun.xml.draw.template std
-application/vnd.stardivision.draw sda
-application/vnd.sun.xml.math sxm
-application/vnd.stardivision.math smf
-application/vnd.sun.xml.base odb
-application/vnd.openofficeorg.extension oxt
-application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
-application/vnd.ms-word.document.macroenabled.12 docm
-application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
-application/vnd.ms-word.template.macroenabled.12 dotm
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
-application/vnd.ms-excel.sheet.macroenabled.12 xlsm
-application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
-application/vnd.ms-excel.template.macroenabled.12 xltm
-application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
-application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
-application/vnd.openxmlformats-officedocument.presentationml.template potx
-application/vnd.ms-powerpoint.template.macroenabled.12 potm
-END
-
-# and replace the original file
-mv -f /etc/mime.types.tmp$$ /etc/mime.types 2>/dev/null
-
-# update /etc/mailcap only at initial install
-if [ "$1" = 1 ]
-then
-  # backing out existing entries to avoid duplicates
-  sed '
-/^# OpenOffice.org/d
-/^application\/vnd\.oasis\.opendocument/d
-/^application\/vnd\.openofficeorg/d
-/^application\/vnd\.sun/d
-/^application\/vnd\.stardivision/d
-/^application\/vnd\.ms-word/d
-/^application\/vnd\.ms-excel/d
-/^application\/vnd\.ms-powerpoint/d
-/^application\/x-star/d
-/excel/d
-/ms[-]*word/d
-/powerpoint/d
-' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
-
-  # now append our stuff to the temporary file
-  cat >> /etc/mailcap.tmp$$ << END
-# LibreOffice
-application/vnd.oasis.opendocument.text; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-template; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-web; %unixfilename -view %s
-application/vnd.oasis.opendocument.text-master; %unixfilename -view %s
-application/vnd.sun.xml.writer; %unixfilename -view %s
-application/vnd.sun.xml.writer.template; %unixfilename -view %s
-application/vnd.sun.xml.writer.global; %unixfilename -view %s
-application/vnd.stardivision.writer; %unixfilename -view %s
-application/vnd.stardivision.writer-global; %unixfilename -view %s
-application/x-starwriter; %unixfilename -view %s
-application/vnd.oasis.opendocument.formula; %unixfilename -view %s
-application/vnd.sun.xml.math; %unixfilename -view %s
-application/vnd.stardivision.math; %unixfilename -view %s
-application/x-starmath; %unixfilename -view %s
-application/msword; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.spreadsheet-template; %unixfilename -view %s
-application/vnd.sun.xml.calc; %unixfilename -view %s
-application/vnd.sun.xml.calc.template; %unixfilename -view %s
-application/vnd.stardivision.calc; %unixfilename -view %s
-application/x-starcalc; %unixfilename -view %s
-application/vnd.stardivision.chart; %unixfilename -view %s
-application/x-starchart; %unixfilename -view %s
-application/excel; %unixfilename -view %s
-application/msexcel; %unixfilename -view %s
-application/vnd.ms-excel; %unixfilename -view %s
-application/x-msexcel; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.presentation-template; %unixfilename -view %s
-application/vnd.sun.xml.impress; %unixfilename -view %s
-application/vnd.sun.xml.impress.template; %unixfilename -view %s
-application/vnd.stardivision.impress; %unixfilename -view %s
-application/x-starimpress; %unixfilename -view %s
-application/powerpoint; %unixfilename -view %s
-application/mspowerpoint; %unixfilename -view %s
-application/vnd.ms-powerpoint; %unixfilename -view %s
-application/x-mspowerpoint; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics-flat-xml; %unixfilename -view %s
-application/vnd.oasis.opendocument.graphics-template; %unixfilename -view %s
-application/vnd.sun.xml.draw; %unixfilename -view %s
-application/vnd.sun.xml.draw.template; %unixfilename -view %s
-application/vnd.stardivision.draw; %unixfilename -view %s
-application/x-stardraw; %unixfilename -view %s
-application/vnd.oasis.opendocument.database; %unixfilename -view %s
-application/vnd.sun.xml.base; %unixfilename -view %s
-application/vnd.wordperfect; %unixfilename -view %s
-application/wordperfect5.1; %unixfilename -view %s
-application/x-wordperfect; %unixfilename -view %s
-application/wordperfect; %unixfilename -view %s
-application/vnd.lotus-wordpro; %unixfilename -view %s
-application/wpwin; %unixfilename -view %s
-application/vnd.openofficeorg.extension; %unixfilename %s
-application/vnd.openxmlformats-officedocument.wordprocessingml.document; %unixfilename -view %s
-application/vnd.ms-word.document.macroenabled.12;%unixfilename -view %s
-application/vnd.openxmlformats-officedocument.wordprocessingml.template; %unixfilename -view %s
-application/vnd.ms-word.template.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; %unixfilename -view %s
-application/vnd.ms-excel.sheet.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.spreadsheetml.template; %unixfilename -view %s
-application/vnd.ms-excel.template.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.presentationml.presentation; %unixfilename -view %s
-application/vnd.ms-powerpoint.presentation.macroenabled.12; %unixfilename -view %s
-application/vnd.openxmlformats-officedocument.presentationml.template; %unixfilename -view %s
-application/vnd.ms-powerpoint.template.macroenabled.12; %unixfilename -view %s
-application/x-hwp; %unixfilename -view %s
-END
-
-  # and replace the original file
-  mv -f /etc/mailcap.tmp$$ /etc/mailcap
-fi
-
-%preun
-# remove from /etc/mailcap only on de-install
-if [ "$1" = 0 ]
-then
-  # backing all entries pointing to our binary
-  sed '/%unixfilename/d' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
-
-  # and replace the original file
-  mv -f /etc/mailcap.tmp$$ /etc/mailcap
-fi
-
-%postun
-# run only when erasing this package, since %post of the new package ran
-# previously or updates already handled by triggers.
-if [ "$1" = 0 ] ; then
-  if [ -x /opt/gnome/bin/update-desktop-database ]; then
-    /opt/gnome/bin/update-desktop-database -q /usr/share/applications
-  fi
-  if [ -x /usr/bin/update-mime-database ]; then
-    update-mime-database /usr/share/mime
-  fi
-fi
-#run always
-for themedir in /opt/gnome/share/icons/gnome /opt/gnome/share/icons/hicolor /opt/kde3/share/icons/hicolor /opt/kde3/share/icons/locolor; do
-  if [ -e $themedir/icon-theme.cache ] ; then
-    # touch in, in case we cannot find gtk-update-icon-cache (just to make sure)
-    touch $themedir
-    # path to gtk-update-icon-cache is not in rpm's install_script_path by default.
-    if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then
-      /opt/gnome/bin/gtk-update-icon-cache $themedir
-    fi
-    # ignore errors (e.g. when there is a cache, but no index.theme)
-    true
-  fi
-done
-
-%files
-%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "libreofficedev%productversion"
-# compat symlinks
-%attr(0755,root,root) /opt/%unixfilename
-%attr(0755,root,root) /usr/bin/libreoffice%productversion
-%attr(0755,root,root) /usr/bin/libreoffice%productversion-printeradmin
-%endif
-%attr(0755,root,root) %verify(not size md5) /usr/bin/%unixfilename
-%attr(0755,root,root) /usr/bin/%unixfilename-printeradmin
-%defattr(0644, root, root)
-/opt/gnome/share/application-registry/*.applications
-/usr/share/applications/%unixfilename-writer.desktop
-/usr/share/applications/%unixfilename-calc.desktop
-/usr/share/applications/%unixfilename-draw.desktop
-/usr/share/applications/%unixfilename-impress.desktop
-/usr/share/applications/%unixfilename-math.desktop
-/usr/share/applications/%unixfilename-base.desktop
-/usr/share/applications/%unixfilename-startcenter.desktop
-/usr/share/applications/%unixfilename-xsltfilter.desktop
-/opt/gnome/share/mime-info/*.keys
-/opt/gnome/share/mime-info/*.mime
-/opt/kde3/share/mimelnk/application/*.desktop
-/opt/gnome/share/icons/gnome/*/apps/*png
-/opt/gnome/share/icons/gnome/*/mimetypes/*png
-/opt/gnome/share/icons/gnome/scalable/apps/*svg
-/opt/gnome/share/icons/gnome/scalable/mimetypes/*svg
-/opt/kde3/share/icons/hicolor/*/apps/*png
-/opt/kde3/share/icons/hicolor/*/mimetypes/*png
-/opt/kde3/share/icons/hicolor/scalable/apps/*svg
-/opt/kde3/share/icons/hicolor/scalable/mimetypes/*svg
-/opt/kde3/share/icons/locolor/*/apps/*png
-/opt/kde3/share/icons/locolor/*/mimetypes/*png
-/usr/share/mime/packages/*


More information about the Libreoffice-commits mailing list