File neocon.spec of Package neocon

#
# spec file for package neocon
#
# Copyright (c) 2022, 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:           neocon
Version: 1.0.2.12.36dc.202410142026
Release:        0
Summary:        Simple serial console utility with re-open-after-disconnect
License:        GPL-2.0-or-later
URL:            https://github.com/openmoko/neocon
#Git-Clone:     https://github.com/openmoko/neocon.git
Source: neocon_1.0.2.12.36dc.202410142026.tar.xz
Source1: rpmlintrc

%description
"neocon" is a simple serial console utility that tries to open a
ttys that may exist on a system until one such open succeeds. It
then passes terminal input and output, until there is a read or
write failure on the tty, in which case it disconnects, and the
process restarts.

%prep
%setup -n neocon -q

%build
%make_build

%install
%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix}

%files
%license debian/copyright
%doc README
%{_bindir}/neocon

%changelog