File dtach.spec of Package dtach

# spec file for package dtach
# Copyright (c) 2017 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

Name:           dtach
Version:        v0.9+2.748020b
Release:        0
Summary:        Background processes and reattach to them
License:        GPL-2.0+
Group:          System/Console
Url:            http://%{name}
Source0:        %{name}-%{version}.tar.xz
Patch0:         dtach-remove-date-time-compile-macros.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

dtach wraps a command in a sort of process container with new
terminal device and session, allowing to "detach" from it,
essentially backgrounding the process, and later re-attach to it,
simliar to the eponymous feature of GNU screen.

dtach avoids interpreting most of the input and output between attached
terminals and the program under its control. Though multi display mode (like
screen -x) is available, different terminal types or even sizes are not

%setup -q
%patch0 -p1

make %{?_smp_mflags}

install -D -p -m 755 %{name} \
install -D -p -m 644 %{name}.1 \


openSUSE Build Service is sponsored by