diff --git a/xdg-utils-1.0.1-htmlview.patch b/xdg-utils-1.0.1-htmlview.patch new file mode 100644 index 0000000..d85e2c6 --- /dev/null +++ b/xdg-utils-1.0.1-htmlview.patch @@ -0,0 +1,11 @@ +--- xdg-utils-1.0.1/scripts/xdg-open.htmlview 2007-04-23 08:46:17.000000000 -0500 ++++ xdg-utils-1.0.1/scripts/xdg-open 2007-04-23 08:47:28.000000000 -0500 +@@ -417,7 +417,7 @@ + if [ x"$DE" = x"" ]; then + # if BROWSER variable is not set, check some well known browsers instead + if [ x"$BROWSER" = x"" ]; then +- BROWSER=firefox:mozilla:netscape ++ BROWSER=htmlview:firefox:mozilla:netscape:links:lynx + fi + DE=generic + fi diff --git a/xdg-utils.spec b/xdg-utils.spec index 85710db..c2c234b 100644 --- a/xdg-utils.spec +++ b/xdg-utils.spec @@ -2,7 +2,7 @@ Summary: Basic desktop integration functions Name: xdg-utils Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://portland.freedesktop.org/ Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz @@ -13,6 +13,7 @@ BuildArch: noarch Patch1: xdg-utils-1.0-mimeopen.patch Patch2: xdg-utils-1.0.1-typo.patch +Patch3: xdg-utils-1.0.1-htmlview.patch Requires: coreutils Requires: desktop-file-utils @@ -23,6 +24,8 @@ Requires: desktop-file-utils ## mimeopen generic default #Requires(hint): %{_bindir}/mimeopen #Requires(hint): perl-File-MimeInfo +## htmlview patch +#Requires(hint): htmlview links %description @@ -52,6 +55,7 @@ The following scripts are provided at this time: %patch1 -p1 -b .mimeopen %patch2 -p1 -b .typo +%patch3 -p1 -b .htmlview %build @@ -78,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Apr 23 2007 Rex Dieter 1.0.1-3 +- add htmlview,links to browser fallbacks + * Tue Dec 19 2006 Rex Dieter 1.0.1-2 - fix typo in xdg-icon-resource manpage