%tbird_name thunderbird %tbird_version %(rpmquery --qf='%{VERSION}' %tbird_name-devel) %tbird_release %(rpmquery --qf='%{RELEASE}' %tbird_name-devel) %_tbird_specific %tbird_version %tbird_prefix %_libdir/%tbird_name%{?_tbird_specific:%{!?_tbird_unspecific:-%_tbird_specific}} %tbird_datadir %_datadir/%tbird_name%{?_tbird_specific:%{!?_tbird_unspecific:-%_tbird_specific}} %tbird_usrsrc %_usrsrc/%tbird_name %tbird_scriptdir %tbird_datadir/scripts %tbird_chromedir %tbird_prefix/chrome %tbird_componentsdir %tbird_prefix/components %tbird_extensionsdir %tbird_prefix/extensions %tbird_defaultsdir %tbird_prefix/defaults %tbird_greprefsdir %tbird_prefix/greprefs %tbird_iconsdir %tbird_prefix/icons %tbird_initd %tbird_prefix/init.d %tbird_ipcdir %tbird_prefix/ipc %tbird_pluginsdir %tbird_prefix/plugins %tbird_resdir %tbird_prefix/res %tbird_searchpluginsdir %tbird_prefix/searchplugins %tbird_exec %_bindir/thunderbird %tbird_bin %tbird_prefix/thunderbird-bin %tbird_run %tbird_prefix/run-mozilla.sh %tbird_rebuild_databases %tbird_prefix/thunderbird-rebuild-databases.sh %tbird_register() \ %tbird_scriptdir/tbird_register.sh "%tbird_bin" \ %nil %set_tbird_version_specific() \ %{?1:%global _tbird_specific %1} \ %{!?1:%global _tbird_specific %tbird_version} \ %nil %set_tbird_version_unspecific() %global _tbird_unspecific 1 %tbird_install_extension() \ if [ -z "$DURING_INSTALL" -a "$1" -ge 1 ]; then \ %tbird_scriptdir/install_global_extension.sh "%tbird_run" "%tbird_bin" "%1" \ fi \ %nil %tbird_uninstall_extension() \ if [ "$1" = "0" ]; then \ %tbird_scriptdir/uninstall_global_extension.sh "%tbird_run" "%tbird_bin" "%1" \ fi \ %nil