mirror of
https://abf.rosa.ru/djam/otel-tui.git
synced 2025-02-23 17:02:47 +00:00
Imported from SRPM
This commit is contained in:
commit
a6f8fbef51
2 changed files with 44 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
otel-tui-0.3.8.tar.gz: 29a7ec0d3b233ca7edb95c382fe1967bac493db6
|
42
otel-tui.spec
Normal file
42
otel-tui.spec
Normal file
|
@ -0,0 +1,42 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: otel-tui
|
||||
Version: 0.3.8
|
||||
Release: 1
|
||||
Summary: A terminal OpenTelemetry viewer
|
||||
URL: https://github.com/ymtdzzz/otel-tui
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: ASL 2.0
|
||||
Group: Development/Other
|
||||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
BuildRequires: pkgconfig(openssl3.3)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
%description
|
||||
A terminal OpenTelemetry viewer inspired by
|
||||
otel-desktop-viewer.
|
||||
|
||||
This tool currently supports OpenTelemetry, Zipkin (Traces)
|
||||
and Prometheus (Metrics) formats.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export GOSUMDB=off
|
||||
export GOPROXY=direct
|
||||
go build --ldflags='-s -w' -o bin/%{name} .
|
||||
|
||||
upx bin/%{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE config.yml.tpl distribution/config.yaml Dockerfile docs
|
||||
%{_bindir}/%{name}
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue