Skip to content

Commit 0182413

Browse files
Stew Benedictmwichmann
authored andcommitted
Add man page
1 parent 2e3da10 commit 0182413

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

doc/lsbappchk.py.1

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.TH lsbappchk.py "1" "" "lsbappchk.py (LSB)" LSB
2+
.SH NAME
3+
lsbappchk.py \- test python script(s) for LSB conformance
4+
.SH SYNOPSIS
5+
.B lsbappchk.py
6+
.RB [\-j]
7+
.RB [\-v
8+
.IR N.N ]
9+
.RB [\-L
10+
.IR <LANANA-name>]
11+
.RB [\-m
12+
.IR <module-path(s)>]
13+
.RB [\-?|\-h
14+
.R (this message)
15+
.RB ]
16+
.B some_program.py
17+
.B [program2.py ...]
18+
.SH DESCRIPTION
19+
.PP
20+
lsbappchk.py examines python script(s) for conformance with the LSB specification. Any modules called by the python script that are not defined in LSB or included in the script's packaging shall be tagged as failures.
21+
.SH OPTIONS
22+
.TP
23+
.I \-j
24+
Create a tet style journal suitable for LSB certification submission. The journal file(s) will be named journal.appchk.appname, where appname is the python script(s) specified on the command line.
25+
.TP
26+
.I \-v
27+
LSB version to test for, in N.N format. Default will be the current LSB version (4.0 at the time of this writing).
28+
.TP
29+
.I \-L
30+
LANANA name to use to search for private modules. The LSB specifies that a package will be installed in /opt/LANANA-name. lsbappchk.py will search this directory for called modules when testing the script.
31+
.TP
32+
.I \-m
33+
A comma-seperated list of additional path(s) to search for private modules. Useful if testing a script that is not yet installed in /opt/LANANA-name.
34+
.TP
35+
.I \-?|\-h
36+
Lists program command line options.
37+
.SH AUTHORS
38+
.PP
39+
Stew Benedict <stewb@linuxfoundation.org>
40+
.P
41+
Konstantin Vlasov <flint@spidey.linux-foundation.org>

scripts/package/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# XXX a specfile from this info, but not yet: for now keep in sync
33
PACKAGE=lsb-appchk-python
44
VERSION=4.0.0
5-
RELEASE=1
5+
RELEASE=2
66
# default version we will test against - change as needed
77
LSB_VERSION=4.0
88

scripts/package/lsb-appchk-python.spec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ for license in Artistic LICENSE.txt; do
6161
cp source/$license ${RPM_BUILD_ROOT}%{basedir}/doc/%{name}
6262
done
6363

64+
# man page
65+
install -d ${RPM_BUILD_ROOT}%{basedir}/man/man1
66+
cp doc/lsbappchk.py.1 ${RPM_BUILD_ROOT}%{basedir}/man/man1
67+
6468
#==================================================
6569
%clean
6670
if [ ! -z "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]; then
@@ -76,9 +80,13 @@ fi
7680
/opt/lsb/share/appchk/*
7781
%dir /opt/lsb/doc/%{name}
7882
/opt/lsb/doc/%{name}/*
83+
/opt/lsb/man/man1/lsbappchk.py.1
7984

8085
#==================================================
8186
%changelog
87+
* Fri Dec 19 2008 Stew Benedict <stewb@linux-foundation.org>
88+
- add manpage
89+
8290
* Wed Jul 02 2008 Stew Benedict <stewb@linux-foundation.org>
8391
- Lose /opt/lsb/lib to co-exist with multiversion sdk
8492

0 commit comments

Comments
 (0)