[golang-googlecode-goauth2] Initial commit to git
Jan Chaloupka
jchaloup at fedoraproject.org
Thu Sep 18 13:38:29 UTC 2014
commit dd6d12176a697cbf814ba5a66d3a6f60597a5274
Author: Jan Chaloupka <jchaloup at redhat.com>
Date: Thu Sep 18 15:36:45 2014 +0200
Initial commit to git
.gitignore | 1 +
golang-googlecode-goauth2.spec | 83 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4a722c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/afe77d958c701557ec5dc56f6936fcc194d15520.tar.gz
diff --git a/golang-googlecode-goauth2.spec b/golang-googlecode-goauth2.spec
new file mode 100644
index 0000000..bdcd050
--- /dev/null
+++ b/golang-googlecode-goauth2.spec
@@ -0,0 +1,83 @@
+%global provider google
+%global provider_sub code
+%global provider_tld com
+%global repo goauth2
+%global import_path %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo}
+%global rev afe77d958c701557ec5dc56f6936fcc194d15520
+%global shortrev %(r=%{rev}; echo ${r:0:12})
+
+Name: golang-%{provider}%{provider_sub}-%{repo}
+Version: 0
+Release: 0.3.hg%{shortrev}%{?dist}
+Summary: OAuth 2.0 for Go clients
+License: BSD
+URL: http://%{import_path}
+Source0: https://%{repo}.%{provider}%{provider_sub}.%{provider_tld}/archive/%{rev}.tar.gz
+BuildArch: noarch
+
+%description
+%{summary}
+
+%package devel
+BuildRequires: golang >= 1.2.1-3
+Requires: golang >= 1.2.1-3
+Summary: OAuth 2.0 for Go clients
+Provides: golang(%{import_path}) = %{version}-%{release}
+Provides: golang(%{import_path}/oauth) = %{version}-%{release}
+Provides: golang(%{import_path}/appengine) = %{version}-%{release}
+Provides: golang(%{import_path}/appengine/serviceaccount) = %{version}-%{release}
+Provides: golang(%{import_path}/compute) = %{version}-%{release}
+Provides: golang(%{import_path}/compute/serviceaccount) = %{version}-%{release}
+
+%description devel
+%{summary}
+
+This package contains library source intended for building other packages
+which use the OAuth 2.0 for Go clients library.
+
+
+%prep
+%setup -n %{repo}-%{shortrev} -q
+
+%build
+
+%install
+install -d %{buildroot}/%{gopath}/src/%{import_path}
+for d in oauth appengine compute; do
+ cp -pav $d %{buildroot}/%{gopath}/src/%{import_path}/
+done
+
+%check
+GOPATH=%{gopath}:%{buildroot}/%{gopath} go test %{import_path}/oauth
+
+%files devel
+%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/oauth
+%dir %{gopath}/src/%{import_path}/oauth/example
+%dir %{gopath}/src/%{import_path}/oauth/jwt
+%dir %{gopath}/src/%{import_path}/oauth/jwt/example
+%dir %{gopath}/src/%{import_path}/appengine
+%dir %{gopath}/src/%{import_path}/appengine/serviceaccount
+%dir %{gopath}/src/%{import_path}/compute
+%dir %{gopath}/src/%{import_path}/compute/serviceaccount
+%{gopath}/src/%{import_path}/oauth/*.go
+# oauth/example/oauthreq.go is executable in the tarball, undo it
+%attr(644,-,-) %{gopath}/src/%{import_path}/oauth/example/*.go
+%{gopath}/src/%{import_path}/oauth/jwt/*.go
+%{gopath}/src/%{import_path}/oauth/jwt/example/*.go
+%{gopath}/src/%{import_path}/oauth/jwt/example/*.json
+%{gopath}/src/%{import_path}/oauth/jwt/example/*.pem
+%{gopath}/src/%{import_path}/appengine/serviceaccount/*.go
+%{gopath}/src/%{import_path}/compute/serviceaccount/*.go
+
+%changelog
+* Thu Sep 18 2014 jchaloup <jchaloup at redhat.com> - 0-0.3.hgafe77d958c70
+- Initial commit to git
+
+* Mon Sep 15 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.2.hgafe77d958c70
+- update to afe77d958c70
+- preserve timestamps of copied files
+
+* Mon Aug 04 2014 Adam Miller <maxamillion at fedoraproject.org> - 0-0.1.hg6a3615e294b5
+- First package for Fedora.
diff --git a/sources b/sources
index e69de29..6f14f98 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0946637172953f5dd7ab42ca4fdac3e1 afe77d958c701557ec5dc56f6936fcc194d15520.tar.gz
More information about the scm-commits
mailing list