OpenPKG CVS Repository
http://cvs.openpkg.org/
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Aug-2004 21:20:09
Branch: HEAD Handle: 2004082820200900
Added files:
openpkg-src/x2vnc x2vnc.spec
Log:
new package: x2vnc 1.6.1 (X11 to VNC Connection)
Summary:
RevisionChanges Path
1.1 +101 -0 openpkg-src/x2vnc/x2vnc.spec
patch -p0 '@@ .'
Index: openpkg-src/x2vnc/x2vnc.spec
$ cvs diff -u -r0 -r1.1 x2vnc.spec
--- /dev/null 2004-08-28 21:20:09 +0200
+++ x2vnc.spec2004-08-28 21:20:09 +0200
@@ -0,0 +1,101 @@
+##
+## x2vnc.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2004 The OpenPKG Project http://www.openpkg.org/
+## Copyright (c) 2000-2004 Ralf S. Engelschall [EMAIL PROTECTED]
+## Copyright (c) 2000-2004 Cable Wireless http://www.cw.com/
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package information
+Name: x2vnc
+Summary: X11 to VNC Connection
+URL: http://fredrik.hubbe.net/x2vnc.html
+Vendor: Fredrik Hubinette
+Packager: The OpenPKG Project
+Distribution: OpenPKG
+Class:EVAL
+Group:X11
+License: GPL
+Version: 1.6.1
+Release: 20040828
+
+# list of sources
+Source0: http://fredrik.hubbe.net/x2vnc/x2vnc-%{version}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot:%{l_buildroot}
+BuildPreReq: OpenPKG, openpkg = 20040130, X11
+PreReq: OpenPKG, openpkg = 20040130, X11
+AutoReq: no
+AutoReqProv: no
+
+%description
+This program merges the capabilities of x2x and vncviewer. It will
+allow a machine with an X display and a machine with a VNC server
+running on it's main screen to act as if they were two displays
+connected to one machine. When you move your mouse pointer off the
+screen in a direction of your choosing, the pointer will appear on
+the other screen instead.
+
+%track
+prog x2vnc = {
+version = %{version}
+url = http://fredrik.hubbe.net/x2vnc.html
+regex = x2vnc-(\d+\.\d+\.\d+)\.tar\.gz
+}
+
+%prep
+%setup -q
+
+%build
+# configure package
+CC=%{l_cc} \
+CFLAGS=%{l_cflags -O} \
+CPPFLAGS=%{l_cppflags} \
+LDFLAGS=%{l_ldflags} \
+./configure \
+--prefix=%{l_prefix} \
+--with-x \
+--x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
+--x-libraries=`%{l_prefix}/etc/rc --query x11_libdir`
+
+# build package
+%{l_make} %{l_mflags -O}
+
+%install
+# install package
+rm -rf $RPM_BUILD_ROOT
+%{l_shtool} mkdir -f -p -m 755 \
+$RPM_BUILD_ROOT%{l_prefix}/bin \
+$RPM_BUILD_ROOT%{l_prefix}/man/man1
+%{l_shtool} install -c -s -m 755 \
+x2vnc $RPM_BUILD_ROOT%{l_prefix}/bin/
+%{l_shtool} install -c -m 644 \
+x2vnc.man $RPM_BUILD_ROOT%{l_prefix}/man/man1/x2vnc.1
+
+# determine installation files
+%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+
+%files -f files
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
@@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]