SPECS: freenx.spec - changed name to freenx-server, updated to 0.7.2, pleas...
paszczus
paszczus at pld-linux.org
Wed Aug 6 09:17:48 CEST 2008
Author: paszczus Date: Wed Aug 6 07:17:48 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- changed name to freenx-server, updated to 0.7.2, please mv freenx.spec freenx-server.spec
---- Files affected:
SPECS:
freenx.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/freenx.spec
diff -u SPECS/freenx.spec:1.31 SPECS/freenx.spec:1.32
--- SPECS/freenx.spec:1.31 Tue Aug 5 12:04:35 2008
+++ SPECS/freenx.spec Wed Aug 6 09:17:43 2008
@@ -3,14 +3,14 @@
# - nxserver-helper ?
Summary: A free (GPL) implementation of the NX server
Summary(pl.UTF-8): Darmowa (GPL) imlementacja serwera NX
-Name: freenx
-Version: 0.7.1
+Name: freenx-server
+Version: 0.7.2
Release: 1
License: GPL v2
Group: X11/Applications/Networking
Source0: http://download.berlios.de/freenx/%{name}-%{version}.tar.gz
-# Source0-md5: 80e7a57f787daabd0f80dfe8f58e67d3
-Patch0: %{name}-node-conf.patch
+# Source0-md5: 961913bb82ee6e60d8df6f10e647bda9
+Patch0: freenx-node-conf.patch
URL: http://freenx.berlios.de/
BuildRequires: sed >= 4.0
Requires(postun): /usr/sbin/userdel
@@ -28,6 +28,8 @@
Requires: xorg-lib-libXcomposite
Provides: user(nx)
Suggests: rdesktop
+Obsoletes: freenx
+Conflicts: freenx
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -48,7 +50,9 @@
%setup -q
%patch0 -p1
-#%build
+%build
+%{__make}
+
# THIS ALL IS BROKEN. create .patch next time.
#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
#sed -i -e 's#NX_HOME_DIR=/home/.nx/#NX_HOME_DIR=%{_sysconfdir}/nxserver/#g' nxserver
@@ -57,23 +61,21 @@
%install
rm -rf $RPM_BUILD_ROOT
+
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/nxserver
install node.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/nxserver/node.conf
install nxcheckload.sample $RPM_BUILD_ROOT%{_bindir}/nxcheckload
-install nxcups-gethost nxdesktop_helper nxdialog nxkeygen nxloadconfig nxnode nxnode-login nxprint nxserver nxsetup $RPM_BUILD_ROOT%{_bindir}
+install nxcups-gethost nxdesktop_helper nxdialog nxkeygen nxloadconfig nxnode nxnode-login nxprint nxserver nxserver-helper/nxserver-helper nxsetup nxviewer_helper nxviewer-passwd/nxpasswd/nxpasswd $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
-# FIXME: what group it should have?
%useradd -u 160 -d %{_sysconfdir}/nxserver -s %{_bindir}/nxserver -g users -c "FreeNX User" nx
%post
-# FIXME: this displays usage. what it should do?
-#%{_bindir}/nxsetup
%postun
if [ "$1" = "0" ]; then
@@ -93,6 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2008/08/06 07:17:43 paszczus
+- changed name to freenx-server, updated to 0.7.2, please mv freenx.spec freenx-server.spec
+
Revision 1.31 2008/08/05 10:04:35 paszczus
- Suggests: rdesktop (for nxdesktop_helper)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freenx.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list