initviocons/initviocons.spec
OBS User autobuild 7759580970 Accepting request 21923 from Base:System
Copy from Base:System/initviocons based on submit request 21923 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/21923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/initviocons?expand=0&rev=8
2009-10-07 23:39:18 +00:00

70 lines
2.2 KiB
RPMSpec

#
# spec file for package initviocons (Version 0.5)
#
# Copyright (c) 2009 SUSE LINUX Products 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/
#
# norootforbuild
Name: initviocons
Url: http://svn.poeml.de/viewcvs/initviocons/
Version: 0.5
Release: 81
Summary: Terminal Initialization, e.g. for the iSeries Virtual Console
License: GPL v2 or later
Group: System/Console
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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
export CFLAGS="$RPM_OPT_FLAGS -Wall"
autoreconf -fi
%configure --bindir=/bin
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 0755 termprobes $RPM_BUILD_ROOT/usr/bin/termprobes
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
/bin/*
/usr/bin/*
%changelog