Localization files (e.g. /usr/share/locale/*,
/usr/share/gnome/help/<anything but C>)
belong in "-l10n" the subpackage. Note: in JDS, these files are repackaged into "language
packs", i.e. packages that collect all l10n content for a given
locale, from all JDS packages. This magic happens in
SUNWzz-gnome-l10n.spec.
File attributes:
use %defattr (-, root, sys) in all %files root
sections and use %defattr (-, root, bin) in all other
%files sections
when present in the package, specify the attributes of
system directories explicitely:
Build options.
Solaris.inc defines some macros for optional build elements.
Use these in spec files whenever appropriate:
%build_l10n: set to 1 if building the l10n content
was requested (--with-l10n), 0 otherwise.
The default is --without-l10n.
(See SUNWgnome-dialog.spec for example).
%debug_build: set to 1 if building debuggable binaries
was requested (--with-debug), 0 otherwise.
The default is --without-debug.
(See esound.spec for example).
%gtk_doc_option: set to --enable-gtk-doc unless
building gtk-doc API docs was disabled (--without-gtk-doc),
set to --disable-gtk-doc otherwise.
The default is --with-gtk-doc.
Use this in %files if needed: