Fix man pages of pdftops and pdfseparate
This commit is contained in:
parent
d5d41c2962
commit
38f7b90e9e
52
poppler-0.22.1-man.patch
Normal file
52
poppler-0.22.1-man.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
From aaaea5d0f2f427e82625a04f90c178e24892e539 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marek Kasik <mkasik@redhat.com>
|
||||||
|
Date: Wed, 10 Apr 2013 16:41:48 +0200
|
||||||
|
Subject: [PATCH] man pages: Fix typos
|
||||||
|
|
||||||
|
Fix several typos in manual pages of pdftops and pdfseparate.
|
||||||
|
---
|
||||||
|
utils/pdfseparate.1 | 2 +-
|
||||||
|
utils/pdftops.1 | 6 +++---
|
||||||
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/utils/pdfseparate.1 b/utils/pdfseparate.1
|
||||||
|
index 077faec..07779a1 100644
|
||||||
|
--- a/utils/pdfseparate.1
|
||||||
|
+++ b/utils/pdfseparate.1
|
||||||
|
@@ -25,7 +25,7 @@ The PDF-file should not be encrypted.
|
||||||
|
Specifies the first page to extract. If \-f is omitted, extraction starts with page 1.
|
||||||
|
.TP
|
||||||
|
.BI \-l " number"
|
||||||
|
-Specifies the last page to extract. if \-p is omitted, extraction ends with the last page.
|
||||||
|
+Specifies the last page to extract. If \-l is omitted, extraction ends with the last page.
|
||||||
|
.TP
|
||||||
|
.B \-v
|
||||||
|
Print copyright and version information.
|
||||||
|
diff --git a/utils/pdftops.1 b/utils/pdftops.1
|
||||||
|
index c7aeaf5..dd8c84b 100644
|
||||||
|
--- a/utils/pdftops.1
|
||||||
|
+++ b/utils/pdftops.1
|
||||||
|
@@ -41,7 +41,7 @@ Generate Level 1 PostScript. The resulting PostScript files will be
|
||||||
|
significantly larger (if they contain images), but will print on Level
|
||||||
|
1 printers. This also converts all images to black and white. No
|
||||||
|
more than one of the PostScript level options (\-level1, \-level1sep,
|
||||||
|
-\-level2, \-level2sep, \-level3, \-level3Sep) may be given.
|
||||||
|
+\-level2, \-level2sep, \-level3, \-level3sep) may be given.
|
||||||
|
.TP
|
||||||
|
.B \-level1sep
|
||||||
|
Generate Level 1 separable PostScript. All colors are converted to
|
||||||
|
@@ -61,9 +61,9 @@ handle custom (spot) colors.
|
||||||
|
Generate Level 3 PostScript. This enables all Level 2 features plus
|
||||||
|
CID font embedding.
|
||||||
|
.TP
|
||||||
|
-.B \-level3Sep
|
||||||
|
+.B \-level3sep
|
||||||
|
Generate Level 3 separable PostScript. The separation handling is the
|
||||||
|
-same as for \-level2Sep.
|
||||||
|
+same as for \-level2sep.
|
||||||
|
.TP
|
||||||
|
.B \-origpagesizes
|
||||||
|
Generate a PostScript file with variable page sizes and orientations,
|
||||||
|
--
|
||||||
|
1.8.2
|
||||||
|
|
@ -1,12 +1,15 @@
|
|||||||
Summary: PDF rendering library
|
Summary: PDF rendering library
|
||||||
Name: poppler
|
Name: poppler
|
||||||
Version: 0.22.1
|
Version: 0.22.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
|
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://poppler.freedesktop.org/
|
URL: http://poppler.freedesktop.org/
|
||||||
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
|
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
|
||||||
|
|
||||||
|
# https://bugs.freedesktop.org/show_bug.cgi?id=63385
|
||||||
|
Patch0: poppler-0.22.1-man.patch
|
||||||
|
|
||||||
Requires: poppler-data >= 0.4.0
|
Requires: poppler-data >= 0.4.0
|
||||||
BuildRequires: automake libtool
|
BuildRequires: automake libtool
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
@ -120,6 +123,7 @@ Requires: %{name}-glib%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .man
|
||||||
|
|
||||||
iconv -f iso-8859-1 -t utf-8 < "utils/pdftohtml.1" > "utils/pdftohtml.1.utf8"
|
iconv -f iso-8859-1 -t utf-8 < "utils/pdftohtml.1" > "utils/pdftohtml.1.utf8"
|
||||||
mv "utils/pdftohtml.1.utf8" "utils/pdftohtml.1"
|
mv "utils/pdftohtml.1.utf8" "utils/pdftohtml.1"
|
||||||
@ -242,6 +246,9 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 11 2013 Marek Kasik <mkasik@redhat.com> 0.22.1-2
|
||||||
|
- Fix man pages of pdftops and pdfseparate
|
||||||
|
|
||||||
* Wed Feb 27 2013 Marek Kasik <mkasik@redhat.com> 0.22.1-1
|
* Wed Feb 27 2013 Marek Kasik <mkasik@redhat.com> 0.22.1-1
|
||||||
- Update to 0.22.1
|
- Update to 0.22.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user