Add 'ncspot.spec'
Added ncspot spec file
This commit is contained in:
parent
4a129f53c1
commit
8325b7648e
1 changed files with 37 additions and 0 deletions
37
ncspot.spec
Normal file
37
ncspot.spec
Normal file
|
@ -0,0 +1,37 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: ncspot
|
||||
Version: 0.3.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}
|
Loading…
Reference in a new issue