fix of w3m params while converting to txt

This commit is contained in:
Ondrej Vasik 2007-11-22 15:09:12 +00:00
parent 0d21fbf125
commit 6b2674ed04
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -urNp original/txt new/txt
--- original/backends/txt 2007-11-05 18:44:52.000000000 +0100
+++ new/backends/txt 2007-11-22 15:21:36.000000000 +0100
@@ -13,7 +13,7 @@ then
elif [ -x /usr/bin/w3m ]
then
CONVERT=/usr/bin/w3m
- ARGS="-dump"
+ ARGS="-T text/html -dump"
else
echo >&2 "No way to convert HTML to text found."
exit 1

View File

@ -1,6 +1,6 @@
Name: docbook-utils
Version: 0.6.14
Release: 12%{?dist}
Release: 13%{?dist}
Group: Applications/Text
Summary: Shell scripts for managing DocBook documents
@ -28,6 +28,7 @@ Provides: stylesheets = %{version}-%{release}
Patch0: docbook-utils-spaces.patch
Patch1: docbook-utils-funcsynopsis.patch
Patch2: docbook-utils-2ndspaces.patch
Patch3: docbook-utils-w3mtxtconvert.patch
%description
This package contains scripts are for easy conversion from DocBook
@ -54,6 +55,7 @@ PDF format.
%patch0 -p1 -b .spaces
%patch1 -p1 -b .0
%patch2 -p1 -b .2ndspaces
%patch3 -p1 -b .w3mtxtconvert
%build
./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir}
@ -120,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/docbook2ps.*
%changelog
* Thu Nov 22 2007 Ondrej Vasik <ovasik@redhat.com> 0.6.14-13
- fix of w3m params while converting to txt
* Tue Nov 05 2007 Ondrej Vasik <ovasik@redhat.com> 0.6.14-12
- Merge Review(#225705)
- corrected some other packaging guidelines issues