]> Pileus Git - ~andy/fetchmail/blob - dist-tools/shipper/rpm2lsm.1
Update website for 6.3.24.
[~andy/fetchmail] / dist-tools / shipper / rpm2lsm.1
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "RPM2LSM" 1 "" "" ""
21 .SH NAME
22 rpm2lsm \- generate Linux Software Map entries from RPMs
23 .SH "SYNOPSIS"
24
25 .nf
26 \fBrpm2lsm\fR [-a \fIauthor\fR] [-k \fIkeywords\fR] [-p \fIplatforms\fR] [-m \fImaintainer\fR]
27         \fIrpmfile\fR
28 .fi
29
30 .SH "DESCRIPTION"
31
32 .PP
33 This tool extracts tag information from an RPM file to generate a Linux Software Map (version 3) entry on standard output. Command-line switches support adding LSM fields that have no equivalents in RPMs. Here are the field-generation rules:
34
35 .TP
36 Title:
37 Taken straight from the RPM Name field.
38
39 .TP
40 Version:
41 Taken straight from the RPM Version field.
42
43 .TP
44 Entered-Date:
45 LSM-generation time in YYYY-MM-DD format.
46
47 .TP
48 Description:
49 Taken straight from the RPM Description field.
50
51 .TP
52 Keywords:
53 Taken from the value of the \fB-k\fR command-line option. If no such option is given, it is omitted.
54
55 .TP
56 Author:
57 Taken from the value of the \fB-a\fR command-line option. If no such option is given, it looks for an AUTHORS file in the current directory (GNU convention) and uses that. If no AUTHORS file is present, your email addess and full name from the password file
58
59 .TP
60 Maintained-By:
61 Taken from the value of the \fB-m\fR command-line option. If that was not given, taken from the RPM Packager field. If that was not given, fill in the Author name.
62
63 .TP
64 Primary-Site:
65 The first (site) line is taken from the RPM URL field. Second and subsequent lines list tarballs and RPMs that match on name, version number, and release number with the RPM algument. For each file, size in 1K blocks is filled in.
66
67 .TP
68 Alternate-Site:
69 This field is not generated.
70
71 .TP
72 Original-Site:
73 This field is not generated.
74
75 .TP
76 Platforms:
77 Taken from the value of the \fB-p\fR command-line option. If no such option is given, 'All' is filled in.
78
79 .TP
80 Copying-Policy:
81 Taken straight from the RPM License field.
82
83 .PP
84 These are all the fields supported in LSM version 3. You can see the : LSM template http://ibiblio.org/pub/Linux/LSM-TEMPLATE for full details.
85
86 .SH "AUTHOR"
87
88 .PP
89 Eric S. Raymond <esr@thyrsus.com>. For updates, see : http://www.catb.org/~esr/software.htmlhttp://www.catb.org/~esr/software.html.
90
91 .SH "SEE ALSO"
92
93 .PP
94 \fBrpm\fR(8).
95