|
NAMErpmspec - RPM Spec ToolSYNOPSISQUERYING SPEC FILES:rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ...PARSING SPEC FILES TO STDOUT:rpmspec {-P|--parse} SPEC_FILE ...DESCRIPTIONrpmspec is a tool for querying a spec file. More specifically for querying hypothetical packages which would be created from the given spec file. So querying a spec file with rpmspec is similar to querying a package built from that spec file. But is is not identical. With rpmspec you can't query all fields which you can query from a built package. E. g. you can't query BUILDTIME with rpmspec for obvious reasons. You also cannot query other fields automatically generated during a build of a package like auto generated dependencies.select-options[--rpms] [--srpm]query-options[--qf,--queryformat QUERYFMT] [--target TARGET_PLATFORM]QUERY OPTIONSThe general form of an rpm spec query command isrpm {-q|--query} [select-options] [query-options] You may specify the format that the information should be printed in. To do this, you use the --qf|--queryformat QUERYFMT option, followed by the QUERYFMT format string. See rpm(8) for details. SELECT OPTIONS--rpms Operate on the all binary package headers generated from spec. --builtrpms Operate only on the binary package headers of packages which would be built from spec. That means ignoring package headers of packages that won't be built from spec i. e. ignoring package headers of packages without file section. --srpm Operate on the source package header(s) generated from spec.EXAMPLESGet list of binary packages which would be generated from the rpm spec file:
SEE ALSO
rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Visit the GSP FreeBSD Man Page Interface. |