File ltx.spec of Package ltx

#
# spec file for package ltx
#
# Copyright (c) 2023 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:           ltx
Version:        1.1
Release:        0
Summary:        Linux Test (Project) Executor
License:       	GPL-2.0-or-later
URL:            https://github.com/linux-test-project/ltx/ 
Source:         https://github.com/linux-test-project/ltx/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz 

%description
The ltx program runs on the system under test (SUT). It's primary purpose
is to run test executables in parallel and serialise the results. It is
a dumb program that executes simple commands sent to it by a test scheduler.
The commands are encoded as MessagePack arrays as are the results.

The first element of the array is the message type, represented as an integer.
The rest of the array contents (if any) depend on the message type.

In classic UNIX fashion, stdin and stdout are used to receive and send commands.
This makes LTX transport agnostic, a program such as socat, ssh or just sh
can be used to redirect the standard I/O of LTX.

%prep
%autosetup

%build
%make_build

%install
install -Dm 755 %{_builddir}/%{name}-%{version}/%{name} %{buildroot}%{_bindir}/%{name}

%files
%license COPYING
%doc README.md
%{_bindir}/%{name}

%changelog

openSUSE Build Service is sponsored by