initviocons/initviocons.spec

120 lines
4.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: 80
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
cp -p termprobes $RPM_BUILD_ROOT/usr/bin/
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
/bin/*
/usr/bin/*
%changelog
* Mon Dec 10 2007 poeml@suse.de
- update to r27:
- when using -e, only output the TERM value and don't add
LINES,COLUMNS by default anymore. Discussion in [#184179] (ssh
installation exit abnormally when change terminal window size)
has shown that they are not needed anyway, and they seem to
cause problems in some cases (when used together with ssh). In
order to be able to revert to the previous behaviour, the -s
switch was added. It adds LINES and COLUMNS to the eval output
again.
* Wed Nov 14 2007 poeml@suse.de
- update to r25:
- recognize WebSM console
https://bugzilla.novell.com/show_bug.cgi?id=256139
which sends a characteristic primary da
* Thu Jul 19 2007 poeml@suse.de
- update to 0.5 (svn r24)
- support for mlterm and Terminal.app
- prefer Terminal.app over kterm (which responds in the same
way). kterm is not widely used anymore, it was an old xterm
fork but it isn't UTF-8 capable.
- make it compile on Darwin 8.6
- fold in patches initviocons-0.4.dif (c shell eval mode)
initviocons.minimal-termsize.patch [#140383]
initviocons.ps3-hack.patch
initviocons.ps3-matching.patch
* Tue Jul 17 2007 sassmann@suse.de
- added new /proc/device-tree/model matching for ps3 detection
* Tue Apr 24 2007 olh@suse.de
- do not run initviocons on PS3, until the kernel fb is fixed
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 08 2006 olh@suse.de
- do not set cols/rows to less than 80x24 (#140383)
* Wed Oct 26 2005 werner@suse.de
- Add support for C shell in eval mode
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Sun Jun 09 2002 poeml@suse.de
- update to 0.4
- no longer ignore carriage return when a Windows telnet client ist
connected (on iSeries). The telnet server has been fixed to
handle the Network Virtual Terminal newline correctly. If the
respective Program Temporary Fixes are installed on the iSeries,
this fix here is needed as well to prevent Enter key malfunction
on the virtual console.
* Tue Mar 12 2002 kukuk@suse.de
- Fix filelist (exclude /usr/bin as directory)
* Mon Feb 04 2002 poeml@suse.de
- created package