From 698411e5c38e192f5cef99ab995fdbe3051d07c3 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 11 Apr 2013 12:24:35 +0200 Subject: [PATCH] Fix man page --- evince-man.patch | 42 ++++++++++++++++++++++++++++++++++++++++++ evince.spec | 9 ++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 evince-man.patch diff --git a/evince-man.patch b/evince-man.patch new file mode 100644 index 0000000..5a394f2 --- /dev/null +++ b/evince-man.patch @@ -0,0 +1,42 @@ +From dfd3442b86d1d08fc92da556bf9e970c77985ba9 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +Date: Mon, 8 Apr 2013 15:55:52 +0200 +Subject: [PATCH] Update man page + +Short form of "--page-index" is "-i" not "-p". +Add description of "--named-dest" to man page. +--- + data/evince.1 | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/data/evince.1 b/data/evince.1 +index d398b97..9add86a 100644 +--- a/data/evince.1 ++++ b/data/evince.1 +@@ -8,7 +8,8 @@ The Evince Document Viewer application for the GNOME desktop environment + .B evince + .RI [--help] + .RI [--page-label=PAGE\ | +-.RI --page-index=NUMBER] ++.RI --page-index=NUMBER\ | ++.RI --named-dest=DEST] + .RI [--fullscreen] + .RI [--presentation] + .RI [--preview] +@@ -32,9 +33,12 @@ Prints the command line options. + \fB\-p, \-\-page\-label=PAGE\fR + Open the document on the page with the specified page label (or page number). + .TP +-\fB\-p, \-\-page\-index=NUMBER\fR ++\fB\-i, \-\-page\-index=NUMBER\fR + Open the document on the page with the specified page index (this is the exact page number, not a page label). + .TP ++\fB\-n, \-\-named\-dest=DEST\fR ++Open the document on the specified named destination. ++.TP + \fB\-f, \-\-fullscreen\fR + Run evince in fullscreen mode. + .TP +-- +1.8.2 + diff --git a/evince.spec b/evince.spec index e362544..9f0c66a 100644 --- a/evince.spec +++ b/evince.spec @@ -6,7 +6,7 @@ Name: evince Version: 3.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse @@ -14,6 +14,9 @@ Group: Applications/Publishing URL: http://projects.gnome.org/evince/ Source0: http://download.gnome.org/sources/%{name}/3.8/%{name}-%{version}.tar.xz +# https://bugzilla.gnome.org/show_bug.cgi?id=697559 +Patch0: evince-man.patch + BuildRequires: gtk3-devel BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: poppler-glib-devel >= %{poppler_version} @@ -106,6 +109,7 @@ It adds an additional tab called "Document" to the file properties dialog. %prep %setup -q +%patch0 -p1 -b .man %build ./autogen.sh @@ -216,6 +220,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: %{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so %changelog +* Thu Apr 11 2013 Marek Kasik - 3.8.0-3 +- Fix a typo and add a description of an option to man page + * Tue Mar 26 2013 Marek Kasik - 3.8.0-2 - Don't remove the NoDisplay key from evince.desktop because - it has been already removed