10139N/ASpec file extensions quick reference.
10139N/A------------------------------------
10139N/A
10139N/ASolaris specific tags:
10139N/A
10139N/A SUNW_BaseDir prefix
10139N/A Define prefix as the value of the BASEDIR tag in the SVr4 package.
10139N/A prefix will be stripped off the beginning of all path names in the
10139N/A %files section, therefore it has to be a real prefix, otherwise it
10139N/A will abort with an error.
10139N/A
10139N/A SUNW_ProdName name
10139N/A SUNW_PRODNAME tag in the Solaris pkg.
10139N/A SUNW_ProdVers version
10139N/A SUNW_PRODVERS tag in the Solaris pkg.
10139N/A SUNW_Category cat
10139N/A CATEGORY tag in the Solaris pkg.
10139N/A SUNW_HotLine text
10139N/A HOTLINE tag in the pkginfo file of the SVr4 package.
10139N/A SUNW_MaxInst num
10139N/A num is the value of the MAXINST tag (maximum number of
10139N/A instances of the pkg allowed to be installed on a system) in
10139N/A the pkginfo file of the SVr4 package.
10139N/A
10139N/A SUNW_Copyright file
10139N/A Define file as the name of the file that contains the copyright
13472N/A information for the package.
10139N/A
10139N/A
10139N/ASpecial macros:
10139N/A
10139N/A%include <file>
10139N/A
10139N/A process the contents of %topdir/SPECS/<file> as if they were
10139N/A copied into this file
10139N/A
10139N/A%use <name> = <spec-file>
10139N/A
10139N/A Declare that parts of %topdir/SPECS/<spec-file> will be referenced
10139N/A later in this spec file and call it <name>.
10139N/A Any macros %define'd before the %use line will also affect
10139N/A <spec-file> (as if they were copied to the beginning of that file).
10139N/A E.g. %use gtk = gtk2.spec
10139N/A
10139N/A%<name>.<def> or
10139N/A%{<name>.<def>}
10139N/A
10139N/A Reference to a %define'd macro in the spec file called <name>,
10139N/A as defined by a preceding %use. Gets replaced by the value
10139N/A of the referenced macro.
10139N/A E.g. %{gtk._datadir}
10139N/A
10139N/A%<name>.<tag> or
10139N/A%{<name>.<tag>}
10139N/A
10139N/A Reference to the value of a <tag> in the spec file called <name>.
10139N/A Gets replaced by the value of <tag>.
10139N/A E.g. %{gtk.version}
10139N/A
10139N/A%<name>.<scriptlet> [-d <directory>] or
10139N/A%{<name>.<scriptlet>} [-d <directory>]
10139N/A
10139N/A Execute <scriptlet> from the spec file named <name>. If -d <directory>
10139N/A is used, cd into <directory> before executing the <scriptlet>.
10139N/A E.g. %gtk.prep
10139N/A
10139N/A%<name>.<package>.<tag> or
10139N/A%{<name.<package>.<tag>}
10139N/A
10139N/A Reference to the value of a <tag> in a <package> (subpackage)
10139N/A in the <name>'d spec file.
10139N/A E.g. %{gtk.gtk-devel.summary}
10139N/A Note that is not properly tested yet, use with caution and
10139N/A let me know if it's broken.
10139N/A
10139N/A
10139N/A--
10139N/ALast modified: 2004-01-09 Laca@Sun.Com