[golang-github-mitchellh-goamz] Initial commit

Jan Chaloupka jchaloup at fedoraproject.org
Tue Sep 23 18:14:20 UTC 2014


commit f7731e500c763399fbd1681dab651755b9d08a69
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Tue Sep 23 20:13:59 2014 +0200

    Initial commit

 .gitignore                         |    1 +
 golang-github-mitchellh-goamz.spec |   91 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..04ad311 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/goamz-9cad7da.tar.gz
diff --git a/golang-github-mitchellh-goamz.spec b/golang-github-mitchellh-goamz.spec
new file mode 100644
index 0000000..ce2e6dc
--- /dev/null
+++ b/golang-github-mitchellh-goamz.spec
@@ -0,0 +1,91 @@
+%global provider	github
+%global provider_tld	com
+%global project		mitchellh
+%global repo		goamz
+%global commit		9cad7da945e699385c1a3e115aa255211921c9bb
+
+%global import_path	%{provider}.%{provider_tld}/%{project}/%{repo}
+%global shortcommit	%(c=%{commit}; echo ${c:0:7})
+%global debug_package	%{nil}
+
+Name:		golang-%{provider}-%{project}-%{repo}
+Version:	0
+Release:	0.2.git%{shortcommit}%{?dist}
+Summary:	An Amazon Library for Go
+License:	LGPLv3+
+URL:		http://%{import_path}
+Source0:	https://github.com/%{project}/%{repo}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+BuildArch:	noarch
+
+%description
+%{summary}.
+
+%package devel
+BuildRequires:	golang >= 1.2.1-3
+Requires:	golang >= 1.2.1-3
+Summary:	A golang library for logging to systemd
+Provides:	golang(%{import_path}) = %{version}-%{release}
+Provides:	golang(%{import_path}/autoscaling) = %{version}-%{release}
+Provides:	golang(%{import_path}/aws) = %{version}-%{release}
+Provides:	golang(%{import_path}/ec2) = %{version}-%{release}
+Provides:	golang(%{import_path}/elb) = %{version}-%{release}
+Provides:	golang(%{import_path}/exp) = %{version}-%{release}
+Provides:	golang(%{import_path}/iam) = %{version}-%{release}
+Provides:	golang(%{import_path}/rds) = %{version}-%{release}
+Provides:	golang(%{import_path}/route53) = %{version}-%{release}
+Provides:	golang(%{import_path}/s3) = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%prep
+%setup -q -n %{repo}-%{commit}
+
+%build
+
+%install
+install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
+for d in autoscaling aws ec2 elb exp iam rds route53 s3; do
+	cp -pav $d %{buildroot}/%{gopath}/src/%{import_path}/
+done
+
+%files devel
+%doc LICENSE README.md
+%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/autoscaling
+%{gopath}/src/%{import_path}/autoscaling/*
+%dir %{gopath}/src/%{import_path}/aws
+%{gopath}/src/%{import_path}/aws/*
+%dir %{gopath}/src/%{import_path}/ec2
+%{gopath}/src/%{import_path}/ec2/*
+%dir %{gopath}/src/%{import_path}/elb
+%{gopath}/src/%{import_path}/elb/*
+%dir %{gopath}/src/%{import_path}/exp
+%dir %{gopath}/src/%{import_path}/exp/mturk
+%{gopath}/src/%{import_path}/exp/mturk/*
+%dir %{gopath}/src/%{import_path}/exp/sdb
+%{gopath}/src/%{import_path}/exp/sdb/*
+%dir %{gopath}/src/%{import_path}/exp/sns
+%{gopath}/src/%{import_path}/exp/sns/*
+%dir %{gopath}/src/%{import_path}/iam
+%{gopath}/src/%{import_path}/iam/*
+%dir %{gopath}/src/%{import_path}/rds
+%{gopath}/src/%{import_path}/rds/*
+%dir %{gopath}/src/%{import_path}/route53
+%{gopath}/src/%{import_path}/route53/*
+%dir %{gopath}/src/%{import_path}/s3
+%{gopath}/src/%{import_path}/s3/*
+
+%changelog
+* Fri Sep 19 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.2.git9cad7da
+- don't redefine gopath
+- don't own dirs owned by golang
+- preserve timestamps of copied files
+- devel package buildrequires golang
+- noarch
+- correct package name format
+
+* Mon Sep 15 2014 Eric Paris <eparis at redhat.com - 0.0.0-0.1.git9cad7da
+- Bump to upstream 9cad7da945e699385c1a3e115aa255211921c9bb
+
diff --git a/sources b/sources
index e69de29..b59c7a3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+265bb060a695d06d3499b6cb300dab63  goamz-9cad7da.tar.gz


More information about the scm-commits mailing list