|
|
20536df |
%global provider github
|
|
|
20536df |
%global provider_tld com
|
|
|
20536df |
%global project influxdb
|
|
|
20536df |
%global repo influxdb
|
|
|
20536df |
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
|
583f565 |
%global debug_package %{nil}
|
|
|
5234eed |
%global commit 9485e99796c53635fbf179b3e973c363937de00b
|
|
|
583f565 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
583f565 |
|
|
|
583f565 |
Name: golang-github-influxdb-influxdb
|
|
|
5234eed |
Version: 0.8.5
|
|
|
5234eed |
Release: 0.1.git%{shortcommit}%{?dist}
|
|
|
0e87cf1 |
Summary: Scalable datastore for metrics, events, and real-time analytics
|
|
|
583f565 |
License: MIT
|
|
|
583f565 |
URL: http://godoc.org/%{import_path}
|
|
|
583f565 |
Source0: https://%{import_path}/archive/%{commit}/influxdb-%{shortcommit}.tar.gz
|
|
|
6f50747 |
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
|
|
|
583f565 |
BuildArch: noarch
|
|
|
6f50747 |
%else
|
|
|
6f50747 |
ExclusiveArch: %{ix86} x86_64 %{arm}
|
|
|
6f50747 |
%endif
|
|
|
583f565 |
|
|
|
583f565 |
%description
|
|
|
583f565 |
InfluxDB is an open source distributed time series database with no external
|
|
|
583f565 |
dependencies. It's useful for recording metrics, events, and performing
|
|
|
583f565 |
analytics.
|
|
|
583f565 |
|
|
|
583f565 |
It has a built-in HTTP API so you don't have to write any server side code to
|
|
|
583f565 |
get up and running.
|
|
|
583f565 |
|
|
|
583f565 |
InfluxDB is designed to be scalable, simple to install and manage, and fast to
|
|
|
583f565 |
get data in and out.
|
|
|
583f565 |
|
|
|
583f565 |
It aims to answer queries in real-time. That means every data point is indexed
|
|
|
583f565 |
as it comes in and is immediately available in queries that should return
|
|
|
583f565 |
in < 100ms.
|
|
|
583f565 |
|
|
|
0e87cf1 |
%package datastore
|
|
|
0e87cf1 |
BuildRequires: golang >= 1.2.1-3
|
|
|
0e87cf1 |
BuildRequires: golang(code.google.com/p/goprotobuf/proto)
|
|
|
0e87cf1 |
BuildRequires: golang(code.google.com/p/log4go)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/BurntSushi/toml)
|
|
|
6f50747 |
BuildRequires: golang(github.com/influxdb/gomdb)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/jmhodges/levigo)
|
|
|
0e87cf1 |
#github.com/influxdb/rocksdb rocksdb not packaged in Fedora
|
|
|
0e87cf1 |
#github.com/influxdb/hyperleveldb-go hyperleveldb not packages in Fedora
|
|
|
0e87cf1 |
#launchpad.net/gocheck for tests but there is no check so far
|
|
|
0e87cf1 |
Requires: golang >= 1.2.1-3
|
|
|
0e87cf1 |
Requires: golang(code.google.com/p/goprotobuf/proto)
|
|
|
0e87cf1 |
Requires: golang(code.google.com/p/log4go)
|
|
|
0e87cf1 |
Requires: golang(github.com/BurntSushi/toml)
|
|
|
0e87cf1 |
Requires: golang(github.com/influxdb/gomdb)
|
|
|
0e87cf1 |
Requires: golang(github.com/jmhodges/levigo)
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
Summary: Golang datastore libs for influxdb
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/datastore) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/datastore/storage) = %{version}-%{release}
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
%description datastore
|
|
|
0e87cf1 |
%{%description}
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
This package contains datastore part of influxdb.
|
|
|
0e87cf1 |
Hyperleveldb and rocksdb are not included is they are not packaged in Fedora.
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
%package client
|
|
|
583f565 |
BuildRequires: golang >= 1.2.1-3
|
|
|
583f565 |
Requires: golang >= 1.2.1-3
|
|
|
583f565 |
Summary: Golang client libs for influxdb
|
|
|
583f565 |
Provides: golang(%{import_path}/client) = %{version}-%{release}
|
|
|
583f565 |
|
|
|
0e87cf1 |
%description client
|
|
|
0e87cf1 |
%{%description}
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
This package contains client part of influxdb.
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
%package devel
|
|
|
0e87cf1 |
BuildRequires: golang >= 1.2.1-3
|
|
|
0e87cf1 |
#admin,api,checkers,cluster,common,configuration,engine,integration,parser,protocol,wal: launchpad.net/gocheck
|
|
|
0e87cf1 |
#cluster: code.google.com/p/go.crypto/bcrypt
|
|
|
0e87cf1 |
BuildRequires: golang(code.google.com/p/log4go)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/bmizerany/pat)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/influxdb/go-cache)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/BurntSushi/toml)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/jmhodges/levigo)
|
|
|
0e87cf1 |
BuildRequires: golang(code.google.com/p/goprotobuf/proto)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/stretchr/testify/assert)
|
|
|
0e87cf1 |
BuildRequires: golang(github.com/stretchr/testify/mock)
|
|
|
5234eed |
BuildRequires: golang(github.com/rakyll/statik)
|
|
|
5234eed |
BuildRequires: golang(github.com/dgnorton/goback)
|
|
|
5234eed |
BuildRequires: golang(github.com/kimor79/gollectd)
|
|
|
0e87cf1 |
Requires: golang >= 1.2.1-3
|
|
|
0e87cf1 |
Requires: golang(%{import_path}/client) = %{version}-%{release}
|
|
|
0e87cf1 |
Requires: golang(%{import_path}/datastore) = %{version}-%{release}
|
|
|
0e87cf1 |
Requires: golang(code.google.com/p/log4go)
|
|
|
0e87cf1 |
Requires: golang(github.com/bmizerany/pat)
|
|
|
0e87cf1 |
Requires: golang(github.com/influxdb/go-cache)
|
|
|
0e87cf1 |
Requires: golang(github.com/BurntSushi/toml)
|
|
|
0e87cf1 |
Requires: golang(github.com/jmhodges/levigo)
|
|
|
0e87cf1 |
Requires: golang(code.google.com/p/goprotobuf/proto)
|
|
|
0e87cf1 |
Requires: golang(github.com/stretchr/testify/assert)
|
|
|
0e87cf1 |
Requires: golang(github.com/stretchr/testify/mock)
|
|
|
5234eed |
Requires: golang(github.com/rakyll/statik)
|
|
|
5234eed |
Requires: golang(github.com/dgnorton/goback)
|
|
|
5234eed |
Requires: golang(github.com/kimor79/gollectd)
|
|
|
0e87cf1 |
Summary: %{summary}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/admin) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/api) = %{version}-%{release}
|
|
|
5234eed |
Provides: golang(%{import_path}/api/collectd) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/api/graphite) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/api/http) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/api/udp) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/checkers) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/cluster) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/common) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/configuration) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/coordinator) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/daemon) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/engine) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/integration) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/integration/helpers) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/metastore) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/parser) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/protocol) = %{version}-%{release}
|
|
|
5234eed |
Provides: golang(%{import_path}/server) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/tools/benchmark-multi-series) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/tools/benchmark-storage) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/tools/benchmark) = %{version}-%{release}
|
|
|
0e87cf1 |
Provides: golang(%{import_path}/wal) = %{version}-%{release}
|
|
|
0e87cf1 |
|
|
|
583f565 |
%description devel
|
|
|
583f565 |
InfluxDB is an open source distributed time series database with no external
|
|
|
583f565 |
dependencies. It's useful for recording metrics, events, and performing
|
|
|
583f565 |
analytics.
|
|
|
583f565 |
|
|
|
583f565 |
It has a built-in HTTP API so you don't have to write any server side code to
|
|
|
583f565 |
get up and running.
|
|
|
583f565 |
|
|
|
583f565 |
InfluxDB is designed to be scalable, simple to install and manage, and fast to
|
|
|
583f565 |
get data in and out.
|
|
|
583f565 |
|
|
|
583f565 |
It aims to answer queries in real-time. That means every data point is indexed
|
|
|
583f565 |
as it comes in and is immediately available in queries that should return
|
|
|
583f565 |
in < 100ms.
|
|
|
583f565 |
|
|
|
583f565 |
%prep
|
|
|
583f565 |
%setup -q -n influxdb-%{commit}
|
|
|
583f565 |
|
|
|
583f565 |
%build
|
|
|
583f565 |
|
|
|
583f565 |
%install
|
|
|
583f565 |
install -d %{buildroot}%{gopath}/src/%{import_path}
|
|
|
5234eed |
cp -rpav {admin,api,checkers,client,cluster,common,configuration,coordinator,daemon,datastore,engine,integration,metastore,parser,protocol,server,tools,wal} %{buildroot}%{gopath}/src/%{import_path}/
|
|
|
583f565 |
|
|
|
583f565 |
%check
|
|
|
0e87cf1 |
# tests are skiped as there are unresolved dependencies
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
%files client
|
|
|
0e87cf1 |
%doc CHANGELOG.md LICENSE README.md Makefile.in Gemfile
|
|
|
5234eed |
%{gopath}/src/%{import_path}/client
|
|
|
0e87cf1 |
|
|
|
0e87cf1 |
%files datastore
|
|
|
0e87cf1 |
%doc CHANGELOG.md LICENSE README.md Makefile.in Gemfile
|
|
|
5234eed |
%{gopath}/src/%{import_path}/datastore
|
|
|
583f565 |
|
|
|
583f565 |
%files devel
|
|
|
583f565 |
%doc CHANGELOG.md LICENSE README.md Makefile.in Gemfile
|
|
|
583f565 |
%dir %{gopath}/src/github.com/influxdb
|
|
|
583f565 |
%dir %{gopath}/src/%{import_path}
|
|
|
5234eed |
%{gopath}/src/%{import_path}/admin
|
|
|
5234eed |
%{gopath}/src/%{import_path}/api
|
|
|
5234eed |
%{gopath}/src/%{import_path}/checkers
|
|
|
5234eed |
%{gopath}/src/%{import_path}/cluster
|
|
|
5234eed |
%{gopath}/src/%{import_path}/common
|
|
|
5234eed |
%{gopath}/src/%{import_path}/configuration
|
|
|
5234eed |
%{gopath}/src/%{import_path}/coordinator
|
|
|
5234eed |
%{gopath}/src/%{import_path}/daemon
|
|
|
5234eed |
%{gopath}/src/%{import_path}/engine
|
|
|
5234eed |
%{gopath}/src/%{import_path}/integration
|
|
|
5234eed |
%{gopath}/src/%{import_path}/metastore
|
|
|
5234eed |
%{gopath}/src/%{import_path}/parser
|
|
|
5234eed |
%{gopath}/src/%{import_path}/protocol
|
|
|
5234eed |
%{gopath}/src/%{import_path}/server
|
|
|
5234eed |
%{gopath}/src/%{import_path}/tools
|
|
|
5234eed |
%{gopath}/src/%{import_path}/wal
|
|
|
583f565 |
|
|
|
583f565 |
%changelog
|
|
|
5234eed |
* Tue Jan 06 2015 jchaloup <jchaloup@redhat.com> - 0.8.5-0.1.git9485e99
|
|
|
5234eed |
- Update to 0.8.5
|
|
|
5234eed |
resolves: #1161618
|
|
|
5234eed |
|
|
|
6f50747 |
* Sun Nov 09 2014 jchaloup <jchaloup@redhat.com> - 0.8.0-0.5.rc4.git67f9869
|
|
|
6f50747 |
- Choose the correct architecture
|
|
|
6f50747 |
related: #1141892
|
|
|
20536df |
- Bump to upstream b611d020cd78886232cfa6c2ea0606b49d307ed2
|
|
|
20536df |
resolves: #1161618
|
|
|
6f50747 |
|
|
|
0e87cf1 |
* Thu Oct 09 2014 jchaloup <jchaloup@redhat.com> - 0.8.0-0.3.rc4.git67f9869
|
|
|
0e87cf1 |
- Add subpackages (client for kubernetes, datastore for databases, devel for all)
|
|
|
0e87cf1 |
- Add dependencies (not all of them yet)
|
|
|
0e87cf1 |
- Test still missing (missing deps and databases in Fedora), at least add them partionally later
|
|
|
0e87cf1 |
|
|
|
583f565 |
* Mon Sep 29 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.8.0-0.2.rc4.git67f9869
|
|
|
583f565 |
- Resolves: rhbz#1141892 - initial package upload
|
|
|
583f565 |
- preserve timestamps of source copied
|
|
|
583f565 |
- gopath is provided by the golang rpm
|
|
|
583f565 |
|
|
|
583f565 |
* Wed Aug 06 2014 Adam Miller <maxamillion@fedoraproject.org> - 0.8.0-0.1.rc4.git67f9869
|
|
|
583f565 |
- First package for Fedora.
|