Add man page.
This commit is contained in:
parent
6482c6fca4
commit
fe05e31740
|
@ -0,0 +1,59 @@
|
|||
.TH diffpdf 1 "January 2016" "" "User Commands"
|
||||
|
||||
.SH NAME
|
||||
diffpdf \- Compare two PDF files
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B diffpdf
|
||||
[\fIOPTIONS\fR] [\fIFILE1\fR [\fIFILE2\fR]]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
A GUI program that compares two PDF files and shows
|
||||
their differences.
|
||||
|
||||
The files are optional and are normally set through
|
||||
the user interface.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
show usage text and terminate
|
||||
(run the program without this option and press F1 for online help).
|
||||
.TP
|
||||
\fB\-a\fR, \fB\-\-appearance\fR
|
||||
set the initial comparison mode to Appearance.
|
||||
.TP
|
||||
\fB\-c\fR, \fB\-\-characters\fR
|
||||
set the initial comparison mode to Characters.
|
||||
.TP
|
||||
\fB\-w\fR, \fB\-\-words\fR
|
||||
set the initial comparison mode to Words (this is the default).
|
||||
.TP
|
||||
\fB\-\-language=LANG\fR
|
||||
set the program to use the given translation language,
|
||||
e.g., en for English, cz for Czech;
|
||||
English will be used if there is no translation available.
|
||||
.TP
|
||||
\fB\-\-debug=2\fR
|
||||
write the text fed to the sequence matcher into
|
||||
temporary files (e.g., /tmp/page1.txt etc.)
|
||||
.TP
|
||||
\fB\-\-debug=2\fR
|
||||
as --debug=2 but also includes coordinates in y, x order.
|
||||
|
||||
.SH AUTHOR
|
||||
DiffPDF is written by Mark Summerfield.
|
||||
This man page written by Jonathan Wakely based on documentation written by
|
||||
Mark Summerfield.
|
||||
|
||||
.SH COPYIGHT
|
||||
Copyright © 2008-13 Qtrac Ltd.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by the
|
||||
Free Software Foundation, either version 2 of the License, or (at your
|
||||
option), any later version. This program is distributed in the hope that
|
||||
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details <http://gnu.org/licenses/gpl.html>.
|
|
@ -1,13 +1,14 @@
|
|||
%global _hardened_build 1
|
||||
Name: diffpdf
|
||||
Version: 2.1.3
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: PDF files comparator
|
||||
|
||||
Group: Applications/Text
|
||||
License: GPLv2+
|
||||
URL: http://www.qtrac.eu/diffpdf.html
|
||||
Source0: http://www.qtrac.eu/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.1
|
||||
Source3: %{name}.desktop
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
@ -48,6 +49,8 @@ desktop-file-install \
|
|||
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
%{SOURCE3}
|
||||
|
||||
%{__install} -m 644 %{SOURCE1} -D $RPM_BUILD_ROOT%{_mandir}/man1/diffpdf.1
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||
|
@ -71,9 +74,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_bindir}/%{name}
|
||||
%{_datadir}/icons/hicolor/??x??/apps/*.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_mandir}/man1/diffpdf.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 25 2016 Jonathan Wakely <jwakely@redhat.com> - 2.1.3-9
|
||||
- Add man page.
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue