SHA256
1
0
forked from pool/tio
tio/tio.spec
Martin Hauke aec35f3df7 Accepting request 1170830 from home:mnhauke
- Update to version 3.0
  * Simplify lua line manipulation API
  * Disable DEC Special Graphics at exit if vt100
  * Add hexN output mode
  * Rename sub-config to profile
  * Use lua io.write() instead of print()
  * Add new ways to manage serial devices
    + Rename --list-devices to --list
    + Rename --no-autoconnect to --no-reconnect
    + Switch -l and -L options
      -l now lists available serial devices
      -L enables log to file
    + Add option --auto-connect
    + Connect to same port/device combination via unique
      topology ID (TID)
    + Reworked and improved listing of serial devices to show
      serial devices
  * Clean up timestamp enum definition
  * Add missing options to show configuration
  * Update description of mute option
  * Add lua read_string() function
  * Don't forget to log output in lua expect()
  * Generalize automatic login example for Linux
  * Fix log output in hex output mode
  * Add timeout based timestamps in hex output mo
  * Improve switched messages
  * Extend lua expect() to also return matched string
  * Add automatic login script example
  * Organize examples directory
  * Introduce basic line input mode

OBS-URL: https://build.opensuse.org/request/show/1170830
OBS-URL: https://build.opensuse.org/package/show/hardware/tio?expand=0&rev=32
2024-05-06 20:36:42 +00:00

69 lines
1.9 KiB
RPMSpec

#
# spec file for package tio
#
# Copyright (c) 2024 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 https://bugs.opensuse.org/
#
Name: tio
Version: 3.0
Release: 0
Summary: Simple TTY terminal I/O application
License: GPL-2.0-or-later
Group: Hardware/Modem
URL: https://tio.github.io/
Source: https://github.com/tio/tio/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: lua53-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(inih)
%description
Tio is a simple TTY terminal application which features a straightforward
commandline interface to easily connect to TTY devices for basic input/output.
%package bash-completion
Summary: Bash Completion for %{name}
Group: Hardware/Modem
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Bash completion script for %{name}.
%prep
%setup -q
%build
%meson -Dbashcompletiondir=%{_datadir}/bash-completion/completions/
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc AUTHORS NEWS README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%changelog