Name: zenith Version: 0.15.1 Release: 1%{?dist} Summary: Системный дашборд: CPU/GPU/сеть/диски графиками # ВНИМАНИЕ: экспериментальная сборка, может падать на отдельных архитектурах License: MIT URL: https://github.com/bvaisvil/zenith Source0: %{name}-%{version}.tar.gz Source1: %{name}-vendor-%{version}.tar.gz %global debug_package %{nil} %global _unpackaged_files_terminate_build 0 %global __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='%{build_rustflags} --cfg rustix_use_libc' /usr/bin/cargo BuildRequires: cargo BuildRequires: rust BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cargo-rpm-macros BuildRequires: clang-devel BuildRequires: kernel-headers %description Системный дашборд: CPU/GPU/сеть/диски графиками ВНИМАНИЕ: пакет из неофициального стороннего репозитория arcticlore/candy. Репозиторий в активной разработке — возможны поломки и резкие изменения. Помидорами не кидайтесь, лучше заводите issue. WARNING: this package comes from an UNOFFICIAL third-party repository (arcticlore/candy). Work-in-progress: expect breakage and sudden changes. Don't throw tomatoes - file issues instead. %prep %autosetup -N -a1 -n zenith-0.15.1 %cargo_prep -v vendor cat >> .cargo/config.toml <<'CANDY_CARGO_EOF' [source."git+https://github.com/bvaisvil/darwin-libproc"] git = "https://github.com/bvaisvil/darwin-libproc" replace-with = "vendored-sources" [source."git+https://github.com/bvaisvil/heim.git?branch=zenith_changes"] git = "https://github.com/bvaisvil/heim.git" branch = "zenith_changes" replace-with = "vendored-sources" CANDY_CARGO_EOF %build %cargo_build %install %cargo_install --locked rm -rf %{buildroot}%{_datadir}/cargo mkdir -p %{buildroot}%{_licensedir}/%{name} for f in LICENSE* LICEN[CS]E.MD COPYING* COPYRIGHT* NOTICE*; do [ -e "$f" ] && cp -p "$f" %{buildroot}%{_licensedir}/%{name}/ || true; done %files %{_licensedir}/%{name} %{_bindir}/zenith %changelog * Sat Oct 03 2026 candy-bot - 0.15.1-1 - Автосборка из апстрим-релиза (terminal-eye-candy pipeline)