summaryrefslogtreecommitdiffstats
path: root/redhat/build/get_rpm_package_name.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-01 20:01:06 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-01 20:01:06 +0200
commitcd987458557f4163072c33effd4df34e7e8a4288 (patch)
tree90cf7aecf9dfd20f03572e6d81f38c3a9cc36120 /redhat/build/get_rpm_package_name.sh
parentfc5d3c8d01e679b569e18b13488363cadb5e1d7f (diff)
parent4ed48b596a3124deac51b66df656c57f9f88c4d9 (diff)
downloadtde-packaging-cd987458557f4163072c33effd4df34e7e8a4288.tar.gz
tde-packaging-cd987458557f4163072c33effd4df34e7e8a4288.zip
merge
Diffstat (limited to 'redhat/build/get_rpm_package_name.sh')
-rwxr-xr-xredhat/build/get_rpm_package_name.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh
index f60190970..2d9309738 100755
--- a/redhat/build/get_rpm_package_name.sh
+++ b/redhat/build/get_rpm_package_name.sh
@@ -13,15 +13,21 @@ PKGCATEGORY="${1%%/*}"
PKGNAME="${1##*/}"
DEVEL="$2"
+# Some RPM packages have different name than the source tarball.
# Language package: install only French language package
case "${PKGNAME}" in
"k3b-i18n"|"koffice-i18n"|"tde-i18n") PKGNAME="${PKGNAME}-French";;
"koffice") PKGNAME="${PKGNAME}-suite";;
+ "tqt3") PKGNAME="libtqt3-mt";;
+ "tqtinterface") PKGNAME="libtqt4";;
+ "avahi-tqt") PKGNAME="libavahi-tqt";;
+ "dbus-tqt") PKGNAME="libdbus-tqt-1";;
+ "dbus-1-tqt") PKGNAME="libdbus-1-tqt";;
esac
# Use the Trinity Prefix, or not.
case "${PKGNAME}" in
- "trinity-"*|"qt3"|"python-qt3"|"esound") PREFIX="";;
+ "trinity-"*|"qt3"|"python-qt3"|"esound"|"lib"*) PREFIX="";;
"autoconf"|"automake"|"cmake"|"gnuchess"|"htdig"|"imlib1"|"libotr3"|"libtool"|"lilypond"|"m4"|"mftrace"|"pcsc-perl"|"torsocks"|"wv2") PREFIX="";;
"curl") PREFIX="trinity-lib";;
*) PREFIX="trinity-";;