x2x/x2x.spec

Name: x2x
Summary: Link two X displays together, simulating a multiheaded display
Version: 1.27
Release: 0.2
License: BSD
Group: User Interface/Desktops
URL: http://ftp.digital.com/pub/Digital/SRC/x2x/
Description: x2x joins a pair of X displays together, as if they were a single multiheaded display. The pointer can be warped between displays, or, depending on how you start x2x, can slide from one display to the other when it runs off the edge of the screen. Keyboard focus also moves between displays in the way you'd expect, and the X selection propagates around. At least one of the displays involved (specifically, the one being controlled remotely) must support the XTEST extension.

CentOS 7 x86_64

The build could not start because the following file is missing: x2x-1.27.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: x2x-1.27.tar.gz

Build Status

Contents

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

# $Id$

# Authority: dag


%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?fc4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}

Summary: Link two X displays together, simulating a multiheaded display
Name: x2x
Version: 1.27
Release: 0.2%{?dist}
License: BSD
Group: User Interface/Desktops
URL: http://ftp.digital.com/pub/Digital/SRC/x2x/

Source: http://ftp.digital.com/pub/Digital/SRC/x2x/x2x-1.27.tar.gz
Patch0: http://ftp.debian.org/debian/pool/main/x/x2x/x2x_1.27-8.diff.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%{?_without_modxorg:BuildRequires: XFree86-devel}
%{!?_without_modxorg:BuildRequires: libX11-devel, libXext-devel, libXtst-devel, imake}

%description
x2x joins a pair of X displays together, as if they were a single
multiheaded display. The pointer can be warped between displays, or,
depending on how you start x2x, can slide from one display to the
other when it runs off the edge of the screen. Keyboard focus also
moves between displays in the way you'd expect, and the X selection
propagates around. At least one of the displays involved
(specifically, the one being controlled remotely) must support the
XTEST extension.

%prep
%setup
%patch0 -p1
%{__mv} -f x2x.1 x2x.man

%build
xmkmf
%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 x2x %{buildroot}%{_bindir}/x2x
%{__install} -Dp -m0755 x2x.man %{buildroot}%{_mandir}/man1/x2x.1

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

%files
%defattr(-, root, root, 0755)
%doc %{_mandir}/man1/x2x.1*
%{_bindir}/x2x

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.27-0.2
- Rebuild for Fedora Core 5.

* Mon May 05 2003 Dag Wieers <dag@wieers.com> - 1.27-0
- Initial package. (using DAR)