2015-07-28 11:43:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package golang-github-cpuguy83-go-md2man
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 SUSE LLC
|
|
|
|
#
|
|
|
|
# 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
|
2015-07-28 17:14:49 +02:00
|
|
|
Version: 1.0.2+git20150617.e69ac41
|
2015-07-28 11:43:40 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Convert markdown into man pages
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Other
|
2015-07-28 17:14:49 +02:00
|
|
|
URL: https://github.com/cpuguy83/go-md2man
|
|
|
|
Source0: go-md2man-%{version}.tar.xz
|
2015-07-28 11:43:40 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: golang-packaging
|
2015-07-30 09:57:33 +02:00
|
|
|
BuildRequires: golang(golang.org/x/net)
|
2015-07-28 17:14:49 +02:00
|
|
|
BuildRequires: golang(github.com/russross/blackfriday)
|
|
|
|
Provides: go-go-md2man = %{version}
|
|
|
|
Obsoletes: go-go-md2man < %{version}
|
2015-07-28 11:43:40 +02:00
|
|
|
%{go_provides}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tool to converts markdown into man pages
|
|
|
|
|
2015-07-28 17:14:49 +02:00
|
|
|
%gosrc_package
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%prep
|
2015-07-28 17:14:49 +02:00
|
|
|
%setup -q -n go-md2man-%{version}
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%build
|
2015-07-28 17:14:49 +02:00
|
|
|
%goprep github.com/cpuguy83/go-md2man
|
2015-07-28 11:43:40 +02:00
|
|
|
%gobuild ...
|
|
|
|
|
|
|
|
%install
|
|
|
|
%goinstall
|
2015-07-28 17:14:49 +02:00
|
|
|
%gosrc
|
|
|
|
|
|
|
|
%check
|
|
|
|
%gotest github.com/cpuguy83/go-md2man
|
2015-07-28 11:43:40 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2015-07-30 09:57:33 +02:00
|
|
|
%doc README.md LICENSE.md
|
2015-07-28 17:14:49 +02:00
|
|
|
%{_bindir}/go-md2man
|
2015-07-28 11:43:40 +02:00
|
|
|
|
2015-07-28 17:14:49 +02:00
|
|
|
%files source
|
2015-07-28 11:43:40 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{go_contribsrcdir}/*
|
|
|
|
|
|
|
|
%changelog
|