File go-pretty.spec of Package go-pretty
#
# spec file for package go-pretty
#
# 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: go-pretty
Version: 0.0.0+git20140812.f31442d
Release: 0
Summary: Pretty printing for Go values
License: MIT
Group: Development/Languages/Other
Url: https://github.com/kr/pretty.go
Source0: pretty-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: go-devel
BuildRequires: go-kr-text
Obsoletes: go-pretty.go
Obsoletes: go-pretty.go-devel
Requires: go-kr-text
%{go_provides}
%{go_requires}
%{go_recommends}
%description
Package pretty provides pretty-printing for go values. This is useful during
debugging, to avoid wrapping long output lines in the terminal.
It provides a function, Formatter, that can be used with any function that
accepts a format string.
This package also provides a convenience wrapper for each function in package
fmt that takes a format string.
%godoc_package
%prep
%setup -q -n pretty-%{version}
%build
%goprep github.com/kr/pretty
%gobuild ...
%install
%goinstall
%godoc
%check
%gotest github.com/kr/pretty
%files
%defattr(-,root,root,-)
%doc Readme License
%{go_contribdir}/*
%files doc
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
%changelog