From e72b5e345ea0f786ec9e0bb358c68cc736cdeccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 16 Nov 2013 12:53:26 +0100 Subject: RPM Packaging: update build scripts --- redhat/buildall-sru.sh | 55 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 10 deletions(-) (limited to 'redhat/buildall-sru.sh') diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh index ce114202b..88cd4a13d 100755 --- a/redhat/buildall-sru.sh +++ b/redhat/buildall-sru.sh @@ -106,7 +106,13 @@ fi # Extra dependencies grpiud extras/akode -if [ "${DIST:0:6}" = ".oss12" ] || [ "${DIST:0:4}" = ".mga" ] || [ "${DIST:0:3}" = ".fc" ]; then +# HAL already exists in: +# Mageia <= 2 +# RHEL <= 6 +# openSUSE <= 11.4 +# Fedora <= 15 +if [ "${DIST:0:6}" = ".oss12" ] || [ "${DIST}" = ".mga3" ] \ +|| [ "${DIST}" = ".fc16" ]|| [ "${DIST}" = ".fc17" ] || [ "${DIST}" = ".fc18" ] || [ "${DIST}" = ".fc19" ]; then if ! is_installed trinity-hal-devel; then grpiu 3rdparty/hal grpiu 3rdparty/hal-info @@ -123,18 +129,28 @@ if [ "${DIST:0:4}" = ".mga" ]; then eval ${PKGINST} htdig || exit 1 fi fi +if [ "${DIST}" = ".el4" ] || [ "${DIST}" = ".el5" ]; then + grpiud 3rdparty/poppler +fi +if [ "${DIST}" = ".el4" ] || [ "${DIST}" = ".el5" ]; then + grpiud 3rdparty/sip +fi # TDE dependencies grpiud dependencies/tqtinterface grpiud dependencies/arts -grpiud dependencies/avahi-tqt -grpiud dependencies/dbus-1-tqt -grpiud dependencies/dbus-tqt grpiud dependencies/libcaldav grpiud dependencies/libcarddav grpiud dependencies/tqca -grpiui dependencies/tqca-tls +if [ "${DIST}" != ".el4" ]; then + grpiud dependencies/avahi-tqt + grpiud dependencies/dbus-1-tqt + grpiud dependencies/dbus-tqt + grpiui dependencies/tqca-tls +fi +# Extra dependencies +grpiud extras/akode # TDE main # basic packages @@ -192,6 +208,15 @@ if [ "${DIST:0:4}" != ".mga" ]; then fi fi +## LIBOTR3: required for kopete-otr +if [ "${DIST:0:5}" = ".mga3" ]; then + if ! is_installed libotr3; then + grpiu 3rdparty/libotr3 + eval ${PKGINST} libotr3 || exit 1 + eval ${PKGINST} libotr3-devel || exit 1 + fi +fi + ## PYTHON-QT3: for Python-stuff if ! is_installed python-qt3; then if [ "${DIST:0:3}" = ".el" ] || [ "${DIST:0:3}" = ".fc" ]; then @@ -255,15 +280,21 @@ grpiui applications/kbookreader grpiui applications/kchmviewer grpiui applications/kcmautostart grpiui applications/kcpuload -grpiui applications/kdbusnotification +if [ "${DIST}" != ".el4" ]; then + grpiui applications/kdbusnotification +fi grpiui applications/kdiff3 grpiui applications/kdirstat grpiui applications/keep #grpiui applications/kerry grpiui applications/kile -grpiui applications/kima +if [ "${DIST}" != ".el4" ]; then + grpiui applications/kima +fi grpiui applications/kiosktool -grpiui applications/kmplayer +if [ "${DIST}" != ".el4" ]; then + grpiui applications/kmplayer +fi grpiui applications/kmyfirewall grpiui applications/kmymoney grpiui applications/knemo @@ -282,7 +313,9 @@ fi grpiui applications/konversation grpiui applications/kopete-otr grpiui applications/kpicosim -grpiui applications/kpilot +if [ "${DIST}" != ".el4" ]; then + grpiui applications/kpilot +fi if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then grpiui applications/kpowersave fi @@ -313,7 +346,9 @@ grpiui applications/tderadio grpiui applications/tde-style-lipstik grpiui applications/tde-style-qtcurve grpiui applications/tdesudo -grpiui applications/tdesvn +if [ "${DIST}" != ".el4" ]; then + grpiui applications/tdesvn +fi grpiui applications/tde-systemsettings grpiui applications/tdmtheme grpiui applications/tellico -- cgit v1.2.3