File initviocons.spec of Package initviocons
#
# spec file for package initviocons
#
# 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 http://bugs.opensuse.org/
#
Name: initviocons
Url: http://svn.poeml.de/viewcvs/initviocons/
Version: 0.5
Release: 0
Summary: Terminal Initialization, e.g. for the iSeries Virtual Console
License: GPL-2.0+
Group: System/Console
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
Source: initviocons-%{version}.tar.bz2
%description
Initviocons can be used on the iSeries platform to recognize terminal
features of a telnet client that is connected to the virtual console
(similar to a serial console). It probes the terminal via escape
sequences to find out the screen size and a suitable TERM type. It also
does special initialization if possible (for example, carriage return
suppression for Windows telnet clients). On the iSeries platform, it
additionally checks for the presence of more than one terminal
connected on the same line. See /etc/profile for a usage example.
Authors:
--------
Peter Poeml <poeml@suse.de>
%prep
%setup -n initviocons-%{version}
%build
autoreconf -fi
%configure
make CFLAGS="$RPM_OPT_FLAGS -Wall"
%install
%make_install
install -m 0755 termprobes $RPM_BUILD_ROOT/%{_bindir}/termprobes
#UsrMerge
mkdir -p $RPM_BUILD_ROOT/bin
ln -sf %{_bindir}/initviocons $RPM_BUILD_ROOT/bin
#EndUsrMerge
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
#UsrMerge
/bin/*
#EndUsrMerge
%{_bindir}/*
%changelog