summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.cvsignore9
-rw-r--r--contrib/.cvsignore1
-rw-r--r--examples/.cvsignore1
-rw-r--r--libvncserver.spec.in58
4 files changed, 69 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
new file mode 100644
index 0000000..94e0ba8
--- /dev/null
+++ b/.cvsignore
@@ -0,0 +1,9 @@
+Makefile.in
+configure
+config.status
+config.log
+libvncserver.spec
+.deps
+aclocal.m4
+autom4te.cache
+
diff --git a/contrib/.cvsignore b/contrib/.cvsignore
index ad5bbda..346a433 100644
--- a/contrib/.cvsignore
+++ b/contrib/.cvsignore
@@ -1,4 +1,5 @@
Makefile.in
x11vnc
zippy
+.deps
diff --git a/examples/.cvsignore b/examples/.cvsignore
index 3970691..5c19368 100644
--- a/examples/.cvsignore
+++ b/examples/.cvsignore
@@ -7,4 +7,5 @@ sratest
storepasswd
vncev
Makefile.in
+.deps
diff --git a/libvncserver.spec.in b/libvncserver.spec.in
new file mode 100644
index 0000000..b621591
--- /dev/null
+++ b/libvncserver.spec.in
@@ -0,0 +1,58 @@
+# Note that this is NOT a relocatable package
+Name: @PACKAGE@
+Version: @VERSION@
+Release: 1
+Summary: a library to make writing a vnc server easy
+Copyright: GPL
+Group: Libraries/Network
+Packager: Johannes.Schindelin <Johannes.Schindelin@gmx.de>
+
+Source: %{name}-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
+Prefix: %{_prefix}
+
+%description
+LibVNCServer makes writing a VNC server (or more correctly, a program
+exporting a framebuffer via the Remote Frame Buffer protocol) easy.
+
+It is based on OSXvnc, which in turn is based on the original Xvnc by
+ORL, later AT&T research labs in UK.
+
+It hides the programmer from the tedious task of managing clients and
+compression schemata.
+
+LibVNCServer was put together and is (actively ;-) maintained by
+Johannes Schindelin <Johannes.Schindelin@gmx.de>
+
+%prep
+%setup -n %{name}-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
+
+make
+
+
+%install
+make install prefix=$RPM_BUILD_ROOT%{prefix}
+
+%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+
+%pre
+%post
+%preun
+%postun
+
+
+%files
+%defattr(-,root,root)
+%{prefix}
+%{_mandir}/man1/*
+%doc AUTHORS COPYING ChangeLog README TODO
+
+%changelog
+see ChangeLog