Files
ttynvt/ttynvt.spec
Michael Vetter 250264fee7 - Update to version 0.17
* Handling of initial protocol error changed
  * Handling of pthread_mutex_init failure fixed
  * nvttest: Add missing -lpthread
  * ttynvt: On TCSET* skip rfc2217 baud rate change if zero
  * nvtsrv: Fix inconsistent help
  * nvttest: Improve help
  * nvttest: Enable specifying device
  * nvttest: Rework thread handling
  * nvttest: Return error if anything fails
  * nvtsrv: Change some log messages to debug
  * test: Initial testing framework
  * ttynvt: Move optional delay during close
  * Support odd parity.
  * support TCP/IPv6 address and UNIX domain socket path as
    rfc2217 server

OBS-URL: https://build.opensuse.org/package/show/utilities/ttynvt?expand=0&rev=6
2025-06-28 07:05:21 +00:00

63 lines
1.8 KiB
RPMSpec

#
# spec file for package ttynvt
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2021-2024, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: ttynvt
Version: 0.17
Release: 0
Summary: Virtual Network Terminal supporting the Com Port Control Option (RFC2217)
License: GPL-3.0-or-later
# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: System/Utilities
URL: https://gitlab.com/lars-thrane-as/ttynvt
#Git-Clone: https://gitlab.com/lars-thrane-as/ttynvt.git
Source: https://gitlab.com/lars-thrane-as/ttynvt/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(gtest)
%description
ttynvt makes a virtual serial device (tty) and connects
the device to a Network Virtual Terminal (NVT).
%prep
%autosetup -n %{name}-v%{version}
%build
autoreconf -fiv
%configure
%make_build
%install
%make_install
%check
# disabled since tests need root permission
#%%make_build test
%files
%license COPYING
%doc AUTHORS README
%{_bindir}/ttynvt
%changelog