summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 10:26:27 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 10:26:27 +0000
commitf22fbe655e5640dd8908bc94cfebaa0f808fa6b7 (patch)
treecf312184ad365f0b03c381fb1629216844f0b3d8
parent8947ad90cbd7127ce8a46b513d4d98be8c63b6a1 (diff)
INTEGRATION: CWS jl46 (1.13.44); FILE MERGED
2006/11/27 15:53:41 ihi 1.13.44.4: #i69173# Systemintegration for Extensions 2006/11/16 18:52:27 ihi 1.13.44.3: #i69173# Systemintegration for Extensions 2006/11/09 16:02:40 ihi 1.13.44.2: Mimetype changed to vnd.openofficeorg.extension 2006/10/17 12:56:07 ihi 1.13.44.1: #i69173# Systemintegration for Extensions
-rw-r--r--sysui/desktop/mandriva/mandriva-menus.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysui/desktop/mandriva/mandriva-menus.spec b/sysui/desktop/mandriva/mandriva-menus.spec
index 3b9b710d8238..7210eeec069f 100644
--- a/sysui/desktop/mandriva/mandriva-menus.spec
+++ b/sysui/desktop/mandriva/mandriva-menus.spec
@@ -49,6 +49,7 @@ OpenOffice.org desktop integration
# 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$$
@@ -86,6 +87,7 @@ 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
END
# and replace the original file
@@ -98,6 +100,7 @@ then
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
@@ -157,6 +160,7 @@ 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; unopkg_gui %s
END
# and replace the original file
@@ -297,6 +301,8 @@ fi
%files
%attr(0755,root,root) /usr/bin/soffice
+%attr(0755,root,root) /usr/bin/unopkg_gui
+%attr(0755,root,root) /opt/%unixfilename/program/unopkg_gui
%attr(0755,root,root) %verify(not size md5) /usr/bin/%unixfilename
%attr(0755,root,root) /usr/bin/%unixfilename-printeradmin
%defattr(0644, root, root)
@@ -310,6 +316,7 @@ fi
/usr/share/applications/%unixfilename-math.desktop
/usr/share/applications/%unixfilename-base.desktop
/usr/share/applications/%unixfilename-printeradmin.desktop
+/usr/share/applications/%unixfilename-extension.desktop
/usr/share/mime-info/*.keys
/usr/share/mime-info/*.mime
/usr/share/mimelnk/application/*.desktop