File neocon.spec of Package neocon (Revision 35c9660e715868d0bd6cefad9b804e7f)

Currently displaying revision 35c9660e715868d0bd6cefad9b804e7f , Show latest

51
 
1
#
2
# spec file for package neocon
3
#
4
# Copyright (c) 2022, Martin Hauke <mardnh@gmx.de>
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via https://bugs.opensuse.org/
16
#
17
18
19
Name:           neocon
20
Version: 1.0.2.202405102026
21
Release:        0
22
Summary:        Simple serial console utility with re-open-after-disconnect
23
License:        GPL-2.0-or-later
24
URL:            https://github.com/openmoko/neocon
25
#Git-Clone:     https://github.com/openmoko/neocon.git
26
Source: neocon_1.0.2.202405102026.tar.xz
27
Source1: rpmlintrc
28
29
%description
30
"neocon" is a simple serial console utility that tries to open a
31
ttys that may exist on a system until one such open succeeds. It
32
then passes terminal input and output, until there is a read or
33
write failure on the tty, in which case it disconnects, and the
34
process restarts.
35
36
%prep
37
%setup -n neocon -q
38
39
%build
40
%make_build
41
42
%install
43
%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix}
44
45
%files
46
%license debian/copyright
47
%doc README
48
%{_bindir}/neocon
49
50
%changelog
51