File picocom.spec of Package picocom

#
# spec file for package picocom
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           picocom
Version:        1.8
Release:        0
Summary:        Minimal dumb-terminal emulation program
License:        GPL-2.0
Group:          Hardware/Modem
Url:            https://github.com/npat-efault/picocom
Source:         https://github.com/npat-efault/picocom/archive/%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
As its name suggests, [picocom] is a minimal dumb-terminal emulation
program. It is, in principle, very much like minicom, only it's "pico"
instead of "mini"! It was designed to serve as a simple, manual, modem
configuration, testing, and debugging tool. It has also served (quite
well) as a low-tech "terminal-window" to allow operator intervention
in PPP connection scripts (something like the ms-windows "open
terminal window before / after dialing" feature). It could also prove
useful in many other similar tasks.

%prep
%setup -q

%build
make %{?_smp_mflags} CFLAGS="%{optflags}"

%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man8
install -m 755 picocom %{buildroot}%{_bindir}/
install -m 644 picocom.8 %{buildroot}%{_mandir}/man8/

%files
%defattr(-,root,root)
%doc CHANGES.old CONTRIBUTORS LICENSE.txt README.md
%{_bindir}/picocom
%{_mandir}/man8/*

%changelog
openSUSE Build Service is sponsored by