From c0573a237af3dc90386646efea80f65b688ed23c Mon Sep 17 00:00:00 2001 From: Rob Funk Date: Fri, 18 Jun 2004 01:32:22 +0000 Subject: Add ESR's shipper utility (version 0.5) in a subdir, for easily making releases (since the makerelease script depends on it) svn path=/trunk/; revision=3886 --- shipper/rpm2lsm.1 | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 shipper/rpm2lsm.1 (limited to 'shipper/rpm2lsm.1') diff --git a/shipper/rpm2lsm.1 b/shipper/rpm2lsm.1 new file mode 100644 index 00000000..d11df03e --- /dev/null +++ b/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 . For updates, see : http://www.catb.org/~esr/software.htmlhttp://www.catb.org/~esr/software.html. + +.SH "SEE ALSO" + +.PP +\fBrpm\fR(8). + -- cgit v1.2.3