aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-22 15:50:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-22 15:50:30 +0100
commita3087eec9b048d308ae704f7a0540eaa416d4813 (patch)
tree36a9f2ee07778644a542d3f9c9d5a054d09356a4 /nx-libs.spec
parentcaa9e8c9a06a2c3090cdbc9bf02d07225b7fec81 (diff)
downloadnx-libs-a3087eec9b048d308ae704f7a0540eaa416d4813.tar.gz
nx-libs-a3087eec9b048d308ae704f7a0540eaa416d4813.tar.bz2
nx-libs-a3087eec9b048d308ae704f7a0540eaa416d4813.zip
fix for last commit
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index 390172704..bdd4c34ff 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -613,6 +613,14 @@ mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
echo %{_libdir}/nx > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
echo %{_libdir}/nx/X11 >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
+#Remove extras, GL, and other unneeded headers
+rm -r %{buildroot}%{_includedir}/nx/GL
+rm -r %{buildroot}%{_includedir}/nx/X11/bitmaps
+rm -r %{buildroot}%{_includedir}/nx/X11/extensions/XInput.h
+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