2015-07-28 11:43:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package golang-github-cpuguy83-go-md2man
|
|
|
|
#
|
2016-01-20 05:04:45 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-07-28 11:43:40 +02:00
|
|
|
#
|
|
|
|
# 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
|
2016-01-20 05:04:45 +01:00
|
|
|
Version: 1.0.5+git20160104.2724a9c
|
2015-07-28 11:43:40 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Convert markdown into man pages
|
|
|
|
License: MIT
|
2016-01-20 05:04:45 +01:00
|
|
|
Group: Development/Languages/Golang
|
|
|
|
Url: https://github.com/cpuguy83/go-md2man
|
2015-07-28 17:14:49 +02:00
|
|
|
Source0: go-md2man-%{version}.tar.xz
|
2015-07-28 11:43:40 +02:00
|
|
|
BuildRequires: golang-packaging
|
2016-01-20 05:04:45 +01:00
|
|
|
BuildRequires: xz
|
2015-07-28 17:14:49 +02:00
|
|
|
BuildRequires: golang(github.com/russross/blackfriday)
|
2016-01-20 05:04:45 +01:00
|
|
|
BuildRequires: golang(golang.org/x/net)
|
|
|
|
Provides: go-go-md2man = %{version}
|
|
|
|
Obsoletes: go-go-md2man < %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-07-28 11:43:40 +02:00
|
|
|
%{go_provides}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tool to converts markdown into man pages
|
|
|
|
|
|
|
|
%prep
|
2015-07-28 17:14:49 +02:00
|
|
|
%setup -q -n go-md2man-%{version}
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%build
|
2016-01-20 05:04:45 +01:00
|
|
|
%{goprep} github.com/cpuguy83/go-md2man
|
|
|
|
%{gobuild} ...
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%install
|
2016-01-20 05:04:45 +01:00
|
|
|
%{goinstall}
|
|
|
|
%{go_filelist}
|
2015-07-28 17:14:49 +02:00
|
|
|
|
|
|
|
%check
|
2016-01-20 05:04:45 +01:00
|
|
|
%{gotest} github.com/cpuguy83/go-md2man
|
2015-07-28 11:43:40 +02:00
|
|
|
|
2016-01-20 05:04:45 +01:00
|
|
|
%files -f file.lst
|
2015-07-28 11:43:40 +02:00
|
|
|
%defattr(-,root,root,-)
|
2015-07-30 09:57:33 +02:00
|
|
|
%doc README.md LICENSE.md
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%changelog
|