File golang-org-x-oauth2.spec of Package golang-org-x-oauth2

#
# spec file for package golang-org-x-oauth2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           golang-org-x-oauth2
Version:        0.0.0+git20150701.8914e50
Release:        0
Summary:        OAuth 2.0 for Go clients
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://github.com/golang/oauth2
Source:         oauth2-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  golang-packaging
BuildRequires:	golang(golang.org/x/net)
BuildRequires:	golang(google.golang.org/cloud)
BuildRequires:	xz
Provides:	go-oauth2 = %{version}
Obsoletes:	go-oauth2 < %{version}
%{go_provides}

%description
An OAuth 2.0 library for the Go programming language.

%gosrc_package

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

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

%install
%goinstall
%gosrc

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

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

%changelog
openSUSE Build Service is sponsored by