MultiMCGH-4120 Add manpage to ubuntu and rpm packages
This commit is contained in:
parent
8bc6560b5e
commit
aed8d5f8f5
@ -1,6 +1,6 @@
|
|||||||
Name: MultiMC5
|
Name: MultiMC5
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A local install wrapper for MultiMC
|
Summary: A local install wrapper for MultiMC
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -18,25 +18,30 @@ A local install wrapper for MultiMC
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/opt/multimc
|
mkdir -p %{buildroot}/opt/multimc
|
||||||
install -m 0644 ../ubuntu/multimc/opt/multimc/icon.svg %{buildroot}/opt/multimc/icon.svg
|
install -m 0644 ../ubuntu/multimc/opt/multimc/icon.svg %{buildroot}/opt/multimc/icon.svg
|
||||||
install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh
|
install -m 0755 ../ubuntu/multimc/opt/multimc/run.sh %{buildroot}/opt/multimc/run.sh
|
||||||
mkdir -p %{buildroot}/%{_datadir}/applications
|
mkdir -p %{buildroot}/%{_datadir}/applications
|
||||||
install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop
|
install -m 0644 ../ubuntu/multimc/usr/share/applications/multimc.desktop %{buildroot}/%{_datadir}/applications/multimc.desktop
|
||||||
mkdir -p %{buildroot}/%{_metainfodir}
|
mkdir -p %{buildroot}/%{_datadir}/metainfo
|
||||||
install -m 0644 ../ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml %{buildroot}/%{_metainfodir}/multimc.metainfo.xml
|
install -m 0644 ../ubuntu/multimc/usr/share/metainfo/multimc.metainfo.xml %{buildroot}/%{_datadir}/metainfo/multimc.metainfo.xml
|
||||||
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||||
|
install -m 0644 ../ubuntu/multimc/usr/share/man/man1/multimc.1 %{buildroot}/%{_mandir}/man1/multimc.1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir /opt/multimc
|
%dir /opt/multimc
|
||||||
/opt/multimc/icon.svg
|
/opt/multimc/icon.svg
|
||||||
/opt/multimc/run.sh
|
/opt/multimc/run.sh
|
||||||
%{_datadir}/applications/multimc.desktop
|
%{_datadir}/applications/multimc.desktop
|
||||||
%{_metainfodir}/multimc.metainfo.xml
|
%{_datadir}/metainfo/multimc.metainfo.xml
|
||||||
|
%dir /usr/share/man/man1
|
||||||
|
%{_mandir}/man1/multimc.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 03 2021 imperatorstorm <30777770+ImperatorStorm@users.noreply.github.com>
|
||||||
|
- added manpage
|
||||||
|
|
||||||
* Tue Jun 01 2021 kb1000 <fedora@kb1000.de> - 1.4-2
|
* Tue Jun 01 2021 kb1000 <fedora@kb1000.de> - 1.4-2
|
||||||
- Add xrandr to the dependencies
|
- Add xrandr to the dependencies
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: multimc
|
Package: multimc
|
||||||
Version: 1.6-1
|
Version: 1.6-2
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: Petr Mrázek <peterix@gmail.com>
|
Maintainer: Petr Mrázek <peterix@gmail.com>
|
||||||
Section: games
|
Section: games
|
||||||
|
90
launcher/package/ubuntu/multimc/usr/share/man/man1/multimc.1
Normal file
90
launcher/package/ubuntu/multimc/usr/share/man/man1/multimc.1
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
'\" t
|
||||||
|
.\" Title: multimc
|
||||||
|
.\" Author: [see the "AUTHORS" section]
|
||||||
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||||
|
.\" Date: 10/21/2021
|
||||||
|
.\" Manual: \ \&
|
||||||
|
.\" Source: \ \&
|
||||||
|
.\" Language: English
|
||||||
|
.\"
|
||||||
|
.TH "MULTIMC" "1" "10/21/2021" "\ \&" "\ \&"
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * Define some portability stuff
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.\" http://bugs.debian.org/507673
|
||||||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.ie \n(.g .ds Aq \(aq
|
||||||
|
.el .ds Aq '
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * set default formatting
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" disable hyphenation
|
||||||
|
.nh
|
||||||
|
.\" disable justification (adjust text to left margin only)
|
||||||
|
.ad l
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * MAIN CONTENT STARTS HERE *
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.SH "NAME"
|
||||||
|
multimc \- a launcher and instance manager for Minecraft\&.
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.sp
|
||||||
|
\fBmultimc\fR [\fIOPTIONS\fR]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.sp
|
||||||
|
MultiMC is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once\&. It also allows you to easily install and remove mods by simply dragging and dropping\&. Here are the current features of MultiMC\&.
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.PP
|
||||||
|
\fB\-d, \-\-dir\fR=\fIDIRECTORY\fR
|
||||||
|
.RS 4
|
||||||
|
Use
|
||||||
|
\fIDIRECTORY\fR
|
||||||
|
as the MultiMC root\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-l, \-\-launch\fR=\fIINSTANCE_ID\fR
|
||||||
|
.RS 4
|
||||||
|
Launch the instance specified by
|
||||||
|
\fIINSTANCE_ID\fR\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-\-alive\fR
|
||||||
|
.RS 4
|
||||||
|
Write a small
|
||||||
|
\fIlive\&.check\fR
|
||||||
|
file after MultiMC starts\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-h, \-\-help\fR
|
||||||
|
.RS 4
|
||||||
|
Display help text and exit\&.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB\-v, \-\-version\fR
|
||||||
|
.RS 4
|
||||||
|
Display program version and exit\&.
|
||||||
|
.RE
|
||||||
|
.SH "EXIT STATUS"
|
||||||
|
.PP
|
||||||
|
\fB0\fR
|
||||||
|
.RS 4
|
||||||
|
Success
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fB1\fR
|
||||||
|
.RS 4
|
||||||
|
Failure (syntax or usage error; configuration error; unexpected error)\&.
|
||||||
|
.RE
|
||||||
|
.SH "BUGS"
|
||||||
|
.sp
|
||||||
|
https://github\&.com/MultiMC/Launcher/issues
|
||||||
|
.SH "RESOURCES"
|
||||||
|
.sp
|
||||||
|
GitHub: https://github\&.com/MultiMC/Launcher
|
||||||
|
.sp
|
||||||
|
Main website: https://multimc\&.org
|
||||||
|
.SH "AUTHORS"
|
||||||
|
.sp
|
||||||
|
peterix <peterix@gmail\&.com>
|
Loading…
Reference in New Issue
Block a user