From 9aa204ad712e9e2292ebdb688407d16559b2c465 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 8 Apr 2013 08:44:27 +0200 Subject: [PATCH] Add manual pages; resolves: rhbz#949413 --- log4j-chainsaw.1 | 15 +++++++++++++++ log4j-logfactor5.1 | 17 +++++++++++++++++ log4j.spec | 8 ++++++++ 3 files changed, 40 insertions(+) create mode 100644 log4j-chainsaw.1 create mode 100644 log4j-logfactor5.1 diff --git a/log4j-chainsaw.1 b/log4j-chainsaw.1 new file mode 100644 index 0000000..ca9e274 --- /dev/null +++ b/log4j-chainsaw.1 @@ -0,0 +1,15 @@ +.TH CHAINSAW 1 "08 April 2013" "log4j-1.2.17" "User commands" + +.SH NAME +chainsaw \- GUI based log viewer + +.SH SYNOPSIS +.BR chainsaw + +.SH DESCRIPTION + +Chainsaw is a GUI based log viewer, a companion application to Log4j +written by members of the Log4j development community. + +Chainsaw includes help with with a Quick Reference and a Tutorial to +get you started, all viewable from within the GUI. diff --git a/log4j-logfactor5.1 b/log4j-logfactor5.1 new file mode 100644 index 0000000..c0aa38b --- /dev/null +++ b/log4j-logfactor5.1 @@ -0,0 +1,17 @@ +.TH LOGFACTOR5 1 "08 April 2013" "log4j-1.2.17" "User commands" + +.SH NAME +logfactor5 \- GUI tool for viewing logging events + +.SH SYNOPSIS +.BR logfactor5 + +.SH DESCRIPTION + +LogFactor5 is a Swing based GUI tool for viewing logging events that +leverages the power of Log4j logging framework and provides developers +with a sophisticated, feature-rich, logging interface for managing log +messages. + +LogFactor5 seamlessly plugs into Log4j and provides developers with an +alternate destination for outputting messages. diff --git a/log4j.spec b/log4j.spec index 0b7a276..94da5bf 100644 --- a/log4j.spec +++ b/log4j.spec @@ -15,10 +15,12 @@ Source0: http://www.apache.org/dist/logging/%{name}/%{version}/%{name}-%{ Source101: %{name}-logfactor5.png Source102: %{name}-logfactor5.sh Source103: %{name}-logfactor5.desktop +Source104: %{name}-logfactor5.1 # Converted from docs/images/logo.jpg Source111: %{name}-chainsaw.png Source112: %{name}-chainsaw.sh Source113: %{name}-chainsaw.desktop +Source114: %{name}-chainsaw.1 Source200: %{name}.catalog Patch0: 0001-logfactor5-changed-userdir.patch Patch1: 0006-Remove-mvn-clirr-plugin.patch @@ -121,6 +123,10 @@ desktop-file-install \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE113} +# Manual pages +install -d -m 755 ${RPM_BUILD_ROOT}%{_mandir}/man1 +install -p -m 644 %{SOURCE104} ${RPM_BUILD_ROOT}%{_mandir}/man1 +install -p -m 644 %{SOURCE114} ${RPM_BUILD_ROOT}%{_mandir}/man1 # DTD and the SGML catalog (XML catalog handled in scriptlets) install -pD -T -m 644 src/main/javadoc/org/apache/log4j/xml/doc-files/log4j.dtd \ @@ -167,6 +173,7 @@ fi %files -f .mfiles %doc LICENSE NOTICE %{_bindir}/* +%{_mandir}/*/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_datadir}/sgml/%{name} @@ -183,6 +190,7 @@ fi %changelog * Mon Apr 8 2013 Mikolaj Izdebski - 0:1.2.17-9 - Reindex sources in more sensible way +- Add manual pages; resolves: rhbz#949413 * Thu Feb 14 2013 Fedora Release Engineering - 0:1.2.17-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild