# # spec file for package golang-github-cpuguy83-go-md2man # # Copyright (c) 2016 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-cpuguy83-go-md2man Version: 1.0.5+git20160104.2724a9c Release: 0 Summary: Convert markdown into man pages License: MIT Group: Development/Languages/Golang Url: https://github.com/cpuguy83/go-md2man Source0: go-md2man-%{version}.tar.xz BuildRequires: golang-packaging BuildRequires: xz BuildRequires: golang(github.com/russross/blackfriday) BuildRequires: golang(golang.org/x/net) Provides: go-go-md2man = %{version} Obsoletes: go-go-md2man < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_provides} %description Tool to converts markdown into man pages %prep %setup -q -n go-md2man-%{version} %build %{goprep} github.com/cpuguy83/go-md2man %{gobuild} ... %install %{goinstall} %{go_filelist} %check %{gotest} github.com/cpuguy83/go-md2man %files -f file.lst %defattr(-,root,root,-) %doc README.md LICENSE.md %changelog