Add manual pages; resolves: rhbz#949413

This commit is contained in:
Mikolaj Izdebski 2013-04-08 08:44:27 +02:00
parent 9a9a070a75
commit 9aa204ad71
3 changed files with 40 additions and 0 deletions

15
log4j-chainsaw.1 Normal file
View File

@ -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.

17
log4j-logfactor5.1 Normal file
View File

@ -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.

View File

@ -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 <mizdebsk@redhat.com> - 0:1.2.17-9
- Reindex sources in more sensible way
- Add manual pages; resolves: rhbz#949413
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2.17-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild