Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37849333
en ru br
Репозитории ALT

Группа :: Other
Пакет: ctop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global import_path github.com/bcicen/ctop

Name: ctop
Version: 0.7.7
Release: alt1

Summary: Top-like interface for container metrics
License: MIT
Group: Other
Url: https://%import_path

Packager: Stepan Paksashvili <paksa at altlinux.org>

Source: %name-%version.tar

ExclusiveArch: %go_arches

BuildRequires(pre): rpm-build-golang

BuildRequires: golang

%description
Top-like interface for container metrics

ctop provides a concise and condensed overview of real-time metrics for multiple
containers as well as a single container view for inspecting a specific
container.

ctop comes with built-in support for Docker and runC;
connectors for other container and cluster systems are planned for future
releases.

%prep
%setup

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOFLAGS="-tags=release -mod=vendor"
export GOPATH="$BUILDDIR:%go_path"
export LDFLAGS="-w -X main.version=${version}"

%golang_prepare

%golang_build .

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCE=1
mkdir -p %buildroot{%_bindir}

%golang_install

rm -rf %buildroot%go_root

%files
%doc LICENSE README.md _docs VERSION
%_bindir/ctop

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin