fedora-copr/ncspot.spec

38 lines
726 B
RPMSpec
Raw Normal View History

%define debug_package %{nil}
Name: ncspot
2021-03-12 10:13:54 +00:00
Version: 0.5.0
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
Requires: pulseaudio
%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}