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

#
# spec file for package go-text
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-text
Version:        1.4.2+git20150306.f3f2426
Release:        0
Summary:        Go text processing support
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://github.com/golang/text
Source:	        text-%{version}.tar.xz
BuildRequires:  go-devel
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%{go_requires}
%{go_recommends}

%description
This repository holds supplementary Go libraries for text processing, 
many involving Unicode.

%godoc_package

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

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

%install
%goinstall
%godoc

%check
%gotest golang.org/x/text

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

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

%changelog