osc copypac from project:Base:System package:mc revision:11

OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=13
This commit is contained in:
Stephan Kulow
2010-08-23 07:34:46 +00:00
committed by Git OBS Bridge
parent c83437be47
commit ffc3ae50d0
27 changed files with 7274 additions and 383 deletions

25
mc-word_docs.patch Normal file
View File

@@ -0,0 +1,25 @@
Index: misc/mc.ext.in
===================================================================
--- misc/mc.ext.in.orig 2010-07-06 18:51:59.439510211 +0200
+++ misc/mc.ext.in 2010-07-06 18:54:56.647019263 +0200
@@ -510,12 +510,17 @@ shell/.abw
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
# Microsoft Word Document
-regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
+type/^Microsoft\ Office\ Document
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+ View=%view{ascii} wvText %f - || strings %f
+
type/^Microsoft\ Word
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+ View=%view{ascii} wvText %f - || strings %f
+
+regex/\.([Dd]ot|DOT|[Ww]ri|WRI)$
+ Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (OOo %f >/dev/null 2>&1 &); fi >/dev/null
+ View=%view{ascii} wvText %f - || strings %f
# RTF document
regex/\.([rR][tT][fF])$