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