Latest Spotify client re-packaged from the Ubuntu packages for supported Fedora and RHEL/CentOS distributions.
Supported distributions:
- Fedora – x86_64
- RHEL/CentOS – x86_64
This repository does not require any additional repository be enabled on your system.
Table of Contents
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/Snap 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:
dnf 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
If your system already has an ffmpeg
package, that would be used instead of the compatibility package spotify-ffmpeg.
FFmpeg libraries are required for playback of local files.
Bugs
The address for contacting me is in the package’s changelog.
Do you have plans for fedora/24 ?
This is currently not installable for me. Running “sudo dnf repository-packages fedora-spotify list all” only shows compat-libgcrypt{,-devel}.{i686,x86_64}
Something wrong here. The package is there:
My bad, I had it in dnf.conf ignore list. Thanks for the reponse.
Is it possible to find older versions of this package somewhere? Spotify 1.0.26 comes with broken mpris2 support, so I would like to downgrade to previous version.
False alarm. Looks like it was problem with dbus on my system. Still, it would be nice if you could keep previous version on the repository in case something breaks. Anyway, thanks for good work!
Many thanks!!!
Greate job!! Wors fine in FC23. Thank you.
Works like a charm, thank you very much! 🙂
Thank u so much!!! It works on Centos 7!
Hello. I’m using the Spotify client and I do have the ffmpeg-libs library installed, but my client keeps crashing anytime I try to play the local files. Any thoughts?
Not really, the client relies on a “whitelisted” set of FFMPeg libraries, but since being a binary blob it’s not possible to recompile or debug it:
Do you keep old versions of the spotify rpm anywhere? Looks like they messed up dbus support in 1.0.24.104 again and I’d like to go back to 1.0.23.93 where it worked better. I can’t find the old rpm in the repo anymore though.
I’m usign Centos 7 / RHEL 7, when execute spotify, I recieve those messages:
spotify: /lib64/libcurl.so.4: no version information available (required by spotify)
spotify: symbol lookup error: /usr/lib64/spotify-client/libcef.so: undefined symbol: g_type_class_adjust_private_offset
I have installed:
curl-config –version
libcurl 7.29.0
You rock! Thanks so much for putting this together. This version actually works better on Fedora than the Ubuntu version does on Lubuntu 15.10 where the Friends functionality is broken.
Got everything right now. It rocks on fedora 23.
Thanks.
It works well on F23. I don’t like that I cannot minimize to tray, but I love having an app in Fedora. Good job
Just wish to say thank you. It worked immediately on Fedora 23 for me.
Kudos for all your hard work. Have you consider of adding https on the repos domain? Downloading packages over http is never a good idea.
settings button does not work when i load the application. cannot input proxy settings
Working fantastic on Fedora 23, only one issue. I’m missing buttons when minimized, so its impossible to close or open Spotify. need to kill process via terminal. Exp: http://i.imgur.com/JTcZNwo.png
Thank you for porting spotify to fedora.
But I have one little problem:
Spotify is not displayed as running app in taskbar.
I’m running F23 x86_64 with Cinnamon 2.8.6.
The bundle is a binary only application, you should point this upstream. I think they switched to appindicator or gnome 3 notifications. Not sure though.
Hello, I’m having error:
spotify: /lib64/libcurl.so.4: no version information available (required by spotify)
[0114/114359:ERROR:main_delegate.cc(738)] Could not load cef_extensions.pak
[0114/114359:ERROR:browser_main_loop.cc(189)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
/usr/lib64/spotify-client/spotify: /lib64/libcurl.so.4: no version information available (required by /usr/lib64/spotify-client/spotify)
/proc/self/exe: /lib64/libcurl.so.4: no version information available (required by /proc/self/exe)
[0114/114359:ERROR:main_delegate.cc(738)] Could not load cef_extensions.pak
[0114/114359:ERROR:main_delegate.cc(738)] Could not load cef_extensions.pak
[0114/114400:ERROR:renderer_main.cc(200)] Running without renderer sandbox
13:44:00.197 W [mpris.cpp:137 ] Unrecognized or unimplemented MPRIS MediaPlayer2 method ‘GetAll’
I’m using Fedora 22 KDE x86_64
Thanks
These are errors coming from the embedded Chrome runtime. They are not blocking errors, and actually I can see them almost everywhere there’s a Chrome runtime embedded (Steam, for example).
working fine on fedora 23
thx bro
Thank you and awesome work! The spotify client seem to be working fine on Fedora 23 from the latest update. ^_^
Great work, works really well and appears to be more up to date than the official Ubuntu version. How did you manage to do this exactly? On their page the official Linux version is much older.
Actually I’m starting from the Ubuntu packages. The URL is in the spec file:
http://repository.spotify.com/pool/non-free/s/spotify-client/
Thanx, works great.
This works great on Fedora 23 now! Thank you so much for your efforts!
dnf install spotify-client –allowerasing
Last metadata expiration check performed 0:35:51 ago on Fri Nov 6 11:33:53 2015.
Ошибка: nothing provides ld-linux-x86-64.so.2()(64bit) needed by spotify-client-1.0.17.75.g8f111100-1.fc23.i686
how to install?
Thanks for reporting, it’s a packaging error. I will fix it in the weekend.
Thank you! Working!
Hi when the Fedora 23 Packages will be released? for Spotify, Handbrake, Steam?
Cheers
Dirk
Just finished the update now, I’m about to make the announcement now.
Hi, The 2 last updates didn’t work for me. Spotify is running but there is no sound. Is there a way to get an old version ?
No previous version, sorry. But that’s strange. What distribution are you running?
Yes.. It worked before that, and I didn’t change any settings. I’m running fedora 21 x86_64.
Since F23 is now in beta, can you please build the package for F23 too? Thanks!
The package depends on RPMFusion packages. In the previous cycle (Fedora 22), I built also the package for rawhide, but that proved to be a complete nightmare; as I had to rebuild and keep updated most of the packages that were in RPMFusion. On top of this, at the moment that they finally woke up, I had to make sure there were no upgrade issues between my packages and the official RPMFusion ones. So I’m sorry, I’m not doing it unless RPMFusion is available.
Hi. Now that RPMfusion is actually available for Fedora 23, can you please revisit this?
Just finished the update now, I’m about to make the announcement now. Btw, RPMFusion packages are not 100% released.
Works time and time again. Awesome!
Thanks, really thanks bro.
Is there anyway to change where offline sound are saved?
Once more thanks. =)
when I run spotify on centos 7:
# spotify
spotify: /lib64/libcurl.so.4: no version information available (required by spotify)
spotify: symbol lookup error: /usr/lib64/spotify-client/libcef.so: undefined symbol: g_type_class_adjust_private_offset
Hi Everybody
I have this error when I try to run Spotify client on my fedora 22 :”Service is temporarily unvailable. Please try again later”. Someone encounts the same problem ? Thanks
Are you planning on releasing rpm for version 1.0.13 soon? I’m asking because it has dbus support – something many people have been waiting for.
Building it now, it will be available in a few hours. Where do you know it has dbus support? Is there a changelog published somewhere?
Awesome, thank you for that! Yes, I’ve read it about it here: https://community.spotify.com/t5/Spotify-Announcements/Spotify-beta-1-0-13-for-Linux-released/m-p/1197675#M7965
For people who have the same problem as me => proxy preferences not saved for example… I used “strace” to understand and I see that spotify doesn’t find the `~/.config/spotify` directory.
So, before to launch spotify the first time, you have to do it only once in a terminal:
mkdir ~/.config/spotify/
That’s all, Sptofy client can now connect through proxy. I’m surprised that no one has reported this bug… I will do it as soon as I can.
Thanks for this repo !
very nicely done
I have to say that your version of Spotify is amazing ! Even better than the one I had on Ubuntu. Thanks for your work !
Hi,
I have upgraded the spotify-client to the latest version (1.0.11.131.gf4d47cb0.1.fc22.x86_64).
Every time I turn on the application , it shows an error:
spotify-client quit unexpectedly, spotify killed by SIGABRT, /proc/self/exe --type=gpu-process --channel=3240.0.1136871389 --no-sandbox --lang=en-US --log-severity=disable --product-version=Spotify/1.0.11.131 --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,28,31,44,53 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x1381 --gpu-driver-vendor=NVIDIA --gpu-driver-version=352.30 --lang=en-US --log-severity=disable --product-version=Spotify/1.0.11.131
I am on Fedora 22, with all patches and updates.
Same configuration here, but no error. The crash seems related to the Chrome Sandbox GPU combination. Do you have Google Chrome installed? If yes, please check these links:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1463598
chrome://gpu/
https://code.google.com/p/chromium/issues/detail?id=137247
I have chromium browser installed.
I have removed chromium but the error was still present.
Thank you very much! It works perfectly!!!
I’ve got this problem:
/usr/lib64/spotify-client/spotify: /usr/lib64/spotify-client/libcrypto.so.1.0.0: version `OPENSSL_1.0.0′ not found (required by /usr/lib64/spotify-client/spotify)
/usr/lib64/spotify-client/spotify: /usr/lib64/spotify-client/libssl.so.1.0.0: version `OPENSSL_1.0.0′ not found (required by /usr/lib64/spotify-client/spotify)
/usr/lib64/spotify-client/spotify: /usr/lib64/spotify-client/libgcrypt.so.11: version `GCRYPT_1.2′ not found (required by /usr/lib64/spotify-client/libcef.so)
Any solution?
Btw thanks a lot for this package, I hope it will work on my machine soon and I’ll start listening 😉
I forgot to mention – using Korora 21
Ok everything works, I installede spotify from fedora repo, now I’ve got your spotify and it works great!
All those libraries are already included in the package itself.
Thanks for the great package.
Just noticing that this Spotify package does not support MPRIS2 (for Media player indicator by eon in gnome-shell). Another package I found some time ago did support this, any idea where this regression may come from?
Is Fedora 20 no longer supported? I see it listed under Supported Distributions, but there is no longer a
fedora-20
directory in your repository.Fedora 20 is EOL since end of June, I’ve removed all folders from the repositories. Will update the pages accordingly. Thanks.
I got an error:
Failed to synchronize cache for repo ‘negativo17.org_repos_fedora-spotify.rep’ from ‘http://negativo17.org/repos/fedora-spotify.rep’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
negativo17 – Spotify 6.7 kB/s | 3.6 kB 00:00
Last metadata expiration check performed 0:00:00 ago on Sun Jul 5 22:17:44 2015.
Error: nothing provides ffmpeg-libs needed by spotify-client-1.0.7.153.gb9e8174a-1.fc22.x86_64
You don’t have RPMFusion enabled, as described in the instructions.
try this:
dnf config-manager –set-enabled rpmfusion-free
dnf config-manager –set-enabled rpmfusion-nonfree
The spec file contains the wrong hostname. (It uses %{name} instead of spotify. This resolves to spotify-client…)
The diff between the working and non-working is:
— spotify-client.spec 2015-06-24 07:24:10.563882393 +0200
+++ spotify-client.spec.orig 2015-06-11 09:37:23.000000000 +0200
@@ -13,7 +13,7 @@
URL: http://www.spotify.com/
ExclusiveArch: x86_64
-Source0: http://repository.spotify.com/pool/non-free/s/%{name}/%{name}_%{version}_amd64.deb
+Source0: http://repository.%{name}.com/pool/non-free/s/%{name}/%{name}_%{version}_amd64.deb
# Debian libraries, required by the binaries. Ugh.
Source1: http://de.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1f-1ubuntu11_amd64.deb
Could you update the spec file?
Afterwards spectool -g spotify-client.spec downloaded the sources 🙂
Fixed, thanks. Will be in the next build.
Hmm, on Fedora 22 all I get is:
Warning: failed loading ‘/etc/yum.repos.d/fedora-spotify.repo’, skipping.
Same goes for the steam repo. Am I missing something here? :I
Permissions on the file? All repository files should be 644.
Oh yes, that was it. You think “dnf config-manager –add-repo…” would set it up with the right permissions, strange.
Thanks!
It works just fine, thank you very much!
I don’t see Spotify in the notification area from LXDE. Is it normal or related to LXDE?
I’m having many issues with the latest 1.0.7 version on Fedora 22 (Gnome):
– Menu bar is hidden: I can’t switch to offline mode for instance.
– The client always runs in full screen on my 13 inch laptop, I didn’t find a way to get to normal mode.
– As Marco reported, MPRIS interface isn’t available to manage the player from gnome-shell for instance.
Might it be possible to put the 0.9.x rpm somewhere so we could have a usable client until these issues are fixed? (I didn’t save it and I can’t find it anywhere). Thanks!
I’ve put the old 0.9.x version here:
http://negativo17.org/repos/spotify-09/
http://negativo17.org/repos/fedora-spotify-09.repo
Just disable the previous repository file, put this one in /etc/yum.repos.d/ and run “dnf distro-sync”.
Please note that I can’t provide thousand repositories for every particular use case. As soon as the 1.0.x client matures I will delete this repository.
It looks like something went wrong with my last comment…
I have just installed Fedora 22 x64 using GNOME and used your repo to install Spotify. Spotify starts as “full screen” (or at least it looks like this) and hides all system toolbars, including the Activities button and hot corner gesture. I do not see any application menus, but a tiny button that gives me preferences, account settings and such that do not show anything related to fullscreen.
Is this a known issue or is there a way for Spotify to behave like a normal application? I must use Alt+Tab or “super” key to switch to another app when this is running which is very annoying…
Thanks 🙂 Great work btw.
Just installed Spotify on Fedora 22 64-bit and it loads “fullscreen”, no menus are shown. What it’s worth, I can’t see Gnome’s top toolbar, or use the Activities gesture, so I must change application using the super key or alt-tab.
Is this a known issue or is there a way to get back the menus?
Thanks
Hi,
I’m using it on Fedora 22.
However the updated Spotify client does not integrate into the desktop anymore.
There is no tray icon 🙁
So each time I accidentally click the close button and it shuts down instead of going into the tray.
Any fix for this?