[enscript/f19] Some manpage fixes

Adam Tkac atkac at fedoraproject.org
Thu Apr 4 12:12:49 UTC 2013


commit 8969d86ae0759cc4029e073f33f539610de6ca9d
Author: Adam Tkac <atkac at redhat.com>
Date:   Thu Apr 4 14:12:29 2013 +0200

    Some manpage fixes
    
    Signed-off-by: Adam Tkac <atkac at redhat.com>

 enscript-manfixes.patch |   36 ++++++++++++++++++++++++++++++++++++
 enscript.spec           |    7 ++++++-
 2 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/enscript-manfixes.patch b/enscript-manfixes.patch
new file mode 100644
index 0000000..09e9145
--- /dev/null
+++ b/enscript-manfixes.patch
@@ -0,0 +1,36 @@
+diff -up enscript-1.6.6/docs/enscript.man.manfixes enscript-1.6.6/docs/enscript.man
+--- enscript-1.6.6/docs/enscript.man.manfixes	2011-10-30 17:48:42.000000000 +0100
++++ enscript-1.6.6/docs/enscript.man	2013-04-04 13:26:50.257945126 +0200
+@@ -394,6 +394,9 @@ generate RTF (Rich Text Format)
+ generate ANSI terminal control codes
+ .RE
+ .TP 8
++.B \-W, \-\-option=\f2app,option\f3
++Pass option \f2option\f3 to helper application \f2app\f3
++.TP 8
+ .B \-X \f2name\f3, \-\-encoding=\f2name\f3
+ Use the input encoding \f2name\f1.  Currently \f3enscript\f1 supports
+ the following encodings:
+@@ -471,6 +474,10 @@ cookies from the beginning of the file.
+ .B \-\-color\f1[\f3=\f2bool\f1]\f3
+ Use colors in the highlighting outputs.
+ .TP 8
++.B \-\-continuous\-page\-numbers
++Count page numbers across input files. Don't restart numbering at
++beginning of each file.
++.TP 8
+ .B \-\-download\-font=\f2fontname\f3
+ Include the font description file (\f2.pfa\f1 or \f2.pfb\f1 file) of
+ the font \f2fontname\f1 to the generated output.
+diff -up enscript-1.6.6/src/main.c.manfixes enscript-1.6.6/src/main.c
+--- enscript-1.6.6/src/main.c.manfixes	2013-04-04 13:21:31.926629557 +0200
++++ enscript-1.6.6/src/main.c	2013-04-04 13:21:31.953629499 +0200
+@@ -2580,7 +2580,7 @@ Mandatory arguments to long options are
+   -v, --verbose              tell what we are doing\n\
+   -V, --version              print version number\n\
+   -w, --language=LANG        set output language to LANG\n\
+-  -W, --options=APP,OPTION   pass option OPTION to helper application APP\n\
++  -W, --option=APP,OPTION   pass option OPTION to helper application APP\n\
+   -X, --encoding=NAME        use input encoding NAME\n\
+   -z, --no-formfeed          do not interpret form feed characters\n\
+   -Z, --pass-through         pass through PostScript and PCL files\n\
diff --git a/enscript.spec b/enscript.spec
index 72e7bdf..c2d8fa0 100644
--- a/enscript.spec
+++ b/enscript.spec
@@ -1,7 +1,7 @@
 Summary: A plain ASCII to PostScript converter
 Name: enscript
 Version: 1.6.6
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv3+
 Group: Applications/Publishing
 URL: http://www.gnu.org/software/enscript
@@ -23,6 +23,7 @@ Patch8: enscript-wrap_header.patch
 Patch10:enscript-1.6.4-rh457720.patch
 Patch12:enscript-rh477382.patch
 Patch13:enscript-build.patch
+Patch14:enscript-manfixes.patch
 
 Requires(preun): /sbin/install-info
 Requires(post): /sbin/install-info
@@ -47,6 +48,7 @@ includes many options for customizing printouts
 %patch10 -p1 -b .rh457720
 %patch12 -p1 -b .rh477382
 %patch13 -p1 -b .build
+%patch14 -p1 -b .manfixes
 
 %{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
 install -pm 644 %{SOURCE2} states/hl/php.st
@@ -108,6 +110,9 @@ fi
 %config(noreplace) %{_sysconfdir}/enscript.cfg
 
 %changelog
+* Thu Apr 04 2013 Adam Tkac <atkac redhat com> - 1.6.6-3
+- some manpage fixes
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list