%define debug %nil %define debug_package %nil Name: rqlite Version: 8.0.2 Release: 1 Summary: Distributed relational database built on SQLite URL: http://www.rqlite.io Source0: https://github.com/rqlite/rqlite/archive/v%{version}/%{name}-%{version}.tar.gz License: MIT Group: Development/Other Provides: rqlite Provides: rqbench Provides: rqlited BuildRequires: go BuildRequires: git-core BuildRequires: upx %description rqlite is an easy-to-use, lightweight, distributed relational database, which uses SQLite as its storage engine. rqlite is simple to deploy, operating it is very straightforward, and its clustering capabilities provide you with fault-tolerance and high-availability. rqlite is available for Linux, macOS, and Microsoft Windows. %prep %setup -q %build export GOPROXY=direct go build -o bin/rqbench ./cmd/rqbench go build -o bin/rqlite ./cmd/rqlite go build -o bin/rqlited ./cmd/rqlited upx bin/* %install install -Dm0755 bin/rqbench %{buildroot}%{_bindir}/rqbench install -Dm0755 bin/rqlite %{buildroot}%{_bindir}/rqlite install -Dm0755 bin/rqlited %{buildroot}%{_bindir}/rqlited %files %doc README.md LICENSE DOC %{_bindir}/*