# # spec file for package dua-cli # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define bin_name dua Name: dua-cli Version: 2.33.0+git20260105.d8db05a Release: 0 Summary: View disk space usage and delete unwanted data, fast License: MIT URL: https://github.com/atanunq/%{name} Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.zst Source100: README.md BuildRequires: cargo BuildRequires: cargo-packaging BuildRequires: meson BuildRequires: rust %description dua (-> Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given directory. It's parallel by default and will max out your SSD, providing relevant information as fast as possible. Optionally delete superfluous data, and do so more quickly than rm. %prep %autosetup -a1 %build cargo build --frozen --release %install install -v -Dm755 target/release/dua %{buildroot}%{_bindir}/dua %files %{_bindir}/%{bin_name} %license LICENSE %doc README.md %changelog