File xlogin.spec of Package xlogin

# spec file for package xlogin
# Copyright (c) 2023 SUSE LLC
# 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:           xlogin
Requires:       textutils
BuildRequires:  imake
Version:        0.2
Release:        0
Summary:        xlogin, xtelnet
License:        GPL-2.0-or-later
Group:          Productivity/Networking/Other
Source:         xlogin-0.2.tar.gz
Patch0:         xlogin-0.2.dif
Patch1:         xlogin-0.2-fix-bashisms.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package contains two scripts, which, called with the name of a
remote host, will open an xterm window on the local X display with a
remote session or login shell.

The script xlogin starts by a rsh call (remote shell) an xterm on the
remote host.  If necessary, the access will be allowed by sending the
magic key (cookie) of the display to the remote host.

The script xtelnet starts a local xterm with a telnet session on the
remote host.

%patch -P 0
%patch -P 1 -p1


  make DESTDIR=$RPM_BUILD_ROOT install

  rm -rf $RPM_BUILD_ROOT


openSUSE Build Service is sponsored by