rpm2lsm1rpm2lsmgenerate Linux Software Map entries from RPMsrpm2lsm-a author-k keywords-p platforms-m maintainerrpmfileDESCRIPTIONThis 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
fileMaintained-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.AUTHOREric S. Raymond esr@thyrsus.com.
For updates, see
http://www.catb.org/~esr/software.html.SEE ALSOrpm8.