1
0
golang-github-cpuguy83-go-m.../golang-github-cpuguy83-go-md2man.spec

64 lines
1.7 KiB
RPMSpec
Raw Normal View History

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