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.

344 thoughts to “Spotify client”

  1. could we obsolete spotify-client-data in the new version. I have users with the old version installed that needed spotify-client-data from this repo, and now if you try to update spotify-client, it can not remove the old client, as spotify-client-data still needs the old client (this is on RHEL 7)

    Thanks Oliver

    1. Will do in the next update. Thanks for reporting. Please use github for opening an issue in the repository next time, so I don’t risk losing track of it.

    2. Hello, I’ve checked, the first commit of the spotify-client package was already obsoleting the spotify-client-data package:

      https://github.com/negativo17/spotify-client/commit/6b9e37eea4cd576b52c2dfea4e7b5ee3b9c434fd#diff-25169349e486b1f111359d272c45b087R27

      This was in April 2016 (!). After this, I removed the Obsolete/Provide statement in February 2017 (!), allowing plenty of time for people to update:

      https://github.com/negativo17/spotify-client/commit/4feab04c22590079bd5ca3582556905dd023e421#diff-25169349e486b1f111359d272c45b087L30

      I’m sorry but you need to remove spotify-client-data manually before updating, I’m not adding this again. You can remove spotify-client* and reinstall it, or force remove of spotify-client-data and then update with yum.

      1. I was looking for a link to github and could not find one, therefor I posted here. Thanks for the feedback I will repackage your rpm with the Obsolete included, as I have a bigger group of users that for several reasons might have still the older rpm, and they do not have admin rights on their machines (or the knowledge) to manually re-install the package.

  2. I’ve just upgraded spotify on my Fedora 28 and now I’ve got issues to connect. I’m behind a proxy and of course I’ve added the proxy information.
    Is there a way to download the older release?

  3. i’ve just upgraded to the latest version for Fedora 27 1.0.88.345 and the friends list wouldn’t load anymore. any chance i can downgrade to the previous version where this worked fine?

  4. Hello, is there any chance 32 bit (i686) arch? I’ve Fedora 27 32 bit on an old laptop with the latest fc26 1.0.72 i686 spotify-client installed. Is the 32 bit arch permanently dropped or just in Fedora?

  5. Hello, Is there any chance to i686 build? I’ve Fedora 27 32bit on an old laptop or Spotify dropped 32bit arch permanently?

  6. The spotify-client seems to be available only for new Fedora versions: 27 & 28. Do you have the rpms compatible with older versions (e.g Fedora 22). ?

  7. Looks like for a Fresh Fedora 28 install, I needed to install libXScrnSaver and libXScrnSaver-devel in order to get the spotify client working. Thanks again for the repo!

    1. Really? Do you have any message/log to show? I can add those to the dependencies if needed, but for sure the binaries are not linked to them.

      1. Hi Slaanesh, I have the same problem on Red Hat Enterprise Linux 7.5. When trying to run spotify, this is the error message:

        /usr/lib64/spotify-client/spotify: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

        It works after installing libXScrnSaver

  8. Hi, Thank you ,great work!

    I’ve been using this client for several years. But for Fedora 28 I can’t login… If I click on the FB login button nothing happens, and if I enter my credentials it says that my username or password are wrong. I’m not behind a proxy, i’ve tried on wayland and Xorg. Maybe there’s a log a I can check?

    Thanks

  9. Running Fedora 28
    Install and works great, but cant get the system panel menu, anyone else seeing any similar issues ?

    1. Hello, what do you mean by “system panel menu”?
      Are you using Wayland? Can you try logging in with a normal X session and see if it works? Unfortunately the binary does not yet support Wayland.

  10. 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