File golang-github-golang-protobuf.spec of Package golang-github-golang-protobuf

#
# spec file for package golang-github-golang-protobuf
#
# Copyright (c) 2015 SUSE LINUX 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-github-golang-protobuf
Version:        0.0.0+git20150708.ab974be
Release:        0
Summary:        Go support for Protocol Buffers - Google's data interchange format
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://github.com/golang/protobuf
Source:         protobuf-%{version}.tar.xz
BuildRequires:  protobuf-devel
BuildRequires:	golang-packaging
Provides:	go-goprotobuf = %{version}
Obsoletes:	go-goprotobuf < %{version}
Provides:	go-protobuf = %{version}
Obsoletes:	go-protobuf < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}

%description
This package provides Go support, in the form of a library and protocol
compiler plugin, for Google's protocol buffers. (RPC is not supported.)

%gosrc_package

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

%build
%goprep github.com/golang/protobuf
%gobuild ...

%install
%goinstall
%gosrc

%files
%defattr(-,root,root,-)
%doc CONTRIBUTORS LICENSE README
%{_bindir}/protoc-gen-go
%{go_contribdir}/*

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

%changelog
openSUSE Build Service is sponsored by