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
This commit is contained in:
Ivo Hinkelmann 2006-12-19 10:26:27 +00:00
parent 8947ad90cb
commit f22fbe655e

View file

@ -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