Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37901894
en ru br
ALT Linux repos
S:0.25.0-alt3

Group :: Sound
RPM: spotify-tui

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: spotify-tui
Version: 0.25.0
Release: alt3

Summary: Spotify for the terminal written in Rust
License: MIT
Group: Sound
Url: https://github.com/Rigellute/spotify-tui

Source0: %name-%version.tar
Source1: crates.tar
Patch0: %name-%version-alt.patch

BuildRequires: python3
BuildRequires: libssl-devel
BuildRequires: libxcb-devel
BuildRequires: rust-cargo
BuildRequires: /proc

%description
A Spotify client for the terminal written in Rust.

%prep
%setup -a1
%patch -p1

%build
export CARGO_HOME=${PWD}/.cargo
cargo build --release

%install
export CARGO_HOME=${PWD}/.cargo
cargo install --force --root %buildroot/%_usr --path ./ --no-track

%check
export CARGO_HOME=${PWD}/.cargo
cargo test --release

%files
%_bindir/spt

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin