From 4f40dc60c125ad1e14071c234b67315fab6c6fc3 Mon Sep 17 00:00:00 2001 From: Rob Funk Date: Fri, 18 Jun 2004 04:17:07 +0000 Subject: Move shipper to dist-tools directory svn path=/trunk/; revision=3889 --- dist-tools/shipper/rpm2lsm.xml | 135 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 dist-tools/shipper/rpm2lsm.xml (limited to 'dist-tools/shipper/rpm2lsm.xml') diff --git a/dist-tools/shipper/rpm2lsm.xml b/dist-tools/shipper/rpm2lsm.xml new file mode 100644 index 00000000..6856cbab --- /dev/null +++ b/dist-tools/shipper/rpm2lsm.xml @@ -0,0 +1,135 @@ + + + + +rpm2lsm +1 + + +rpm2lsm +generate Linux Software Map entries from RPMs + + + + + rpm2lsm + -a author + -k keywords + -p platforms + -m maintainer + rpmfile + + + + +DESCRIPTION +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: + + +Title: + +Taken straight from the RPM Name field. + + + +Version: + +Taken straight from the RPM Version field. + + + +Entered-Date: + +LSM-generation time in YYYY-MM-DD format. + + + +Description: + +Taken straight from the RPM Description field. + + + +Keywords: + +Taken from the value of the command-line option. +If no such option is given, it is omitted. + + + +Author: + +Taken from the value of the 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 + + + +Maintained-By: + +Taken from the value of the command-line +option. If that was not given, taken from the RPM Packager field. +If that was not given, fill in the Author name. + + + +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. + + + + +Alternate-Site: + +This field is not generated. + + + +Original-Site: + +This field is not generated. + + + +Platforms: + +Taken from the value of the command-line option. +If no such option is given, 'All' is filled in. + + + +Copying-Policy: + +Taken straight from the RPM License field. + + + + +These are all the fields supported in LSM version 3. You can see the + +LSM template + +for full details. + + +AUTHOR +Eric S. Raymond esr@thyrsus.com. +For updates, see +http://www.catb.org/~esr/software.html. + + +SEE ALSO +rpm8. + + + -- cgit v1.2.3