forked from pool/golang-github-cpuguy83-go-md2man
Accepting request 319148 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/319148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-github-cpuguy83-go-md2man?expand=0&rev=2
This commit is contained in:
parent
1fe88b4d84
commit
840b69c98e
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="localonly">
|
||||||
|
<param name="url">http://github.com/cpuguy83/go-md2man</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">1.0.2+git%cd.%h</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="localonly">
|
||||||
|
<param name="file">go-md2man-*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="localonly">
|
||||||
|
<param name="basename">go-md2man</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
3
go-md2man-1.0.2+git20150617.e69ac41.tar.xz
Normal file
3
go-md2man-1.0.2+git20150617.e69ac41.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aa89ae1e72678be8d650512f166100822df258fb9275c7630bc3fbf67cf3852f
|
||||||
|
size 3128
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 12:30:43 UTC 2015 - i@marguerite.su
|
||||||
|
|
||||||
|
- rename to golang-github-cpuguy83-md2man
|
||||||
|
- update version 1.0.2+git20150617.e69ac41
|
||||||
|
- use golang-packaging for packaging
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 27 09:06:10 UTC 2015 - dmacvicar@suse.de
|
Wed May 27 09:06:10 UTC 2015 - dmacvicar@suse.de
|
||||||
|
|
||||||
|
@ -15,60 +15,47 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# 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
|
Name: golang-github-cpuguy83-go-md2man
|
||||||
Version: 1.0.2
|
Version: 1.0.2+git20150617.e69ac41
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Convert markdown into man pages
|
Summary: Convert markdown into man pages
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
URL: https://%{import_path}
|
URL: https://github.com/cpuguy83/go-md2man
|
||||||
Source0: https://%{import_path}/archive/v%{version}.tar.gz
|
Source0: go-md2man-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: golang-org-x-net
|
BuildRequires: golang(github.com/russross/blackfriday)
|
||||||
BuildRequires: golang-github-russross-blackfriday
|
Provides: go-go-md2man = %{version}
|
||||||
Provides: golang(%{import_path}) = %{version}-%{release}
|
Obsoletes: go-go-md2man < %{version}
|
||||||
Provides: golang(%{import_path}/mangen) = %{version}-%{release}
|
|
||||||
Provides: go-go-md2man = %{version}
|
|
||||||
Obsoletes: go-go-md2man <= %{version}
|
|
||||||
%{go_provides}
|
%{go_provides}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tool to converts markdown into man pages
|
Tool to converts markdown into man pages
|
||||||
|
|
||||||
%package doc
|
%gosrc_package
|
||||||
Summary: API documenation
|
|
||||||
Group: Documentation/Other
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
API, examples and documentation.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{repo}-%{version}
|
%setup -q -n go-md2man-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%goprep %{import_path}
|
%goprep github.com/cpuguy83/go-md2man
|
||||||
%gobuild ...
|
%gobuild ...
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%goinstall
|
%goinstall
|
||||||
%godoc
|
%gosrc
|
||||||
%gotest %{import_path}
|
|
||||||
|
%check
|
||||||
|
%gotest github.com/cpuguy83/go-md2man
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/go-md2man
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{go_contribdir}/*
|
%{_bindir}/go-md2man
|
||||||
|
|
||||||
%files doc
|
%files source
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{go_contribsrcdir}/*
|
%{go_contribsrcdir}/*
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bbb936fbaba460200d0fe97181ba5a64c511d8aa9a647f76587f283a8cc6398f
|
|
||||||
size 3326
|
|
Loading…
x
Reference in New Issue
Block a user