[golang-github-influxdb-influxdb] Resolves: rhbz1141892 - initial package upload

Lokesh Mandvekar lsm5 at fedoraproject.org
Mon Sep 29 07:11:19 UTC 2014


commit 583f5653bed070e2c4b658d4683e74d585d354c2
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Mon Sep 29 02:10:49 2014 -0500

    Resolves: rhbz1141892 - initial package upload
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>

 .gitignore                           |    1 +
 golang-github-influxdb-influxdb.spec |   77 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fcb8cb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/influxdb-67f9869.tar.gz
diff --git a/golang-github-influxdb-influxdb.spec b/golang-github-influxdb-influxdb.spec
new file mode 100644
index 0000000..19c9e57
--- /dev/null
+++ b/golang-github-influxdb-influxdb.spec
@@ -0,0 +1,77 @@
+%global debug_package   %{nil}
+%global import_path     github.com/influxdb/influxdb
+%global commit          67f9869b82672b62c1200adaf21179565c5b75c3
+%global shortcommit     %(c=%{commit}; echo ${c:0:7})
+
+Name:           golang-github-influxdb-influxdb
+Version:        0.8.0
+Release:        0.2.rc4.git%{shortcommit}%{?dist}
+Summary:        Golang client libs for influxdb
+License:        MIT
+URL:            http://godoc.org/%{import_path}
+Source0:        https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
+BuildArch:      noarch
+
+%description
+InfluxDB is an open source distributed time series database with no external
+dependencies. It's useful for recording metrics, events, and performing
+analytics.
+
+It has a built-in HTTP API so you don't have to write any server side code to
+get up and running.
+
+InfluxDB is designed to be scalable, simple to install and manage, and fast to
+get data in and out.
+
+It aims to answer queries in real-time. That means every data point is indexed
+as it comes in and is immediately available in queries that should return
+in < 100ms.
+
+%package devel
+BuildRequires:  golang >= 1.2.1-3
+Requires:       golang >= 1.2.1-3
+Summary:        Golang client libs for influxdb
+Provides:       golang(%{import_path}) = %{version}-%{release}
+Provides:       golang(%{import_path}/client) = %{version}-%{release}
+
+%description devel
+InfluxDB is an open source distributed time series database with no external
+dependencies. It's useful for recording metrics, events, and performing
+analytics.
+
+It has a built-in HTTP API so you don't have to write any server side code to
+get up and running.
+
+InfluxDB is designed to be scalable, simple to install and manage, and fast to
+get data in and out.
+
+It aims to answer queries in real-time. That means every data point is indexed
+as it comes in and is immediately available in queries that should return
+in < 100ms.
+
+%prep
+%setup -q -n influxdb-%{commit}
+
+%build
+
+%install
+install -d %{buildroot}%{gopath}/src/%{import_path}
+cp -rpav client %{buildroot}%{gopath}/src/%{import_path}/
+
+%check
+
+%files devel
+%doc CHANGELOG.md LICENSE README.md Makefile.in Gemfile
+%dir %{gopath}/src/github.com/influxdb
+%dir %{gopath}/src/%{import_path}
+%dir %{gopath}/src/%{import_path}/client
+%{gopath}/src/%{import_path}/client/*
+
+%changelog
+* Mon Sep 29 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0.8.0-0.2.rc4.git67f9869
+- Resolves: rhbz#1141892 - initial package upload
+- preserve timestamps of source copied
+- gopath is provided by the golang rpm
+
+* Wed Aug 06 2014 Adam Miller <maxamillion at fedoraproject.org> - 0.8.0-0.1.rc4.git67f9869
+- First package for Fedora.
diff --git a/sources b/sources
index e69de29..145ade8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fa4e2c5154e9381e7d46028bae4d23b3  influxdb-67f9869.tar.gz


More information about the scm-commits mailing list