- use xdg-utils instead of htmlview (#312471)

This commit is contained in:
Miroslav Lichvar 2007-10-03 16:54:54 +00:00
parent c257d32d13
commit b0fa3ef672
3 changed files with 23 additions and 17 deletions

View File

@ -1,13 +0,0 @@
--- pinfo-0.6.8/src/pinforc.in.links 2004-09-26 17:39:33.000000000 -0400
+++ pinfo-0.6.8/src/pinforc.in 2004-09-26 17:39:58.000000000 -0400
@@ -85,8 +85,8 @@
CLEAR-SCREEN-AT-EXIT=true
CALL-READLINE-HISTORY=true
STDERR-REDIRECTION="2> /dev/null"
-HTTPVIEWER=lynx
-FTPVIEWER=lynx
+HTTPVIEWER=htmlview
+FTPVIEWER=htmlview
MAILEDITOR=clear; mail
PRINTUTILITY=lpr
MANLINKS=1:8:2:3:4:5:6:7:9:n:p:o:3X11:3Xt:3x:3X

16
pinfo-0.6.9-xdg.patch Normal file
View File

@ -0,0 +1,16 @@
diff -up pinfo-0.6.9/src/pinforc.in.xdg pinfo-0.6.9/src/pinforc.in
--- pinfo-0.6.9/src/pinforc.in.xdg 2006-03-09 20:44:37.000000000 +0100
+++ pinfo-0.6.9/src/pinforc.in 2007-10-03 18:35:21.000000000 +0200
@@ -85,9 +85,9 @@ QUIT-CONFIRM-DEFAULT=no
CLEAR-SCREEN-AT-EXIT=true
CALL-READLINE-HISTORY=true
STDERR-REDIRECTION="2> /dev/null"
-HTTPVIEWER=lynx
-FTPVIEWER=lynx
-MAILEDITOR=clear; mail
+HTTPVIEWER=xdg-open
+FTPVIEWER=xdg-open
+MAILEDITOR=xdg-email
PRINTUTILITY=lpr
MANLINKS=1:8:2:3:4:5:6:7:9:n:p:o:3X11:3Xt:3x:3X
SAFE-USER=nobody

View File

@ -1,19 +1,19 @@
Summary: An info file viewer
Name: pinfo
Version: 0.6.9
Release: 4%{?dist}
Release: 5%{?dist}
Group: System Environment/Base
License: GPLv2
URL: http://pinfo.alioth.debian.org
Source: pinfo-%{version}.tar.bz2
Patch1: pinfo-0.6.8-htmlview.patch
Patch1: pinfo-0.6.9-xdg.patch
Patch2: pinfo-0.6.9-infosuff.patch
Patch3: pinfo-0.6.9-nogroup.patch
Patch4: pinfo-0.6.9-mansection.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
Requires: htmlview
Requires: xdg-utils
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@ -24,7 +24,7 @@ using regular expressions, and is based on the ncurses library.
%prep
%setup -q
%patch1 -p1 -b .links
%patch1 -p1 -b .xdg
%patch2 -p1 -b .infosuff
%patch3 -p1 -b .nogroup
%patch4 -p1 -b .mansection
@ -70,6 +70,9 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Oct 03 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-5
- use xdg-utils instead of htmlview (#312471)
* Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-4
- update license tag