LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File go-goserial.spec of Package go-goserial (Project devel:languages:go)

# Copyright (c), 2011, Sascha Peilicke <saschpe@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.

Name:           go-goserial
Version:        0.0.0+git20120304
Release:        0
Summary:        Go package to read and write the serial port as a bytes stream
Group:          Development/Languages/Other
License:        BSD-3-Clause
URL:            https://github.com/tarm/goserial
Source0:        goserial-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  go-devel
%if 0%{?suse_version} >= 1100
Recommends:     go-goserial-doc

A simple go package to allow you to read and write from the serial port as a
stream of bytes. It aims to have the same API on all platforms, including
windows.  Currently there is very little in the way of configurability. You
can set the baud rate.

%package doc
Summary:        API documenation
Group:          Documentation/Other
Requires:       %{name} = %{version}

%description doc
API, examples and documentation.

%setup -q -n goserial

%goprep github.com/tarm/goserial



#%%gotest github.com/tarm/goserial


%files doc