[go-bindata] Initial import (#1018542).
Lokesh Mandvekar
lsm5 at fedoraproject.org
Tue Oct 15 19:10:44 UTC 2013
commit c621bdf56aea53d9f9250a7b17b1468861d1752a
Author: Lokesh Mandvekar <lsm5 at redhat.com>
Date: Tue Oct 15 14:10:26 2013 -0500
Initial import (#1018542).
Signed-off-by: Lokesh Mandvekar <lsm5 at redhat.com>
.gitignore | 1 +
go-bindata.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..869a4fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/go-bindata-79847ab.tar.gz
diff --git a/go-bindata.spec b/go-bindata.spec
new file mode 100644
index 0000000..b90774f
--- /dev/null
+++ b/go-bindata.spec
@@ -0,0 +1,49 @@
+%global debug_package %{nil}
+%global import_path github.com/jteeuwen/go-bindata
+%global gopath %{_datadir}/gocode
+%global commit 79847ab3e91ae5d2e1b18796c1795c78f29565d7
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: go-bindata
+Version: 0
+Release: 0.3.git%{shortcommit}%{?dist}
+Summary: A small utility which generates Go code from any file
+License: MIT
+URL: http://%{import_path}
+Source0: https://%{import_path}/archive/%{commit}/go-bindata-%{shortcommit}.tar.gz
+ExclusiveArch: %{ix86} x86_64 %{arm}
+
+%description
+%{summary}
+
+This tool converts any file into managable Go source code. Useful for
+embedding binary data into a go program. The file data is optionally gzip
+compressed before being converted to a raw byte slice.
+
+%prep
+%setup -n go-bindata-%{commit}
+
+%build
+mkdir -p src/github.com/jteeuwen/
+ln -s $(pwd) src/github.com/jteeuwen/go-bindata
+export GOPATH=$(pwd)
+go build -v -a
+
+%install
+install -d -p %{buildroot}%{_bindir}
+install -m 755 go-bindata-%{commit} %{buildroot}%{_bindir}/go-bindata
+
+%files
+%doc CONTRIBUTORS LICENSE README.md
+%{_bindir}/go-bindata
+
+%changelog
+* Mon Oct 14 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.3.git79847ab
+- package name change to go-bindata
+
+* Mon Oct 14 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.2.git79847ab
+- defattr removed
+- only go-bindata installed, no devel package
+
+* Sat Oct 12 2013 Lokesh Mandvekar <lsm5 at redhat.com> 0-0.1.git79847ab
+- Initial fedora package
diff --git a/sources b/sources
index e69de29..35ee3cc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+98251d718dca2d64a1f93247f4020f3a go-bindata-79847ab.tar.gz
More information about the scm-commits
mailing list