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

#
# spec file for package golang-org-x-image
#
# Copyright (c) 2016 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-image
Version:        1.0.3+git20150901.b3d8467
Release:        0
Summary:        Go supplementary image libraries
License:        BSD-3-Clause
Group:          Development/Languages/Golang
Url:            https://github.com/golang/image
Source:         image-%{version}.tar.xz
BuildRequires:  golang-packaging
BuildRequires:  xz
Provides:       go-image = %{version}
Obsoletes:      go-image < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}

%description
This repository holds supplementary Go image libraries.

%gosrc_package

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

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

%install
%goinstall
%gosrc

%files
%defattr(-,root,root,-)
%doc CONTRIBUTING.md README LICENSE PATENTS
%{go_contribdir}/*

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

%changelog
openSUSE Build Service is sponsored by