1 Summary: A free (GPL) implementation of the NX server.
2 Summary(pl): Darmowa (GPL) imlementacja serwera NX.
7 Group: X11/Applications/Networking
8 Source0: http://debian.tu-bs.de/knoppix/nx/%{name}-%{version}.tar.gz
9 # Source0-md5: c2f976a4940496353f63e5739f30dda4
10 URL: http://debian.tu-bs.de/knoppix/nx/
14 Requires: openssh-server
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 NoMachine NX is the next-generation X compression and roundtrip
19 suppression scheme. It can operate remote X11 sessions over 56k modem
20 dialup links or anything better.
22 This package contains a free (GPL) implementation of the nxserver
26 NoMachine NX to schemat kompresji dla X nowej generacji. Dziala na
27 zdalnych sesjach X11 nawet przy predkosci 56k albo szybszej.
29 Ten pakiet zawiera darmowa (GPL) implementacje komponentu nxserwer.
32 %setup -q -n %{name}-%{version}
35 sed -i -e 's#useradd -d $NX_HOME_DIR -s $(which nxserver) nx#useradd -d $NX_HOME_DIR -u 138 -s $(which nxserver) nx#g' nxsetup
36 sed -i -e 's#NX_HOME_DIR=/home/.nx/#NX_HOME_DIR=/home/services/nx/#g' nxserver
37 sed -i -e 's#netcat#nc#g' nxserver
38 sed -i -e 's#export PATH#export LD_LIBRARY_PATH=%{_libdir}/NX/lib\nexport PATH#g' nxnode
41 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/%{_bindir}
44 cp nx* $RPM_BUILD_ROOT/%{_bindir}
45 chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nxclient \
46 $RPM_BUILD_ROOT/%{_bindir}/nxnode \
47 $RPM_BUILD_ROOT/%{_bindir}/nxserver \
48 $RPM_BUILD_ROOT/%{_bindir}/nxkeygen \
49 $RPM_BUILD_ROOT/%{_bindir}/nxnode-login \
50 $RPM_BUILD_ROOT/%{_bindir}/nxsetup
53 rm -rf $RPM_BUILD_ROOT
59 if [ "$1" = "0" ]; then
64 %defattr(644,root,root,755)
65 %doc AUTHORS COPYING ChangeLog
66 %attr(755,root,root) %{_bindir}/*