[golang-github-golang-glog/f20] Initial commit
Jan Chaloupka
jchaloup at fedoraproject.org
Tue Sep 23 17:08:27 UTC 2014
commit be28356bb3b7fc9849a7faf12cd9182274516537
Author: Jan Chaloupka <jchaloup at redhat.com>
Date: Tue Sep 23 19:08:17 2014 +0200
Initial commit
.gitignore | 1 +
golang-github-golang-glog.spec | 58 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4527db5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/glog-d1c4472bf2efd3826f2b5bdcc02d8416798d678c.tar.gz
diff --git a/golang-github-golang-glog.spec b/golang-github-golang-glog.spec
new file mode 100644
index 0000000..9e88f2e
--- /dev/null
+++ b/golang-github-golang-glog.spec
@@ -0,0 +1,58 @@
+%global commit d1c4472bf2efd3826f2b5bdcc02d8416798d678c
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global import_path github.com/golang/glog
+
+Name: golang-github-golang-glog
+Version: 0
+Release: 0.2.git%{shortcommit}%{?dist}
+Summary: Leveled execution logs for Go
+License: ASL 2.0
+URL: http://%{import_path}
+Source0: https://%{import_path}/archive/%{commit}/glog-%{commit}.tar.gz
+BuildArch: noarch
+
+%description
+%{summary}
+
+%package devel
+BuildRequires: golang >= 1.2.1-3
+Requires: golang >= 1.2.1-3
+Summary: Enables Go programs to comfortably encode and decode YAML values
+Provides: golang(%{import_path}) = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This is an efficient pure Go implementation of leveled logs in the
+manner of the open source C++ package
+ http://code.google.com/p/google-glog
+
+By binding methods to booleans it is possible to use the log package
+without paying the expense of evaluating the arguments to the log.
+Through the -vmodule flag, the package also provides fine-grained
+control over logging at the file level.
+
+%prep
+%setup -n glog-%{commit} -q
+
+%build
+
+%install
+install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
+cp -pav *.go %{buildroot}/%{gopath}/src/%{import_path}/
+
+%check
+GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
+
+%files devel
+%doc LICENSE README
+%dir %{gopath}/src/%{import_path}
+%{gopath}/src/%{import_path}/*.go
+
+%changelog
+* Mon Sep 15 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.2.gitd1c4472
+- BR golang
+- include check
+
+* Tue Aug 05 2014 Adam Miller <maxamillion at fedoraproject.org> - 0.0.1.gitd1c4472b
+- First package for Fedora
diff --git a/sources b/sources
index e69de29..ef3905f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b4e18f169cd384df0a4c23d77bb8ff15 glog-d1c4472bf2efd3826f2b5bdcc02d8416798d678c.tar.gz
More information about the scm-commits
mailing list