add: chdig (#7386) (#7393)

This commit is contained in:
Raboneko
2025-11-14 21:59:42 -08:00
committed by GitHub
parent 780b7dad63
commit 09bbff98fb
3 changed files with 41 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "chdig.spec"
}
}
+35
View File
@@ -0,0 +1,35 @@
%undefine __brp_mangle_shebangs
Name: chdig
Version: 25.11.1
Release: 1%?dist
Summary: Dig into ClickHouse with TUI interface
URL: https://github.com/azat/chdig
Source0: %url/archive/refs/tags/v%{version}.tar.gz
License: MIT
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold clang fontconfig-devel glib2 libgcc
%description
%{summary}.
%prep
%autosetup -n %{name}-%{version}
%cargo_prep_online
%build
%cargo_build
%install
install -Dm755 target/rpm/chdig %{buildroot}%{_bindir}/chdig
%cargo_license_summary_online
%{cargo_license_online -a} > LICENSE.dependencies
%files
%doc README.md
%license LICENSE
%license LICENSE.dependencies
%{_bindir}/chdig
%changelog
* Fri Nov 14 2025 Owen Zimmerman <owen@fyralabs.com>
- Intial Commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("azat/chdig"));