[golang-github-russross-blackfriday] Resolves: rhbz#1156176 - initial package
Lokesh Mandvekar
lsm5 at fedoraproject.org
Sat Oct 25 00:08:00 UTC 2014
commit 174aaa2e975e8734b949cda16f5b7d3a671e34f8
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Fri Oct 24 17:08:01 2014 -0700
Resolves: rhbz#1156176 - initial package
Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>
.gitignore | 1 +
golang-github-russross-blackfriday.spec | 57 +++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..55b0981 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.2.tar.gz
diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec
new file mode 100644
index 0000000..3f96939
--- /dev/null
+++ b/golang-github-russross-blackfriday.spec
@@ -0,0 +1,57 @@
+%global debug_package %{nil}
+%global provider github
+%global provider_tld com
+%global project russross
+%global repo blackfriday
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+
+Name: golang-%{provider}-%{project}-%{repo}
+Version: 1.2
+Release: 1%{?dist}
+Summary: Markdown processor implemented in Go
+License: BSD
+URL: https://%{import_path}
+Source0: https://%{import_path}/archive/v%{version}.tar.gz
+BuildArch: noarch
+
+%description
+%{summary}
+
+%package devel
+BuildRequires: golang >= 1.2.1-3
+BuildRequires: golang(code.google.com/p/go.net/html)
+Requires: golang >= 1.2.1-3
+Summary: Markdown processor implemented in Go
+Provides: golang(%{import_path}) = %{version}-%{release}
+Provides: golang(%{import_path}/mangen) = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This package contains library source intended for building other packages
+which use %{project}/%{repo}.
+
+%prep
+%setup -qn %{repo}-%{version}
+
+%build
+
+%install
+install -d -p %{buildroot}%{gopath}/src/%{import_path}/upskirtref
+cp -pav *.go %{buildroot}%{gopath}/src/%{import_path}/
+cp -pav upskirtref/* %{buildroot}%{gopath}/src/%{import_path}/upskirtref/
+
+%check
+GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
+
+%files devel
+%doc README.md
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/upskirtref
+%{gopath}/src/%{import_path}/*.go
+%{gopath}/src/%{import_path}/upskirtref/*
+
+%changelog
+* Fri Oct 24 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.2-1
+- Resolves: rhbz#1156176 - Initial package
diff --git a/sources b/sources
index e69de29..6e5df4e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e06be10cbdddbf5d8ddf68f5a9d98622 v1.2.tar.gz
More information about the scm-commits
mailing list