aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-01-28 19:48:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-01-28 19:48:21 +0100
commitfaa289a82954860c9dfb44dc7eb4d39ea6d99f25 (patch)
tree1becb25f4c66eefd6c6f9647d6a6cc178a2c45a3 /nx-libs.spec
parentfc91d4d04074935602aeb3eb5f2cc785fc813c82 (diff)
downloadnx-libs-faa289a82954860c9dfb44dc7eb4d39ea6d99f25.tar.gz
nx-libs-faa289a82954860c9dfb44dc7eb4d39ea6d99f25.tar.bz2
nx-libs-faa289a82954860c9dfb44dc7eb4d39ea6d99f25.zip
nx-libs.spec: Sync nx-libs.spec in Fedora with upstream's nx-libs.spec file. (Fixes: #393).
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index 860a4a787..263203fa0 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -235,8 +235,8 @@ various limitations in the core protocol.
Group: System Environment/Libraries
Summary: Xinerama extension to the NX Protocol
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: libX11
-Requires: libXext
+Requires: libX11%{?_isa}
+Requires: libXext%{?_isa}
%description -n libNX_Xinerama
Xinerama is an extension to the X Window System which enables
@@ -568,6 +568,9 @@ rm -r %{buildroot}%{_includedir}/nx/X11/extensions/XK*.h
rm -r %{buildroot}%{_includedir}/nx/X11/extensions/*Xv*.h
rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
+# Needed for Xinerama support
+ln -s -f ../../../../%{_lib}/libX11.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
+ln -s -f ../../../../%{_lib}/libXext.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
%post -p /sbin/ldconfig
%post -n libNX_X11 -p /sbin/ldconfig
@@ -577,10 +580,7 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
%post -n libNX_Xdmcp -p /sbin/ldconfig
%post -n libNX_Xext -p /sbin/ldconfig
%post -n libNX_Xfixes -p /sbin/ldconfig
-%post -n libNX_Xinerama
-ln -s -f %{_libdir}/libX11.so.6 %{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
-ln -s -f %{_libdir}/libXext.so.6 %{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
-/sbin/ldconfig
+%post -n libNX_Xinerama -p /sbin/ldconfig
%post -n libNX_Xpm -p /sbin/ldconfig
%post -n libNX_Xrandr -p /sbin/ldconfig