Author: arekm                        Date: Wed Jul 15 07:50:46 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, Google NX server

---- Files affected:
packages/neatx:
   neatx.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/neatx/neatx.spec
diff -u /dev/null packages/neatx/neatx.spec:1.1
--- /dev/null   Wed Jul 15 09:50:46 2009
+++ packages/neatx/neatx.spec   Wed Jul 15 09:50:41 2009
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+# TODO:
+# - init script
+# - user/group
+%define        snap    13
+Summary:       Open Source NX server, similar to the commercial NX server from 
NoMachine
+Name:          neatx
+Version:       0.1
+Release:       0.r%{snap}.1
+License:       GPL v2
+Group:         X11/Applications/Networking
+# svn export http://neatx.googlecode.com/svn/trunk/ neatx
+Source0:       %{name}-r%{snap}.tar.bz2
+# Source0-md5: f1b4ea72664596ec57ad5df550b40289
+URL:           http://code.google.com/p/neatx/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-devel
+BuildRequires: python-docutils
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      bash
+Requires:      coreutils
+Requires:      nc
+Requires:      nx
+Requires:      openssh-clients
+Requires:      xorg-app-xauth
+Requires:      xorg-app-xrdb
+Requires:      xterm
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Neatx is an Open Source NX server, similar to the commercial NX server
+from NoMachine.
+
+%prep
+%setup -q -n %{name}
+
+sed -i -e 's#NXAGENT =.*#NXAGENT = %{_bindir}/nxagent#g' lib/constants.py
+
+%build
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install doc/neatx.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/neatx.conf
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/neatx.conf
+%dir %{_libdir}/neatx
+%attr(755,nx,root) %{_libdir}/neatx/*
+%{_datadir}/neatx
+%dir %{py_sitescriptdir}/neatx
+%{py_sitescriptdir}/neatx/*.py[co]
+%dir %{py_sitescriptdir}/neatx/app
+%{py_sitescriptdir}/neatx/app/*.py[co]
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/07/15 07:50:41  arekm
+- initial, Google NX server
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to