* add: rmpc



* smh



---------


(cherry picked from commit f77cee0d6a)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-12-27 19:29:49 -08:00
committed by GitHub
parent 62363b9c1d
commit 2e897b01b9
3 changed files with 52 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "rmpc.spec"
}
}
+46
View File
@@ -0,0 +1,46 @@
%undefine __brp_mangle_shebangs
Name: rmpc
Version: 0.10.0
Release: 1%?dist
Summary: A modern, configurable, terminal based MPD Client with album art support via various terminal image protocols
URL: https://rmpc.mierak.dev/
Source0: https://github.com/mierak/rmpc/archive/refs/tags/v%version.tar.gz
License: BSD-3-Clause
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
Rmpc is a beautiful, modern and configurable terminal based Music Player Daemon client.
It is heavily inspired by ncmpcpp and ranger/lf file managers.
%pkg_completion -bfz
%prep
%autosetup
%cargo_prep_online
%build
%cargo_build
%install
mkdir -p %{buildroot}%{bash_completions_dir}
mkdir -p %{buildroot}%{fish_completions_dir}
mkdir -p %{buildroot}%{zsh_completions_dir}
install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm644 target/completions/%{name}.bash %{buildroot}%{bash_completions_dir}/
install -Dm644 target/completions/%{name}.fish %{buildroot}%{fish_completions_dir}/
install -Dm644 target/completions/_%{name} %{buildroot}%{zsh_completions_dir}/
install -Dm644 target/man/rmpc.1 %{buildroot}%{_mandir}/man1/rmpc.1
%{cargo_license_online} > LICENSE.dependencies
%files
%license LICENSE LICENSE.dependencies
%doc README.md CHANGELOG.md CONTRIBUTING.md
%{_bindir}/%{name}
%{_mandir}/man1/rmpc.*.*
%changelog
* Sat Dec 27 2025 Owen Zimmerman <owen@fyralabs.com> - 0.1.65-1
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("mierak/rmpc"));