commit 1fe88b4d844788dcae6c4561cfc1952831a6be90c675bd90b16e54a24cd7cfef Author: Flavio Castelli Date: Tue Jul 28 09:43:40 2015 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/golang-github-cpuguy83-go-md2man.changes b/golang-github-cpuguy83-go-md2man.changes new file mode 100644 index 0000000..51c7efb --- /dev/null +++ b/golang-github-cpuguy83-go-md2man.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed May 27 09:06:10 UTC 2015 - dmacvicar@suse.de + +- initial package for version 1.0.2 + + diff --git a/golang-github-cpuguy83-go-md2man.spec b/golang-github-cpuguy83-go-md2man.spec new file mode 100644 index 0000000..f3d3855 --- /dev/null +++ b/golang-github-cpuguy83-go-md2man.spec @@ -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 diff --git a/v1.0.2.tar.gz b/v1.0.2.tar.gz new file mode 100644 index 0000000..d9e0680 --- /dev/null +++ b/v1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbb936fbaba460200d0fe97181ba5a64c511d8aa9a647f76587f283a8cc6398f +size 3326