!11 add man files

From: @tanyulong2021
Reviewed-by: @dou33
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2021-12-02 01:30:14 +00:00 committed by Gitee
commit d881ec4c67
2 changed files with 109 additions and 1 deletions

103
0004-add-man-files.patch Normal file
View File

@ -0,0 +1,103 @@
From 85ebb62a0a2b3c66d58baa353d188d867fc84c9d Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Tue, 9 Nov 2021 15:36:23 +0800
Subject: [PATCH] add man files
---
debian/manpages | 4 ++++
man/ukui-power-manager-tray.1 | 12 ++++++++++++
man/ukui-powermanagement-service.1 | 12 ++++++++++++
man/ukui-powermanagement.1 | 12 ++++++++++++
man/ukui-upower.1 | 12 ++++++++++++
5 files changed, 52 insertions(+)
create mode 100644 debian/manpages
create mode 100644 man/ukui-power-manager-tray.1
create mode 100644 man/ukui-powermanagement-service.1
create mode 100644 man/ukui-powermanagement.1
create mode 100644 man/ukui-upower.1
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..2b511c9
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,4 @@
+man/ukui-power-manager-tray.1
+man/ukui-powermanagement-service.1
+man/ukui-powermanagement.1
+man/ukui-upower.1
diff --git a/man/ukui-power-manager-tray.1 b/man/ukui-power-manager-tray.1
new file mode 100644
index 0000000..4922e19
--- /dev/null
+++ b/man/ukui-power-manager-tray.1
@@ -0,0 +1,12 @@
+.TH ukui-power-manager-tray
+.SH NAME
+ukui-power-manager-tray \- The power-manager UI for the UKUI Desktop Environment
+.SH DESCRIPTION
+This module show power-manager widget
+.SH "REPORTING BUGS"
+Report bugs to http://gitlab2.kylin.com/ukui/ukui-power-manager/issues
+.SH "SEE ALSO"
+.SS
+Ukui PowerManager documentation can be found under "Help" by right-clicking on \fBukui-power-manager\fR.
+Further information may also be available at: http://wiki.ukui-desktop.org/docs
+.P
diff --git a/man/ukui-powermanagement-service.1 b/man/ukui-powermanagement-service.1
new file mode 100644
index 0000000..929e56c
--- /dev/null
+++ b/man/ukui-powermanagement-service.1
@@ -0,0 +1,12 @@
+.TH ukui-power-management-server
+.SH NAME
+ukui-power-management-server \- The power-manager Dbus Server for the UKUI Desktop Environment
+.SH DESCRIPTION
+This module show power-manager Dbus Server
+.SH "REPORTING BUGS"
+Report bugs to http://gitlab2.kylin.com/ukui/ukui-power-manager/issues
+.SH "SEE ALSO"
+.SS
+Ukui PowerManager documentation can be found under "Help" by right-clicking on \fBukui-power-manager\fR.
+Further information may also be available at: http://wiki.ukui-desktop.org/docs
+.P
diff --git a/man/ukui-powermanagement.1 b/man/ukui-powermanagement.1
new file mode 100644
index 0000000..788bbb0
--- /dev/null
+++ b/man/ukui-powermanagement.1
@@ -0,0 +1,12 @@
+.TH ukui-powermanagement
+.SH NAME
+ukui-powermanagement \- The power-manager Daemon for the UKUI Desktop Environment
+.SH DESCRIPTION
+This module show power-manager Daemon
+.SH "REPORTING BUGS"
+Report bugs to http://gitlab2.kylin.com/ukui/ukui-power-manager/issues
+.SH "SEE ALSO"
+.SS
+Ukui PowerManager documentation can be found under "Help" by right-clicking on \fBukui-power-manager\fR.
+Further information may also be available at: http://wiki.ukui-desktop.org/docs
+.P
diff --git a/man/ukui-upower.1 b/man/ukui-upower.1
new file mode 100644
index 0000000..d79c279
--- /dev/null
+++ b/man/ukui-upower.1
@@ -0,0 +1,12 @@
+.TH ukui-upower
+.SH NAME
+ukui-upower \- The power-manager Interface for the UKUI Desktop Environment
+.SH DESCRIPTION
+This module show power-manager Interface
+.SH "REPORTING BUGS"
+Report bugs to http://gitlab2.kylin.com/ukui/ukui-power-manager/issues
+.SH "SEE ALSO"
+.SS
+Ukui PowerManager documentation can be found under "Help" by right-clicking on \fBukui-power-manager\fR.
+Further information may also be available at: http://wiki.ukui-desktop.org/docs
+.P
--
2.30.0

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: ukui-power-manager
Version: 2.0.3
Release: 5
Release: 6
Summary: power management tool for the UKUI desktop
License: GPL-2+ LGPL-2+ GFDL-1.1+
URL: http://www.ukui.org
@ -11,6 +11,7 @@ patch0: 0001-fix-Log-print-error-correction.patch
patch1: 0001-Add-gitattributes-file.patch
patch2: 0002-Add-Tibetan-translation.patch
patch3: 0003-update-copyright.patch
patch4: 0004-add-man-files.patch
BuildRequires: qt5-qtbase-devel,intltool,libcanberra-devel,dbus-glib-devel,libgcrypt-devel,glib2-devel,gtk3-devel,libnotify-devel,libtool, libtool-ltdl,upower-devel,libwnck3-devel,libX11-devel,libXext-devel,perl-XML-Parser,libXrandr-devel,pkg-config,xmlto,yelp-tools,qt5-qtcharts-devel,qt5-qtx11extras-devel,gsettings-qt-devel, gnome-keyring, libgnome-keyring-devel
BuildRequires:mate-common >= 1.18
@ -51,6 +52,7 @@ This package contains the architecture independent files.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 -enable-introspection --enable-compile-warnings=yes --enable-egl-device --enable-wayland --enable-native-backend
@ -417,6 +419,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/help/zh_CN/ukui-power-manager/legal.xml
%changelog
* Tue Nov 09 2021 tanyulong <tanyulong@kylinos.cn> - 2.0.3-6
- add man files
* Mon Nov 08 2021 tanyulong <tanyulong@kylinos.cn> - 2.0.3-5
- update copyright