diff options
Diffstat (limited to 'dist-tools/shipper/rpm2lsm.1')
-rw-r--r-- | dist-tools/shipper/rpm2lsm.1 | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/dist-tools/shipper/rpm2lsm.1 b/dist-tools/shipper/rpm2lsm.1 new file mode 100644 index 00000000..d11df03e --- /dev/null +++ b/dist-tools/shipper/rpm2lsm.1 @@ -0,0 +1,95 @@ +.\"Generated by db2man.xsl. Don't modify this, modify the source. +.de Sh \" Subsection +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.TH "RPM2LSM" 1 "" "" "" +.SH NAME +rpm2lsm \- generate Linux Software Map entries from RPMs +.SH "SYNOPSIS" + +.nf +\fBrpm2lsm\fR [-a \fIauthor\fR] [-k \fIkeywords\fR] [-p \fIplatforms\fR] [-m \fImaintainer\fR] + \fIrpmfile\fR +.fi + +.SH "DESCRIPTION" + +.PP +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: + +.TP +Title: +Taken straight from the RPM Name field. + +.TP +Version: +Taken straight from the RPM Version field. + +.TP +Entered-Date: +LSM-generation time in YYYY-MM-DD format. + +.TP +Description: +Taken straight from the RPM Description field. + +.TP +Keywords: +Taken from the value of the \fB-k\fR command-line option. If no such option is given, it is omitted. + +.TP +Author: +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 + +.TP +Maintained-By: +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. + +.TP +Primary-Site: +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. + +.TP +Alternate-Site: +This field is not generated. + +.TP +Original-Site: +This field is not generated. + +.TP +Platforms: +Taken from the value of the \fB-p\fR command-line option. If no such option is given, 'All' is filled in. + +.TP +Copying-Policy: +Taken straight from the RPM License field. + +.PP +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. + +.SH "AUTHOR" + +.PP +Eric S. Raymond <esr@thyrsus.com>. For updates, see : http://www.catb.org/~esr/software.htmlhttp://www.catb.org/~esr/software.html. + +.SH "SEE ALSO" + +.PP +\fBrpm\fR(8). + |