diff --git a/SOURCES/pm-utils-bugreport-info.sh.8 b/SOURCES/pm-utils-bugreport-info.sh.8 new file mode 100644 index 0000000..519d2af --- /dev/null +++ b/SOURCES/pm-utils-bugreport-info.sh.8 @@ -0,0 +1,42 @@ +.TH "PM\-UTILS\-BUGREPORT\-INFO.SH" "8" "Apr 23, 2014" "pm-utils-bugreport-info.sh" "pm-utils User Manual" +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +pm\-utils\-bugreport\-info.sh \- Print pm\-utils bug report +.SH "SYNOPSIS" +.HP \w'\fBpm\-utils\-bugreport\-info.sh\fR\ 'u +\fBpm\-utils\-bugreport\-info.sh\fR +.SH "DESCRIPTION" +.PP +\fBpm\-utils\-bugreport\-info.sh\fR +can be used to print pm-utils bug report including your HW configuration and pm-utils logs\&. +This can help developers to diagnose problems regarding suspend / hibernate\&. +.RE +.SH "SEE ALSO" +.PP + +\fBpm-suspend\fR(8), +\fBpm-hibernate\fR(8) +.SH "AUTHOR" +.PP +\fBJaroslav Škarvada\fR <\&jskarvad@redhat\&.com\&> +.RS 4 +Manpage author\&. +.RE +.SH "COPYRIGHT" +.BR +Copyright \(co 2014 Jaroslav Škarvada +.BR +.PP +Permission is granted to copy, distribute and/or modify this document under the terms of the +GNU +General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation\&. +.SP diff --git a/SPECS/pm-utils.spec b/SPECS/pm-utils.spec index 358a346..91ab9ca 100644 --- a/SPECS/pm-utils.spec +++ b/SPECS/pm-utils.spec @@ -5,7 +5,7 @@ Name: pm-utils Summary: Power management utilities and scripts License: GPLv2 Version: 1.4.1 -Release: 26%{?dist} +Release: 27%{?dist} Group: System Environment/Base URL: http://pm-utils.freedesktop.org %ifnarch s390 s390x @@ -25,6 +25,7 @@ Source0: http://pm-utils.freedesktop.org/releases/pm-utils-%{version}.tar.gz Source1: http://pm-utils.freedesktop.org/releases/pm-quirks-%{quirkdbver}.tar.gz Source23: pm-utils-bugreport-info.sh +Source24: pm-utils-bugreport-info.sh.8 # Use append instead of write for init_logfile (#660329) Patch0: pm-utils-1.4.1-init-logfile-append.patch @@ -82,6 +83,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/{locks,pm-suspend,pm-powe touch $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/locks/{pm-suspend.lock,pm-powersave.lock} mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage install -D -m 0755 %{SOURCE23} $RPM_BUILD_ROOT%{_sbindir}/pm-utils-bugreport-info.sh +install -D -m 0644 %{SOURCE24} $RPM_BUILD_ROOT%{_mandir}/man8/pm-utils-bugreport-info.sh.8 # Install quirks cp -r video-quirks $RPM_BUILD_ROOT%{_libdir}/pm-utils @@ -132,6 +134,10 @@ rm -rf %{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage/* %{_libdir}/pkgconfig/pm-utils.pc %changelog +* Fri Aug 15 2014 Jaroslav Škarvada - 1.4.1-27 +- Added man page for pm-utils-bugreport-info.sh + Resolves: rhbz#948552 + * Fri Jan 24 2014 Daniel Mach - 1.4.1-26 - Mass rebuild 2014-01-24