Add manpages for Linux and include them in spec file

Note that the manpages are placed in Data
This commit is contained in:
Mystro256 2016-03-03 23:21:39 -05:00 committed by Jeremy Newton
parent 8d4607d293
commit 84483a1076
4 changed files with 119 additions and 0 deletions

View File

@ -960,6 +960,11 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/48x48/apps)
install(FILES Installer/dolphin-emu.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
# Install manpages
install(FILES Data/dolphin-emu.6
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
install(FILES Data/dolphin-emu-nogui.6
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6)
endif()
# packaging information

56
Data/dolphin-emu-nogui.6 Normal file
View File

@ -0,0 +1,56 @@
.TH DOLPHIN-EMU-NOGUI 6 "March 4, 2016"
.SH NAME
dolphin-emu-nogui - an emulator for running GameCube, Wii, and Triforce
games on
Windows, Linux, OS X, and recent Android devices.
.SH SYNOPSIS
.B dolphin-emu-nogui
[\fB-h\fR] [\fB-d\fR] [\fB-l\fR] [\fB-e \fIfile\fR] [\fB-b\fR] [\fB-c\fR] [\fB-V
\fIvideo\fR] [\fB-A \fIaudio\fR] [\fB-m
\fIfile\fR] [\fB-u \fIpath\fR]
.SH DESCRIPTION
Dolphin is an emulator for two recent Nintendo video game consoles: the
GameCube and the Wii. It allows PC gamers to enjoy games for these two consoles
in full HD (1080p) with several enhancements: compatibility with all PC
controllers, turbo speed, networked multiplayer, and even more!
.P
\fBdolphin-emu-nogui\fR does not have a graphical user interface.
.SH OPTIONS
.TP
.BR \-h ", " \-\-help
Show this help message
.TP
.BR \-d ", " \-\-debugger
Opens the debugger
.TP
.BR \-l ", " \-\-logger
Opens the logger
.TP
.BR \-e ", " \-\-exec =\fIfile\fR
Loads the specified file
(\fBDOL\fR,\fBELF\fR,\fBWAD\fR,\fBGCM\fR,\fBISO\fR)
.TP
.BR \-b ", " \-\-batch
Exit Dolphin with emulator
.TP
.BR \-c ", " \-\-confirm =\fItext\fR
Set Confirm on Stop
.TP
.BR \-V ", " \-\-video_backend =\fIvideo\fR
OpenGL (\fBOGL\fR) or \fBSoftware Renderer\fR video backend
.TP
.BR \-A ", " \-\-audio_emulation =\fIaudio\fR
Low level (\fBLLE\fR) or high level (\fBHLE\fR) audio
.TP
.BR \-m ", " \-\-movie =\fIfile\fR
Play a movie file
.TP
.BR \-u ", " \-\-user =\fIpath\fR
User folder path
.SH FILES
.TP
.I $HOME/.dolphin-emu
Default user configuration directory.
.SH AUTHOR
This manual page was written by Jeremy Newton, but may be distributed freely
using the CC BY license.

56
Data/dolphin-emu.6 Normal file
View File

@ -0,0 +1,56 @@
.TH DOLPHIN-EMU 6 "March 4, 2016"
.SH NAME
dolphin-emu - an emulator for running GameCube, Wii, and Triforce
games on
Windows, Linux, OS X, and recent Android devices.
.SH SYNOPSIS
.B dolphin-emu
[\fB-h\fR] [\fB-d\fR] [\fB-l\fR] [\fB-e \fIfile\fR] [\fB-b\fR] [\fB-c\fR] [\fB-V
\fIvideo\fR] [\fB-A \fIaudio\fR] [\fB-m
\fIfile\fR] [\fB-u \fIpath\fR]
.SH DESCRIPTION
Dolphin is an emulator for two recent Nintendo video game consoles: the
GameCube and the Wii. It allows PC gamers to enjoy games for these two consoles
in full HD (1080p) with several enhancements: compatibility with all PC
controllers, turbo speed, networked multiplayer, and even more!
.P
\fBdolphin-emu\fR features a graphical user interface made using wxWidgets.
.SH OPTIONS
.TP
.BR \-h ", " \-\-help
Show this help message
.TP
.BR \-d ", " \-\-debugger
Opens the debugger
.TP
.BR \-l ", " \-\-logger
Opens the logger
.TP
.BR \-e ", " \-\-exec =\fIfile\fR
Loads the specified file
(\fBDOL\fR,\fBELF\fR,\fBWAD\fR,\fBGCM\fR,\fBISO\fR)
.TP
.BR \-b ", " \-\-batch
Exit Dolphin with emulator
.TP
.BR \-c ", " \-\-confirm =\fItext\fR
Set Confirm on Stop
.TP
.BR \-V ", " \-\-video_backend =\fIvideo\fR
OpenGL (\fBOGL\fR) or \fBSoftware Renderer\fR video backend
.TP
.BR \-A ", " \-\-audio_emulation =\fIaudio\fR
Low level (\fBLLE\fR) or high level (\fBHLE\fR) audio
.TP
.BR \-m ", " \-\-movie =\fIfile\fR
Play a movie file
.TP
.BR \-u ", " \-\-user =\fIpath\fR
User folder path
.SH FILES
.TP
.I $HOME/.dolphin-emu
Default user configuration directory.
.SH AUTHOR
This manual page was written by Jeremy Newton, but may be distributed freely
using the CC BY license.

View File

@ -111,6 +111,7 @@ Dolphin Emulator without a graphical user interface
%files nogui
%{_bindir}/%{name}-nogui
%{_mandir}/man6/%{name}-nogui.*
# ------------------------------------------------------
@ -139,6 +140,7 @@ make %{?_smp_mflags} install DESTDIR="%{?buildroot}"
%{_datadir}/%{name}
%{_datadir}/pixmaps/dolphin-emu.xpm
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/%{name}.*
%clean
rm -rf %{buildroot}