- add htmlview,links to browser fallbacks
This commit is contained in:
parent
85830932d1
commit
f7c0a7719f
11
xdg-utils-1.0.1-htmlview.patch
Normal file
11
xdg-utils-1.0.1-htmlview.patch
Normal file
@ -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
|
@ -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 <rdieter[AT]fedoraproject.org> 1.0.1-3
|
||||
- add htmlview,links to browser fallbacks
|
||||
|
||||
* Tue Dec 19 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-2
|
||||
- fix typo in xdg-icon-resource manpage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user