aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMihai Moldovan <ïonic@ionic.de>2017-04-18 17:21:53 +0000
committerMihai Moldovan <ionic@ionic.de>2017-04-18 23:40:36 +0200
commit0c9852a76ef405bc28b7e33d8cf14d0e5f49d352 (patch)
tree73d977406cf9730c222c885387893b01a36b73d4 /nx-libs.spec
parent1537eb05da13d34b5976f2190ce94ec0fdc2e657 (diff)
downloadnx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.tar.gz
nx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.tar.bz2
nx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.zip
{debian/control,nx-libs.spec}: add proper dependencies upon xkbcomp for RPM and DEB packages.
Backported from Arctica GH 3.6.x branch. v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index e0d5d8bac..cc21a84f1 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -599,6 +599,20 @@ Requires: xorg-x11-fonts-core
# works without the dependency.
Requires: xkeyboard-config
+# For /usr/bin/xkbcomp
+%if 0%{?fedora} || 0%{?rhel}
+Requires: xorg-x11-xkb-utils
+%else
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1310
+Requires: xkbcomp
+%else
+# Older *SUSE versions bundle xkbcomp in xorg-x11. Ugly, but nothing we could change.
+Requires: xorg-x11
+%endif
+%endif
+%endif
+
%description -n nxagent
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X