File xtrace.spec of Package xtrace

#
# spec file for package xtrace
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           xtrace
Version:        1.4.0
Release:        0
Summary:        Trace Program for X11 Connections
License:        GPL-2.0-or-later
Group:          Development/Tools/Debuggers
# was http://xtrace.alioth.debian.org/
URL:            https://sources.debian.org/src/xtrace/unstable/
Source:         http://httpredir.debian.org/debian/pool/main/x/xtrace/xtrace_%{version}.orig.tar.xz
# PATCH-FIX-OPENSUSE xtrace-1.4.0-rename-to-x11trace.patch
Patch1:         xtrace-1.4.0-rename-to-x11trace.patch
# PATCH-FIX-OPENSUSE xtrace-1.4.0-man-page-x11trace.patch
Patch2:         xtrace-1.4.0-man-page-x11trace.patch
BuildRequires:  autoconf >= 2.69
BuildRequires:  libtool

%description
Xtrace fakes an X server and forwards all connections
to a real X server, displaying the communication between
the clients and the server in an (well, thoretically)
human readable form.

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
autoreconf -fiv
%configure --datadir=%{_datadir}/x11trace
make %{?_smp_mflags}

%install
%make_install

%files
%license COPYING
%doc NEWS README
%{_bindir}/x11trace
%{_mandir}/man1/x11trace.1%{?ext_man}
%{_datadir}/x11trace

%changelog
openSUSE Build Service is sponsored by