From c509b4d4b6d7b80e81dfc4d793875eff361acf72 Mon Sep 17 00:00:00 2001 From: Engels Ruehl Date: Tue, 17 Mar 2026 23:13:47 -0600 Subject: [PATCH 1/5] feat: add ncspot package --- anda/multimedia/ncspot/anda.hcl | 5 +++ anda/multimedia/ncspot/ncspot.spec | 51 ++++++++++++++++++++++++++++++ anda/multimedia/ncspot/update.rhai | 1 + 3 files changed, 57 insertions(+) create mode 100644 anda/multimedia/ncspot/anda.hcl create mode 100644 anda/multimedia/ncspot/ncspot.spec create mode 100644 anda/multimedia/ncspot/update.rhai diff --git a/anda/multimedia/ncspot/anda.hcl b/anda/multimedia/ncspot/anda.hcl new file mode 100644 index 00000000000..b3b737e35b3 --- /dev/null +++ b/anda/multimedia/ncspot/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ncspot.spec" + } +} diff --git a/anda/multimedia/ncspot/ncspot.spec b/anda/multimedia/ncspot/ncspot.spec new file mode 100644 index 00000000000..1f8f83bf73b --- /dev/null +++ b/anda/multimedia/ncspot/ncspot.spec @@ -0,0 +1,51 @@ +%global crate ncspot +%global cargo_features cover + +Name: ncspot +Version: 1.3.3 +Release: 1%{?dist} +Summary: Cross-platform ncurses Spotify client written in Rust + +License: BSD-2-Clause +URL: https://crates.io/crates/%{crate} +Source0: %{crates_source} + +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: gcc +BuildRequires: binutils +BuildRequires: mold +BuildRequires: dbus-devel +BuildRequires: libxcb-devel +BuildRequires: ncurses-devel +BuildRequires: openssl-devel +BuildRequires: pulseaudio-libs-devel + +%global _description %{expand: +ncurses Spotify client written in Rust using librespot. +It is heavily inspired by ncurses MPD clients, such as ncmpc. +It provides a simple and resource-friendly alternative to the +official Spotify client.} + +%description %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/%{crate} + +%prep +%autosetup -n %{crate}-%{version} +%cargo_prep_online + +%build +%cargo_build -f "%{cargo_features}" +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%crate_install_bin + +%changelog +%autochangelog diff --git a/anda/multimedia/ncspot/update.rhai b/anda/multimedia/ncspot/update.rhai new file mode 100644 index 00000000000..d97b23e0d9a --- /dev/null +++ b/anda/multimedia/ncspot/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("ncspot")) From 361d41bc4b3bccbe5de5ae53b45ed9da220a6aab Mon Sep 17 00:00:00 2001 From: Engels Ruehl Date: Tue, 17 Mar 2026 23:24:57 -0600 Subject: [PATCH 2/5] chore: add missing packager and required dependencies --- anda/multimedia/ncspot/.ncspot.spec.swp | Bin 0 -> 12288 bytes anda/multimedia/ncspot/ncspot.spec | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 anda/multimedia/ncspot/.ncspot.spec.swp diff --git a/anda/multimedia/ncspot/.ncspot.spec.swp b/anda/multimedia/ncspot/.ncspot.spec.swp new file mode 100644 index 0000000000000000000000000000000000000000..5bec19bbbc4a27deed3160c3d0f6ac460e26d31f GIT binary patch literal 12288 zcmeI2&x;&I6vrzypt^s&gibdvtlH9iytG)kzPNCfKL6Z}2lWc}pg>R{C=e6~3Iqj$0zrYGKv3WjQoxnR$h*kru_mY0 z=6>wZy?G6{pg>R{C=e6~3Iqj$0zrYGKu{nk5EKXs1O*;K1z1YRofF_m1dsp!$G`vo ze1?!;!7t!j@HzMpTmr|z?@yy0d;;!(4}b?LxB||B7r<%o&nZHF1K)!$!N*vjxYn2`e1gph6iOTH5dGt6x z(l%O{u_^O7XWVE@*IuQ|=a0BmmDjPIx)Czb=R}kEOv@p`W-YQ5w;*dgb(yi&GR!pe z(86clD=7$Rj~3P09~$GHbR81g zxKzw#+T@c}e*YB=0hC}?Oh#FX4lbtBx*@q)9~M(fvXZQjYb>8SBmcTi9-F*b`1NTt RKBp+xICG}P>L40-`47g0GxPue literal 0 HcmV?d00001 diff --git a/anda/multimedia/ncspot/ncspot.spec b/anda/multimedia/ncspot/ncspot.spec index 1f8f83bf73b..cc6643e465e 100644 --- a/anda/multimedia/ncspot/ncspot.spec +++ b/anda/multimedia/ncspot/ncspot.spec @@ -5,11 +5,18 @@ Name: ncspot Version: 1.3.3 Release: 1%{?dist} Summary: Cross-platform ncurses Spotify client written in Rust - +Packager: like-engels License: BSD-2-Clause URL: https://crates.io/crates/%{crate} Source0: %{crates_source} +Requires: dbus +Requires: glibc +Requires: libxcb +Requires: pipewire-pulseaudio +Requires: pulseaudio-libs +Requires: openssl + BuildRequires: anda-srpm-macros BuildRequires: cargo-rpm-macros >= 24 BuildRequires: gcc From 9498fd8da59fda8f2d4830108a6c6077cbdb9765 Mon Sep 17 00:00:00 2001 From: Engels Ruehl Date: Tue, 17 Mar 2026 23:26:11 -0600 Subject: [PATCH 3/5] chore: add missing packager and required dependencies --- anda/multimedia/ncspot/.ncspot.spec.swp | Bin 12288 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 anda/multimedia/ncspot/.ncspot.spec.swp diff --git a/anda/multimedia/ncspot/.ncspot.spec.swp b/anda/multimedia/ncspot/.ncspot.spec.swp deleted file mode 100644 index 5bec19bbbc4a27deed3160c3d0f6ac460e26d31f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&x;&I6vrzypt^s&gibdvtlH9iytG)kzPNCfKL6Z}2lWc}pg>R{C=e6~3Iqj$0zrYGKv3WjQoxnR$h*kru_mY0 z=6>wZy?G6{pg>R{C=e6~3Iqj$0zrYGKu{nk5EKXs1O*;K1z1YRofF_m1dsp!$G`vo ze1?!;!7t!j@HzMpTmr|z?@yy0d;;!(4}b?LxB||B7r<%o&nZHF1K)!$!N*vjxYn2`e1gph6iOTH5dGt6x z(l%O{u_^O7XWVE@*IuQ|=a0BmmDjPIx)Czb=R}kEOv@p`W-YQ5w;*dgb(yi&GR!pe z(86clD=7$Rj~3P09~$GHbR81g zxKzw#+T@c}e*YB=0hC}?Oh#FX4lbtBx*@q)9~M(fvXZQjYb>8SBmcTi9-F*b`1NTt RKBp+xICG}P>L40-`47g0GxPue From 6d4cc8f77c72f170c6e2bbb6036536c925e74c6d Mon Sep 17 00:00:00 2001 From: Engels Tercero <75184282+like-engels@users.noreply.github.com> Date: Tue, 17 Mar 2026 23:38:44 -0600 Subject: [PATCH 4/5] Update anda/multimedia/ncspot/ncspot.spec Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com> Signed-off-by: Engels Tercero <75184282+like-engels@users.noreply.github.com> --- anda/multimedia/ncspot/ncspot.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anda/multimedia/ncspot/ncspot.spec b/anda/multimedia/ncspot/ncspot.spec index cc6643e465e..033b0e468b6 100644 --- a/anda/multimedia/ncspot/ncspot.spec +++ b/anda/multimedia/ncspot/ncspot.spec @@ -55,4 +55,5 @@ official Spotify client.} %crate_install_bin %changelog -%autochangelog +* Wed Mar 18 2026 like-engels - 1.3.3-1 +- Initial package From 962189db08caee526088bf7efeaf47207f879f34 Mon Sep 17 00:00:00 2001 From: Engels Ruehl Date: Wed, 18 Mar 2026 20:20:33 -0600 Subject: [PATCH 5/5] fix: update license tag --- anda/multimedia/ncspot/ncspot.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/multimedia/ncspot/ncspot.spec b/anda/multimedia/ncspot/ncspot.spec index 033b0e468b6..7ce901740f1 100644 --- a/anda/multimedia/ncspot/ncspot.spec +++ b/anda/multimedia/ncspot/ncspot.spec @@ -6,7 +6,7 @@ Version: 1.3.3 Release: 1%{?dist} Summary: Cross-platform ncurses Spotify client written in Rust Packager: like-engels -License: BSD-2-Clause +License: BSD-2-Clause AND (MIT OR Apache-2.0) URL: https://crates.io/crates/%{crate} Source0: %{crates_source}