Name: dysk Version: 3.7.0 Release: 1%{?dist} Summary: df для людей: диски человекочитаемо License: MIT URL: https://github.com/Canop/dysk Source0: %{name}-%{version}.tar.gz Source1: %{name}-vendor-%{version}.tar.gz %{!?_licensedir:%global _licensedir %{_datadir}/licenses} %global debug_package %{nil} %global _unpackaged_files_terminate_build 0 BuildRequires: cargo BuildRequires: rust BuildRequires: gcc BuildRequires: gcc-c++ %description df для людей: диски человекочитаемо ВНИМАНИЕ: пакет из неофициального стороннего репозитория arcticlore/candy-opensuse-beta. Репозиторий в активной разработке — возможны поломки и резкие изменения. Помидорами не кидайтесь, лучше заводите issue. WARNING: this package comes from an UNOFFICIAL third-party repository (arcticlore/candy-opensuse-beta). Work-in-progress: expect breakage and sudden changes. Don't throw tomatoes - file issues instead. %prep %autosetup -N -a1 -n dysk-3.7.0 mkdir -p .cargo cat > .cargo/config.toml <<'EOF' [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build cargo build --release --offline %install install -Dpm0755 target/release/dysk %{buildroot}%{_bindir}/dysk 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}/dysk %changelog * Sat Sep 19 2026 candy-bot - 3.7.0-1 - Автосборка из апстрим-релиза (terminal-eye-candy pipeline)