- initial package for version 1.0.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=1
This commit is contained in:
commit
1fe88b4d84
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
6
golang-github-cpuguy83-go-md2man.changes
Normal file
6
golang-github-cpuguy83-go-md2man.changes
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 27 09:06:10 UTC 2015 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
- initial package for version 1.0.2
|
||||||
|
|
||||||
|
|
75
golang-github-cpuguy83-go-md2man.spec
Normal file
75
golang-github-cpuguy83-go-md2man.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
%global provider github
|
||||||
|
%global provider_tld com
|
||||||
|
%global project cpuguy83
|
||||||
|
%global repo go-md2man
|
||||||
|
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
||||||
|
|
||||||
|
Name: golang-github-cpuguy83-go-md2man
|
||||||
|
Version: 1.0.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Convert markdown into man pages
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Other
|
||||||
|
URL: https://%{import_path}
|
||||||
|
Source0: https://%{import_path}/archive/v%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: golang-org-x-net
|
||||||
|
BuildRequires: golang-github-russross-blackfriday
|
||||||
|
Provides: golang(%{import_path}) = %{version}-%{release}
|
||||||
|
Provides: golang(%{import_path}/mangen) = %{version}-%{release}
|
||||||
|
Provides: go-go-md2man = %{version}
|
||||||
|
Obsoletes: go-go-md2man <= %{version}
|
||||||
|
%{go_provides}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Tool to converts markdown into man pages
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: API documenation
|
||||||
|
Group: Documentation/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
API, examples and documentation.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{repo}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%goprep %{import_path}
|
||||||
|
%gobuild ...
|
||||||
|
|
||||||
|
%install
|
||||||
|
%goinstall
|
||||||
|
%godoc
|
||||||
|
%gotest %{import_path}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/go-md2man
|
||||||
|
%doc README.md
|
||||||
|
%{go_contribdir}/*
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{go_contribsrcdir}/*
|
||||||
|
|
||||||
|
%changelog
|
3
v1.0.2.tar.gz
Normal file
3
v1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbb936fbaba460200d0fe97181ba5a64c511d8aa9a647f76587f283a8cc6398f
|
||||||
|
size 3326
|
Loading…
Reference in New Issue
Block a user