2021-01-30 01:55:43 +00:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Name: ncspot
|
2022-06-13 14:15:12 +00:00
|
|
|
Version: 0.10.0
|
2021-01-30 01:55:43 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: ncurses Spotify client written in Rust using librespot
|
|
|
|
License: BSD
|
|
|
|
|
|
|
|
URL: https://github.com/hrkfdn/ncspot
|
|
|
|
Source0: %{url}/archive/v%version.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: rust
|
|
|
|
BuildRequires: cargo
|
|
|
|
BuildRequires: pulseaudio-libs-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
|
2021-05-31 09:13:42 +00:00
|
|
|
Requires: pipewire-pulseaudio
|
2021-01-30 01:55:43 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
|
|
|
cargo build --release
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -p -D -m755 target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/%{name}
|