Announcements

[Linux] Fedora RPM package for F17-F19

Solved!
Reply
Highlighted

Re: Fedora RPM package for F17-F18

Community Legend

Indeed, and this has slipped through my own and my reviewers tests. Thanks for help! New specfile available (same link)), would appreciate if also you tested it.

 

EDIT: Actually, the spec was based on the wrong version, and contained all sorts of errors. They should now be fixed, release 4 is uploaded to same location. Sorry for the mess.

Highlighted

Re: Fedora RPM package for F17-F18

Regular

Tested, result; OK.

Please update the first post to include the guide.

Highlighted

Re: Fedora RPM package for F17-F18

Newbie

This worked for me on fedora 17 (64bit).

Great work, thanks!

Highlighted

Re: Fedora RPM package for F17-F18

Regular

Tested on F18 (64bit)... Worked fine.. Thanks...

Highlighted

Re: Fedora RPM package for F17-F18

Newbie

It works for me on Linux ****** 3.6.10-2.fc17.i686 #1 SMP Tue Dec 11 18:33:15 UTC 2012 i686 i686 i386 GNU/Linux

 

Thank's!

Highlighted

Re: Fedora RPM package for F17-F18

Casual Listener

On Fedora 18 (i686) it fails with following message:

 

Not supported architecture: i386

 

Then I tried to manually change this line:

 

ExclusiveArch:  i686 x86_64

 

to

 

ExclusiveArch:  i386 i686 x86_64

 

But then I got following error:

 

Ejecutando(%prep): /bin/sh -e /var/tmp/rpm-tmp.6Vc2cA
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' -d spotify ']'
+ cd spotify
+ rm -rf spotify.1 spotify.sh
+ cp -a /root/rpmbuild/SOURCES/spotify.sh spotify.sh
+ cp -a /root/rpmbuild/SOURCES/spotify.1 spotify.1
+ chmod 755 ./usr/share/spotify/libcef.so
chmod: cannot access './usr/share/spotify/libcef.so': No such file or directory

Highlighted

Re: Fedora RPM package for F17-F18

Community Legend

If you make that change, you must also change the %ifarch statements....

 

Indeed, F-18 is using i386 for the architecture instead of previous versions which have been using 1686 for a long time. I'll try toupdate the spec to handle this. Stay tuned...

 

EDIT: I have uploaded release 5 which supposedly solves this issue. Could you please test?

Highlighted

Re: Fedora RPM package for F17-F18

Casual Listener

Brilliant! It works perfectly! Thank you very much for your excellent work!

Highlighted

Re: Fedora RPM package for F17-F18

Casual Listener

@leamas wrote:

Due to new licensing information in this post, I cannot re-distribute the spotify client. Although this might change, this is the current situation. Besides that the rpm cannot be part of rpmfusion for these reasons, it also means  modified instructions to build the rpm manually:

# yum install wget rpmdevtools rpm-build yum-utils
$ rpmdev-setuptree
$ cd $(rpm --eval %_sourcedir)
$ wget http://leamas.fedorapeople.org/spotify/spotify-client.spec
$ spectool -g spotify-client.spec
# yum-builddep spotify-client.spec
$ env QA_RPATHS=2 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.8.4.103.g9cb177b.260-1.fc17.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.8.4.103.g9cb177b.260-1.fc17.i686.rpm

 Again, your case is similar but not the same 🙂 I might add that this spec file has been revised during the now stalled review process.


Followed these instructions on Fedora 17 x64 and it worked like a charm, thanks.

Highlighted

Re: Fedora RPM package for F17-F18

Newbie

Since the Debian/Ubuntu repo only contains the latest version, the spec file needs to be updated each time a new version is released. The current version, 0.8.8.323.gd143501.250-1 doesn't seem to build with the current spec file, however. Everything seems to be under /opt/spotify/spotify-client/ instead of /usr/share/spotify/. I've tried editing the spec file myself, but haven't got it working, yet.

 

SUGGESTED POSTS