2012-05-06 17:48:10 +02:00
|
|
|
## External commands and options ----------------------------------------------
|
|
|
|
|
|
|
|
# Options used by curl while dowloading source files
|
|
|
|
# (default: "--connect-timeout 15 --retry 3")
|
|
|
|
# If you'd like your transfer not use your entire bandwidth you can use the
|
|
|
|
# `--limit-rate' option (for instance `--limit-rate 250k')
|
|
|
|
curl_opts_netlink="--connect-timeout 15 --retry 3"
|
|
|
|
# (default: "-L --remote-name --fail --progress-bar $curl_opts_netlink")
|
|
|
|
curl_options="-R -L --remote-name --fail --progress-bar $curl_opts_netlink"
|
|
|
|
# Sintax for 'proxy': "proxyhost:port"
|
|
|
|
proxy=""
|
|
|
|
# Sintax for 'proxy_user': "user:password"
|
|
|
|
proxy_user=""
|
|
|
|
|
|
|
|
# Commands to run when a rpm package must be automatically installed
|
|
|
|
# (NOTE: it could be necessary to manually configure sudo
|
|
|
|
# here an example (works for QiLinux and openmamba):
|
|
|
|
# Cmnd_Alias DISTRO_CMD = /usr/bin/apt-get, /bin/rpm
|
|
|
|
# %packager ALL = NOPASSWD: DISTRO_CMD
|
|
|
|
# (of course your user must belong to the `packager' group)
|
|
|
|
# Examples:
|
|
|
|
# apt : rpm_download_and_install="sudo apt-get --quiet --yes install"
|
|
|
|
# smart: rpm_download_and_install="sudo smart install --yes"
|
2017-09-10 13:49:08 +02:00
|
|
|
# yum : rpm_download_and_install="sudo yum install -y --nogpgcheck"
|
2020-09-27 21:08:29 +02:00
|
|
|
# dnf : rpm_download_and_install="sudo dnf install -y"
|
2021-03-16 21:38:32 +01:00
|
|
|
rpm_download_and_install="sudo dnf install --skip-broken -y"
|
2012-05-06 17:48:10 +02:00
|
|
|
rpm_install="sudo rpm -hUv"
|
|
|
|
rpm_install_force="sudo rpm -hUv --force --nodeps"
|
|
|
|
|
|
|
|
# Never install packages matching this regular expression
|
2022-01-06 14:38:14 +01:00
|
|
|
# - default value='-apidocs-'
|
2022-06-01 16:11:38 +02:00
|
|
|
rpm_install_noinstall_mask='-apidocs-|-debug-'
|
2012-05-06 17:48:10 +02:00
|
|
|
|
|
|
|
# Mask that identify packages providing localization...
|
|
|
|
# - default value='-i18n-|-help-'
|
2021-12-08 10:38:18 +01:00
|
|
|
rpm_install_l10n_pck_mask='-i18n-|-help-|-langpack-|langpacks-'
|
2012-05-06 17:48:10 +02:00
|
|
|
# ...and only install localization packages matching this regular expression
|
2022-01-06 14:38:14 +01:00
|
|
|
# - default value='en' (can be for instance 'it|pl')
|
|
|
|
rpm_install_l10n_pck_allow_lang_mask='en'
|
2012-05-06 17:48:10 +02:00
|
|
|
|
|
|
|
# Options passed to rpm when installing a source rpm (srpm)
|
|
|
|
# - default value='--nodeps'
|
|
|
|
srpm_install_options='--nodeps'
|
|
|
|
|
|
|
|
# Path of the some tools commonly used in the specfiles
|
|
|
|
path_ldconfig="/sbin/ldconfig"
|
|
|
|
path_installinfo="/sbin/install-info"
|