[Linux] Fedora RPM package for F17-F19

Solved!
Reply

Re: Fedora RPM package for F17-F18

leamas
Community Legend

I will look into this. Basically, we need Spotify to keep the old links for a while....But for the time being, the spec does not work.

 

See this link

Highlighted
Solution!

Re: Fedora RPM package for F17-F18

leamas
Community Legend

There is now a new, simpler method based on a rpmfusion package. To use this, you must first enable the rpmfusion repository[1] if you haven't done this already:

# sudo yum localinstall --nogpgcheck   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

 After that, the simple procedure is

# yum install lpf-spotify-client
$ lpf update

 This will guide you through the process of downloading, building and installing the spotify rpm through some GUI dialogs (screenshots at [2]). If you want a pure command line  operation without any GUI dialogs use

$ DISPLAY= lpf update

This method is based on the brand new lpf framework[2]. Expect bugs. If you find one, please report it at the lpf upstream [2] or in the regular rpmfusion bugzilla [3]. There is  lpf -h and man lpf with more info on lpf.

 

As a temporary work-around to fix local playback of files do:

# yum install ffmpeg-compat

 

 

[1] http://rpmfusion.org/

[2] https://github.com/leamas/lpf

[3] https://bugzilla.rpmfusion.org

 

EDIT Updated for now rpmfusion package lpf-spotify-client. Deprecating old method, changing EDIT list to latest first.

 

EDIT: Updated for new  release: 0.9.4.183.g644e24e.428-2. Same procedure and links.

 

EDIT: Making specfile available through a generic 'latest' version - these instructions are copy-pasted all over the net and will otherwise not work as soon there is an update.

 

EDIT: Updated for 0.9.1.55. This time the old 0.9.0 are still present in the download repo. Still, keep the old rpms around if you want to downgrade. As traditional, no real testing done beyond that it starts and plays me a song.

 

EDIT: Downgrading procedure to 0.8.4 added

 

EDIT: Updated for 0.9.0.133. Once again the old version is gone, keep your old rpms so you can downgrade if needed!

 


 

The old, deprecated method still works:

# yum install wget rpmdevtools rpm-build yum-utils
$ rpmdev-setuptree
$ cd $(rpm --eval %_sourcedir)
$ wget http://leamas.fedorapeople.org/spotify/latest/spotify-client.spec
$ spectool -g spotify-client.spec
# yum-builddep spotify-client.spec
$ env QA_RPATHS=$((0x10|0x08)) rpmbuild -bb spotify-client.spec

  This will consume some time, CPU-cycles, hard-disk space and also produce a lot of output. In the end you will find a line like (but not the same!):

Wrote:  /home/leamas/rpmbuild/RPMS/i686/spotify-client-0.9.4.183.g644e24e.428-2.fc19.i686.rpm

  Here you have a RPM file you can install, in my case by doing:

# yum install \
/home/leamas/rpmbuild/RPMS/i686/spotify-client-0.9.4.183.g644e24e.428-2.fc19.i686.rpm

 Again, your case is similar but not the same 🙂

View solution in original post

Re: Fedora RPM package for F17-F18

effbiai
Regular

The spotify application logo disapeared with this release.

Re: Fedora RPM package for F17-F18

leamas
Community Legend

Thanks for reporting!

 

Hm... I actually don't understand which logo you are talking about. But yes, there was a missing Icons link which I fixed in release 2 which is uploaded (same link, same instructions). Could you please test? If problem persists, a little more info about what icon which is missing would be valuable.

 

 

Re: Fedora RPM package for F17-F18

effbiai
Regular

Hi,

 

Tested, apperently wrong logo fix 🙂

The "small" spotify logo with the tux sitting beside it. When I click "Activities" up left corner and then "Show applications".

 

Re: Fedora RPM package for F17-F18

leamas
Community Legend

OK, I can reproduce this (and it's something completely different). Have other things to do right now, but stay tuned.

 

Without trying, the register.sh script in /usr/share/spotify-client/register.sh might be a walkaround,  perhaps after tweaking the new paths. But I will update the spec with a proper fix later.

Re: Fedora RPM package for F17-F18

splodgemcroo
Newbie

Just installed 0.8.8 on F18 using the instructions above, and works perfectly (had to remove the .cache/spotify directory to get rid of an unclickable license agreement initially).

 

Thanks very much for the work in providing this - very useful 🙂

Solution!

Re: Fedora RPM package for F17-F18

leamas
Community Legend

I have updated the spec to release 3. Same instructions and links. Changes:

  • Install desktop icons properly.
  • Wipe ~/.cache/spotify first run w this version

View solution in original post

Re: Fedora RPM package for F17-F18

ivnmad
Regular

Just tested release 3 with 0.8.8 on F18 and worked perfectly.. Thank you..

Re: Fedora RPM package for F17-F18

ivnmad
Regular

BTW, I do get a SIGSEGV error because of:

 

Missing build id: libssl.so.0.9.8
Missing build id: libcrypto.so.0.9.8
Missing build id: libflashplayer.so

 

This is due to Openssl.

Spotify is expecting version 0.9.8, but F18 is already on version 1.01

It still works though..

SUGGESTED POSTS