File golang-github-kr-text.spec of Package golang-github-kr-text
#
# spec file for package golang-github-kr-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: golang-github-kr-text
Version: 0.0.0+git20150520.e373e13
Release: 0
Summary: Miscellaneous functions for formatting text
License: MIT
Group: Development/Languages/Other
Url: https://github.com/kr/text
Source: text-%{version}.tar.xz
BuildRequires: golang-packaging
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: go-kr-text = %{version}
Obsoletes: go-kr-text < %{version}
%{go_provides}
%description
This is a Go package for manipulating paragraphs of text.
%gosrc_package
%prep
%setup -q -n text-%{version}
%build
%goprep github.com/kr/text
%gobuild
%install
%goinstall
%gosrc
%files
%defattr(-,root,root)
%doc License Readme
%{go_contribdir}/*
%files source
%defattr(-,root,root)
%{go_contribsrcdir}/*
%changelog