Spotify client

Latest Spotify client re-packaged from the Ubuntu packages for supported Fedora and RHEL/CentOS distributions.spotify-client

Supported distributions:

  • Fedora – x86_64
  • RHEL/CentOS – x86_64

This repository does not require any additional repository be enabled on your system.

Package information

This package tries to comply as maximum to the Fedora Packaging Guidelines; this means the packages has debuginfo packages, default Fedora’s GCC compile time options (where possible) and standard locations for binaries, data and docs.

The provided client is binary only and compiled for Ubuntu, so the Fedora package de-assembles the original Ubuntu package and moves all files in the appropriate places. As such, the spotify binary has a RUNPATH of its origin folder. Depending on the distribution, it requires Ubuntu compatible libraries compiled with minimum options (no external dependencies) for local file playback and conversion. Due to this, I’ve removed the RUNPATH from the binary, put all the libraries in its private folder and made sure that only the spotify binary can access them.

$ cd /usr/lib64/spotify-client
$ ls -l lib*
lrwxrwxrwx. 1 root root        27 Mar  5 18:33 libavcodec-ffmpeg.so.56 -> /usr/lib64/libavcodec.so.56
lrwxrwxrwx. 1 root root        23 Oct  5  2017 libavcodec.so.53 -> libavcodec.so.53.61.100
-rwxr-xr-x. 1 root root   6990472 Oct  5  2017 libavcodec.so.53.61.100
lrwxrwxrwx. 1 root root        28 Mar  5 18:34 libavformat-ffmpeg.so.56 -> /usr/lib64/libavformat.so.56
lrwxrwxrwx. 1 root root        24 Oct  5  2017 libavformat.so.53 -> libavformat.so.53.32.100
-rwxr-xr-x. 1 root root   1194888 Oct  5  2017 libavformat.so.53.32.100
lrwxrwxrwx. 1 root root        22 Oct  5  2017 libavutil.so.51 -> libavutil.so.51.35.100
-rwxr-xr-x. 1 root root    136328 Oct  5  2017 libavutil.so.51.35.100
-rwxr-xr-x. 1 root root 127184368 Mar 23 19:16 libcef.so
lrwxrwxrwx. 1 root root        23 Apr 23 16:23 libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.5.0
-rwxr-xr-x. 1 root root    591288 Apr 23 16:23 libcurl-gnutls.so.4.5.0
-rwxr-xr-x. 1 root root    372560 Mar 23 19:16 libEGL.so
-rwxr-xr-x. 1 root root   5046304 Mar 23 19:16 libGLESv2.so
lrwxrwxrwx. 1 root root        23 Oct  5  2017 libpostproc.so.52 -> libpostproc.so.52.0.100
-rwxr-xr-x. 1 root root    114104 Oct  5  2017 libpostproc.so.52.0.100
lrwxrwxrwx. 1 root root        24 Oct  5  2017 libswresample.so.0 -> libswresample.so.0.6.100
-rwxr-xr-x. 1 root root     40432 Oct  5  2017 libswresample.so.0.6.100
-rwxr-xr-x. 1 root root    444472 Apr 23 16:25 libwidevinecdmadapter.so
$ chrpath -l spotify
spotify: no rpath or runpath tag found.

Installation

To install the repository on a supported Fedora distribution, run as root the following command:

dnf config-manager --add-repo=https://negativo17.org/repos/fedora-spotify.repo

To do the same on CentOS/RHEL:

yum-config-manager --add-repo=https://negativo17.org/repos/epel-spotify.repo

Then, to install the client and its data files, perform the following command:

# yum -y install spotify-client

Bugs

The address for contacting me is in the package’s changelog.

318 thoughts to “Spotify client”

  1. Hi, thank you for the amazing work you did! How about the possibility to install it without root permission? I tried unpacking the rpm but it seems quite complicated to make everything work easily.

    1. Well it installs like any other package, with root permissions because it is in /usr but you execute it as your user. If you just want a tarball, just unpack the RPM or the original DEB file in one folder and put in there also the dependent libraries the other spotify-* packages, which are different per distribution.

Leave a Reply