Name: ghfetch Version: 20260825.4b44a4f Release: 1%{?dist} Summary: Neofetch-like utility to fetch GitHub info in the terminal License: MIT URL: https://github.com/SafarSoFar/ghfetch Source0: %{name}-%{version}.tar.gz Source1: %{name}-vendor-%{version}.tar.gz %global debug_package %{nil} BuildRequires: cargo BuildRequires: rust BuildRequires: gcc BuildRequires: cargo-rpm-macros %description Neofetch-like utility to fetch GitHub info in the terminal ВНИМАНИЕ: пакет из неофициального стороннего репозитория 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 ghfetch-4b44a4f442101b2c91849effef37e1b04c34fd9f %cargo_prep -v vendor %build %cargo_build %install %cargo_install # бинарные крейты не поставляют registry (иначе политика rust-* роняет сборку) 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}/ghfetch %changelog * Tue Aug 25 2026 candy-bot - 20260825.4b44a4f-1 - Автосборка из апстрим-релиза (terminal-eye-candy pipeline)