head 1.1; branch 1.1.1; access ; symbols MAXIMUM_RPM_1_0:1.1.1.1 VENDOR:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.08.28.12.07.09; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.08.28.12.07.09; author rse; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @ Available Tags For <command>--queryformat</command> --queryformat option tags for The following tags were defined at the time this book was written. For the latest list of available queryformat tags, please issue the following command: rpm --querytags Keep in mind that the list of tags produced by the --querytags option is the complete list of all tags used by RPM internally; for instance, during package builds. Because of this, some tags do not produce meaningful output when used in a --queryformat format string. List of <command>--queryformat</command> Tags For every tag in this section, there can be as many as three different pieces of information: A short description of the tag. Whether the data specified by the tag is an array, and if so, how many members are present in the array. What modifiers can be used with the tag. The <command>NAME</command> Tag --queryformat option tags for NAME The NAME tag is used to display the name of the package. Array: No Used with modifiers: N/A The <command>VERSION</command> Tag --queryformat option tags for VERSION The VERSION tag is used to display the version of the packaged software. Array: No Used with modifiers: N/A The <command>RELEASE</command> Tag --queryformat option tags for RELEASE The RELEASE tag is used to display the release number of the package. Array: No Used with modifiers: N/A The <command>SERIAL</command> Tag --queryformat option tags for SERIAL The SERIAL tag is used to display the serial number of the package. Array: No Used with modifiers: N/A The <command>SUMMARY</command> Tag --queryformat option tags for SUMMARY The SUMMARY tag is used to display a one-line summation of the packaged software. Array: No Used with modifiers: N/A The <command>DESCRIPTION</command> Tag --queryformat option tags for DESCRIPTION The DESCRIPTION tag is used to display a detailed summation of the packaged software. Array: No Used with modifiers: N/A The <command>BUILDTIME</command> Tag --queryformat option tags for BUILDTIME The BUILDTIME tag is used to display the time and date the package was created. Array: No Used with modifiers: :date The <command>BUILDHOST</command> Tag --queryformat option tags for BUILDHOST The BUILDHOST tag is used to display the hostname of the system that built the package. Array: No Used with modifiers: N/A The <command>INSTALLTIME</command> Tag --queryformat option tags for INSTALLTIME The INSTALLTIME tag is used to display the time and date the package was installed. Array: No Used with modifiers: :date The <command>SIZE</command> Tag --queryformat option tags for SIZE The SIZE tag is used to display the total size, in bytes, of every file installed by this package. Array: No Used with modifiers: N/A The <command>DISTRIBUTION</command> Tag --queryformat option tags for DISTRIBUTION The DISTRIBUTION tag is used to display the distribution this package is a part of. Array: No Used with modifiers: N/A The <command>VENDOR</command> Tag --queryformat option tags for VENDOR The VENDOR tag is used to display the organization responsible for marketing the package. Array: No Used with modifiers: N/A The <command>GIF</command> Tag --queryformat option tags for GIF The GIF tag is not available for use with --queryformat. The <command>XPM</command> Tag --queryformat option tags for XPM The XPM tag is not available for use with --queryformat. The <command>COPYRIGHT</command> Tag --queryformat option tags for COPYRIGHT The COPYRIGHT tag is used to display the copyright terms of the package. Array: No Used with modifiers: N/A The <command>PACKAGER</command> Tag --queryformat option tags for PACKAGER The PACKAGER tag is used to display the person or persons responsible for creating the package. Array: No Used with modifiers: N/A The <command>GROUP</command> Tag --queryformat option tags for GROUP The GROUP tag is used to display the group to which the package belongs. Array: No Used with modifiers: N/A The <command>CHANGELOG</command> Tag --queryformat option tags for CHANGELOG The CHANGELOG tag is reserved for a future version of RPM. The <command>SOURCE</command> Tag --queryformat option tags for SOURCE The SOURCE tag is used to display the source archives contained in the source package file. Array: Yes (Size: One entry per source) Used with modifiers: N/A The <command>PATCH</command> Tag --queryformat option tags for PATCH The PATCH tag is used to display the patch files contained in the source package file. Array: Yes (Size: One entry per patch) Used with modifiers: N/A The <command>URL</command> Tag --queryformat option tags for URL The URL tag is used to display the Uniform Resource Locator that points to additional information on the packaged software. Array: No Used with modifiers: N/A The <command>OS</command> Tag --queryformat option tags for OS The OS tag is used to display the operating system for which the package was built. Array: No Used with modifiers: N/A The <command>ARCH</command> Tag --queryformat option tags for ARCH The ARCH tag is used to display the architecture for which the package was built. Array: No Used with modifiers: N/A The <command>PREIN</command> Tag --queryformat option tags for PREIN The PREIN tag is used to display the package's pre-install script. Array: No Used with modifiers: N/A The <command>POSTIN</command> Tag --queryformat option tags for POSTIN The POSTIN tag is used to display the package's post-install script. Array: No Used with modifiers: N/A The <command>PREUN</command> Tag --queryformat option tags for PREUN The PREUN tag is used to display the package's pre-uninstall script. Array: No Used with modifiers: N/A The <command>POSTUN</command> Tag --queryformat option tags for POSTUN The POSTUN tag is used to display the package's post-uninstall script. Array: No Used with modifiers: N/A The <command>FILENAMES</command> Tag --queryformat option tags for FILENAMES The FILENAMES tag is used to display the names of the files that comprise the package. Array: Yes (Size: One entry per filenames) Used with modifiers: N/A The <command>FILESIZES</command> Tag --queryformat option tags for FILESIZES The FILESIZES tag is used to display the size, in bytes, of each of the files that comprise the package. Array: Yes (Size: One entry per filesizes) Used with modifiers: N/A The <command>FILESTATES</command> Tag --queryformat option tags for FILESTATES The FILESTATES tag is used to display the state of each of the files that comprise the package. Array: Yes (Size: One entry per filestates) Used with modifiers: N/A Since there is no modifier to display the file states in human-readable form, it will be necessary to manually interpret the flag values, based on the RPMFILE_STATE_xxx #defines contained in rpmlib.h. This file is part of the rpm-devel package and is also present in the RPM source package. The <command>FILEMODES</command> Tag --queryformat option tags for FILEMODES The FILEMODES tag is used to display the permissions of each of the files that comprise the package. Array: Yes (Size: One entry per filemodes) Used with modifiers: :perms The <command>FILEUIDS</command> Tag --queryformat option tags for FILEUIDS The FILEUIDS tag is used to display the user ID, in numeric form, of each of the files that comprise the package. Array: Yes (Size: One entry per fileuids) Used with modifiers: N/A The <command>FILEGIDS</command> Tag --queryformat option tags for FILEGIDS The FILEGIDS tag is used to display the group ID, in numeric form, of each of the files that comprise the package. Array: Yes (Size: One entry per filegids) Used with modifiers: N/A The <command>FILERDEVS</command> Tag --queryformat option tags for FILERDEVS The FILERDEVS tag is used to display the major and minor numbers for each of the files that comprise the package. It will only be non-zero for device special files. Array: Yes (Size: One entry per filerdevs) Used with modifiers: N/A The <command>FILEMTIMES</command> Tag --queryformat option tags for FILEMTIMES The FILEMTIMES tag is used to display the modification time and date for each of the files that comprise the package. Array: Yes (Size: One entry per filemtimes) Used with modifiers: :date The <command>FILEMD5S</command> Tag --queryformat option tags for FILEMD5S The FILEMD5S tag is used to display the MD5 checksum for each of the files that comprise the package. Array: Yes (Size: One entry per filemd5s) Used with modifiers: N/A The <command>FILELINKTOS</command> Tag --queryformat option tags for FILELINKTOS The FILELINKTOS tag is used to display the link string for symlinks. Array: Yes (Size: One entry per filelinktos) Used with modifiers: N/A The <command>FILEFLAGS</command> Tag --queryformat option tags for FILEFLAGS The FILEFLAGS tag is used to indicate whether the files that comprise the package have been flagged as being documentation or configuration. Array: Yes (Size: One entry per fileflags) Used with modifiers: :fflags The <command>ROOT</command> Tag --queryformat option tags for ROOT The ROOT tag is not available for use with --queryformat. The <command>FILEUSERNAME</command> Tag --queryformat option tags for FILEUSERNAME The FILEUSERNAME tag is used to display the owner, in alphanumeric form, of each of the files that comprise the package. Array: No Used with modifiers: N/A The <command>FILEGROUPNAME</command> Tag --queryformat option tags for FILEGROUPNAME The FILEGROUPNAME tag is used to display the group, in alphanumeric form, of each of the files that comprise the package. Array: Yes (Size: One entry per filegroupname) Used with modifiers: N/A The <command>EXCLUDE</command> Tag --queryformat option tags for EXCLUDE The EXCLUDE tag is deprecated and should no longer be used. The <command>EXCLUSIVE</command> Tag --queryformat option tags for EXCLUSIVE The EXCLUSIVE tag is deprecated and should no longer be used. The <command>ICON</command> Tag --queryformat option tags for ICON The ICON tag is not available for use with --queryformat. The <command>SOURCERPM</command> Tag --queryformat option tags for SOURCERPM The SOURCERPM tag is used to display the name of the source package from which this binary package was built. Array: No Used with modifiers: N/A The <command>FILEVERIFYFLAGS</command> Tag --queryformat option tags for FILEVERIFYFLAGS The FILEVERIFYFLAGS tag is used to display the numeric value of the file verification flags for each of the files that comprise the package. Array: Yes (Size: One entry per fileverifyflags) Used with modifiers: N/A Since there is no modifier to display the verification flags in human-readable form, it will be necessary to manually interpret the flag values, based on the RPMVERIFY_xxx #defines contained in rpmlib.h. This file is part of the rpm-devel package and is also present in the RPM source package. The <command>ARCHIVESIZE</command> Tag --queryformat option tags for ARCHIVESIZE The ARCHIVESIZE tag is used to display the size, in bytes, of the archive portion of the original package file. Array: No Used with modifiers: N/A The <command>PROVIDES</command> Tag --queryformat option tags for PROVIDES The PROVIDES tag is used to display the capabilities the package provides. Array: Yes (Size: One entry per provides) Used with modifiers: N/A The <command>REQUIREFLAGS</command> Tag --queryformat option tags for REQUIREFLAGS The REQUIREFLAGS tag is used to display the requirement flags for each capability the package requires. Array: Yes (Size: One entry per requireflags) Used with modifiers: :depflags The <command>REQUIRENAME</command> Tag --queryformat option tags for REQUIRENAME The REQUIRENAME tag is used to display the capabilities the package requires. Array: Yes (Size: One entry per requirename) Used with modifiers: N/A The <command>REQUIREVERSION</command> Tag --queryformat option tags for REQUIREVERSION The REQUIREVERSION tag is used to display the version-related aspect of each capbility the package requires. Array: Yes (Size: One entry per requireversion) Used with modifiers: N/A The <command>NOSOURCE</command> Tag --queryformat option tags for NOSOURCE The NOSOURCE tag is used to display the source archives that are not contained in the source package file. Array: Yes (Size: One entry per nosource) Used with modifiers: N/A The <command>NOPATCH</command> Tag --queryformat option tags for NOPATCH The NOPATCH tag is used to display the patch files that are not contained in the source package file. Array: Yes (Size: One entry per nopatch) Used with modifiers: N/A The <command>CONFLICTFLAGS</command> Tag --queryformat option tags for CONFLICTFLAGS The CONFLICTFLAGS tag is used to display the conflict flags for each capability the package conflicts with. Array: Yes (Size: One entry per conflictflags) Used with modifiers: :depflags The <command>CONFLICTNAME</command> Tag --queryformat option tags for CONFLICTNAME The CONFLICTNAME tag is used to display the capabilities that the package conflicts with. Array: Yes (Size: One entry per conflictname) Used with modifiers: N/A The <command>CONFLICTVERSION</command> Tag --queryformat option tags for CONFLICTVERSION The CONFLICTVERSION tag is used to display the version-related aspect of each capability the package conflicts with. Array: Yes (Size: One entry per conflictversion) Used with modifiers: N/A The <command>DEFAULTPREFIX</command> Tag --queryformat option tags for DEFAULTPREFIX The DEFAULTPREFIX tag is used to display the path that will, by default, be used to install a relocatable package. Array: No Used with modifiers: N/A The <command>BUILDROOT</command> Tag --queryformat option tags for BUILDROOT The BUILDROOT tag is not available for use with --queryformat. The <command>INSTALLPREFIX</command> Tag --queryformat option tags for INSTALLPREFIX The INSTALLPREFIX tag is used to display the actual path used when a relocatable package was installed. Array: No Used with modifiers: N/A The <command>EXCLUDEARCH</command> Tag --queryformat option tags for EXCLUDEARCH The EXCLUDEARCH tag is used to display the architectures that should not install this package. Array: Yes (Size: One entry per excludearch) Used with modifiers: N/A The <command>EXCLUDEOS</command> Tag --queryformat option tags for EXCLUDEOS The EXCLUDEOS tag is used to display the operating systems that should not install this package. Array: Yes (Size: One entry per excludeos) Used with modifiers: N/A The <command>EXCLUSIVEARCH</command> Tag --queryformat option tags for EXCLUSIVEARCH The EXCLUSIVEARCH tag is used to display the architectures that are the only ones that should install this package. Array: Yes (Size: One entry per exclusivearch) Used with modifiers: N/A The <command>EXCLUSIVEOS</command> Tag --queryformat option tags for EXCLUSIVEOS The EXCLUSIVEOS tag is used to display the operating systems that are the only one that should install this package. Array: Yes (Size: One entry per exclusiveos) Used with modifiers: N/A The <command>AUTOREQPROV</command> Tag --queryformat option tags for AUTOREQPROV The AUTOREQPROV tag is not available for use with --queryformat. The <command>RPMVERSION</command> Tag --queryformat option tags for RPMVERSION The RPMVERSION tag is used to display the version of RPM that was used to build the package. Array: No Used with modifiers: N/A The <command>TRIGGERSCRIPTS</command> Tag --queryformat option tags for TRIGGERSCRIPTS The TRIGGERSCRIPTS tag is reserved for a future version of RPM. The <command>TRIGGERNAME</command> Tag --queryformat option tags for TRIGGERNAME The TRIGGERNAME tag is reserved for a future version of RPM. The <command>TRIGGERVERSION</command> Tag --queryformat option tags for TRIGGERVERSION The TRIGGERVERSION tag is reserved for a future version of RPM. The <command>TRIGGERFLAGS</command> Tag --queryformat option tags for TRIGGERFLAGS The TRIGGERFLAGS tag is reserved for a future version of RPM. The <command>TRIGGERINDEX</command> Tag --queryformat option tags for TRIGGERINDEX The TRIGGERINDEX tag is reserved for a future version of RPM. The <command>VERIFYSCRIPT</command> Tag --queryformat option tags for VERIFYSCRIPT The VERIFYSCRIPT tag is used to display the script to be used for package verification. Array: No Used with modifiers: N/A @ 1.1.1.1 log @Import book 'Maximum RPM' by Ed Bailey, version 1.0 @ text @@