diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-09-09 21:52:09 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-09-09 21:52:09 +0200 |
commit | d27e5e6838cded96c7f11370af49a74f5bab0aa8 (patch) | |
tree | a537a0cc462fd94d3f52f82766dbbce7c3f9b8a4 /redhat/buildall-sru.sh | |
parent | 301b2ea35ee6a1aa9bc2a06cdefecc1d4e5a88e1 (diff) | |
download | tde-packaging-d27e5e6838cded96c7f11370af49a74f5bab0aa8.tar.gz tde-packaging-d27e5e6838cded96c7f11370af49a74f5bab0aa8.zip |
RPM Packaging: update 3.5.13.2
Diffstat (limited to 'redhat/buildall-sru.sh')
-rwxr-xr-x | redhat/buildall-sru.sh | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh index 9ca791375..ce114202b 100755 --- a/redhat/buildall-sru.sh +++ b/redhat/buildall-sru.sh @@ -8,6 +8,7 @@ grp='./genrpm.sh -v 3.5.13.2 -a' BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)" BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)" DIST="$(rpm -E %{dist})" +LIB="$(rpm -E %_lib)" if [ -x /usr/sbin/urpmi ]; then PKGMGR="urpmi" @@ -92,6 +93,8 @@ grpiud() { if ! rpm -q libqt3-devel &>/dev/null && ! rpm -q lib64qt3-devel &>/dev/null && ! rpm -q qt3-devel &>/dev/null; then if [ -r /etc/SuSE-release ]; then pushd ../opensuse/core + elif [ -r /etc/mandriva-release ]; then + pushd ../mageia else pushd . fi @@ -100,6 +103,27 @@ if ! rpm -q libqt3-devel &>/dev/null && ! rpm -q lib64qt3-devel &>/dev/null && ! popd fi +# Extra dependencies +grpiud extras/akode + +if [ "${DIST:0:6}" = ".oss12" ] || [ "${DIST:0:4}" = ".mga" ] || [ "${DIST:0:3}" = ".fc" ]; then + if ! is_installed trinity-hal-devel; then + grpiu 3rdparty/hal + grpiu 3rdparty/hal-info + eval ${PKGINST} trinity-hal-devel || exit 1 + fi +fi +if [ "${DIST:0:4}" = ".mga" ]; then + if ! is_installed ${LIB}esound-devel; then + grpiu 3rdparty/esound + eval ${PKGINST} esound-devel || exit 1 + fi + if ! is_installed htdig; then + grpiu 3rdparty/htdig + eval ${PKGINST} htdig || exit 1 + fi +fi + # TDE dependencies grpiud dependencies/tqtinterface grpiud dependencies/arts @@ -111,8 +135,6 @@ grpiud dependencies/libcarddav grpiud dependencies/tqca grpiui dependencies/tqca-tls -# Extra dependencies -grpiud extras/akode # TDE main # basic packages |