File golang-org-x-net.spec of Package golang-org-x-net.4666

#
# spec file for package golang-org-x-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:           golang-org-x-net
Version:        1.4.2+git20150629.d9558e5
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
Patch0:         add_support_for_linux_s390x.ipv4.patch
Patch1:         add_support_for_linux_s390x.ipv6.patch
BuildRequires:  golang-packaging
BuildRequires:  golang(golang.org/x/text)
BuildRequires:	xz
Provides:       go-go.net = %{version}
Obsoletes:      go-go.net < %{version}
Provides:	go-net = %{version}
Obsoletes:	go-net < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%{go_nostrip}

Provides:       golang(golang.org/x/net)

%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.

%gosrc_package

%prep
%setup -q -n net-%{version}
%patch0 -p1
%patch1 -p1

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

%install
%goinstall
%gosrc
%gofilelist

%files -f file.lst
%defattr(-,root,root,-)
%doc LICENSE

%changelog
openSUSE Build Service is sponsored by