File go-net.spec of Package go-net.708

#
# spec file for package go-net
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Graham Anderson <graham.anderson@gmail.com>
#
# 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:           go-net
Version:        1.4.2+git20150304.6dc0abc
Release:        0
Summary:        Additional go.networking libraries
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://github.com/golang/net
Source:         net-%{version}.tar.xz
BuildRequires:  go-devel
BuildRequires:  go-text
BuildRequires:  xz
Provides:       go-go.net = %{version}
Obsoletes:      go-go.net < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%{go_requires}
%{go_recommends}

%description
This package contains additional go.network libraries such as the websocket and SPDY
protocols that are developed by the Go team but outside of the main source tree.

%godoc_package

%prep
%setup -q -n net-%{version}

%build
%goprep golang.org/x/net
%gobuild ...

%install
%goinstall
%godoc

%check
#%%gotest golang.org/x/net

%files
%defattr(-,root,root,-)
%doc LICENSE
%{go_contribdir}/*

%files doc
%defattr(-,root,root,-)
%{go_contribsrcdir}/*

%changelog
openSUSE Build Service is sponsored by