x2vnc/x2vnc.spec

Name: x2vnc
Summary: Bond an X display and a VNC session together
Version: 1.7.2
Release: 1
License: GPL
Group: User Interface/Desktops
URL: http://fredrik.hubbe.net/x2vnc.html
Description: x2vnc is an implementation of the VNC RFB protocol designed to control a machine running a VNC server in a dual-monitor situation. Its effect is to make the controlled machine's display function as if attached to the controlling machine, allowing the use of just one set of input devices on two or more machines.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Fredrik Hubinette <hubbe$hubbe,net>



%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?rh9:%define _without_modxorg 1}
%{?rh7:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?rh6:%define _without_modxorg 1}

Summary: Bond an X display and a VNC session together
Name: x2vnc
Version: 1.7.2
Release: 1%{?dist}
License: GPL
Group: User Interface/Desktops
URL: http://fredrik.hubbe.net/x2vnc.html

Source: http://fredrik.hubbe.net/x2vnc/x2vnc-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%{?_without_modxorg:BuildRequires: XFree86-devel}
%{!?_without_modxorg:BuildRequires: libX11-devel libXrandr-devel libXext-devel}

%description
x2vnc is an implementation of the VNC RFB protocol designed to control
a machine running a VNC server in a dual-monitor situation. Its effect
is to make the controlled machine's display function as if attached to
the controlling machine, allowing the use of just one set of input
devices on two or more machines.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_bindir}
%{__install} -d -m0755 %{buildroot}%{_mandir}/man1
%makeinstall \
    BINDIR="%{buildroot}%{_bindir}" \
    MANDIR="%{buildroot}%{_mandir}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING README contrib/
%doc %{_mandir}/man1/x2vnc.1*
%{_bindir}/x2vnc

%changelog
* Wed Jun 14 2006 Dag Wieers <dag@wieers.com> - 1.7.2-1
- Updated to release 1.7.2.

* Sun May 21 2006 Dag Wieers <dag@wieers.com> - 1.7.1-1
- Updated to release 1.7.1.

* Sat Aug 28 2004 Dag Wieers <dag@wieers.com> - 1.6.1-1
- Updated to release 1.6.1.

* Thu Nov 27 2003 Dag Wieers <dag@wieers.com> - 1.6-0
- Updated to release 1.6.

* Wed Apr 09 2003 Dag Wieers <dag@wieers.com> - 1.5.1-0
- Initial package. (using DAR)