diff --git a/.cvsignore b/.cvsignore index c871271..131eb33 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -mc-4.7.0.tar.lzma +mc-4.7.0.1.tar.lzma diff --git a/mc-extensions.patch b/mc-extensions.patch index 5cce02c..b5961a9 100644 --- a/mc-extensions.patch +++ b/mc-extensions.patch @@ -107,7 +107,7 @@ diff -up mc-4.7.0-pre4/misc/mc.ext.in.extensions mc-4.7.0-pre4/misc/mc.ext.in # html regex/\.([hH][tT][mM][lL]?)$ - Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null -+ Open=(if test -n "$DISPLAY"; then (xdg-open file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null ++ Open=xdg-open file://%d/%p 1>&2 View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f # StarOffice 5.2 @@ -116,30 +116,30 @@ diff -up mc-4.7.0-pre4/misc/mc.ext.in.extensions mc-4.7.0-pre4/misc/mc.ext.in # Microsoft Word Document regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$ - Open=(abiword %f >/dev/null 2>&1 &) -+ Open=(ooffice %f &) ++ Open=(xdg-open %f &) +# Open=(abiword %f >/dev/null 2>&1 &) View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f type/^Microsoft\ Word - Open=(abiword %f >/dev/null 2>&1 &) -+ Open=(ooffice %f &) ++ Open=(xdg-open %f &) +# Open=(abiword %f >/dev/null 2>&1 &) View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f # RTF document regex/\.([rR][tT][fF])$ - Open=(abiword %f >/dev/null 2>&1 &) -+ Open=(ooffice %f &) ++ Open=(xdg-open %f &) +# Open=(abiword %f >/dev/null 2>&1 &) # Microsoft Excel Worksheet regex/\.([xX][lL][sSwW])$ - Open=(gnumeric %f >/dev/null 2>&1 &) -+ Open=(ooffice %f &) ++ Open=(xdg-open %f &) +# Open=(gnumeric %f >/dev/null 2>&1 &) View=%view{ascii} xls2csv %f || strings %f type/^Microsoft\ Excel - Open=(gnumeric %f >/dev/null 2>&1 &) -+ Open=(ooffice %f &) ++ Open=(xdg-open %f &) +# Open=(gnumeric %f >/dev/null 2>&1 &) View=%view{ascii} xls2csv %f || strings %f diff --git a/mc.spec b/mc.spec index eee1a02..cb934ad 100644 --- a/mc.spec +++ b/mc.spec @@ -1,6 +1,6 @@ Summary: User-friendly text console file manager and visual shell Name: mc -Version: 4.7.0 +Version: 4.7.0.1 Release: 1%{?dist} Epoch: 1 License: GPLv2 @@ -82,6 +82,10 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libexecdir}/mc %changelog +* Sat Jan 2 2010 Jindrich Novy 4.7.0.1-1 +- update to 4.7.0.1 +- update bindings to use xdg-open wherever possible + * Sat Dec 26 2009 Jindrich Novy 4.7.0-1 - update to official 4.7.0 diff --git a/sources b/sources index 6261d33..8d17448 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f945a4767104534167ecb8dae7c23c06 mc-4.7.0.tar.lzma +4fec587435388701fd137bbe99ec77cd mc-4.7.0.1.tar.lzma