Git Product home page Git Product logo

opensuse-spotify-installer's Introduction

Spotify RPM Spec file for openSUSE, Fedora, Mandriva, Mageia.

Once I used to create Spotify RPMs directly on openSuSE Build Service, but it was banned and actually violated Spotify License.

Then I saw Fedora Mumble RPMs, which is a great idea for sharing such repackaged commercial packages. it's benefit is listed on their sites, so as ours.

The Principle of Mumble RPMs is to license RPM specfiles under an open source agreement, and only ships the .nosrc.rpm or .spec without commercial binaries. That package/file is free and open source. But you have to fetch the commercial bits to rebuild and use for your own purpose.(not redistributable for the output real RPMs, but you still can spread the .nosrc.rpm or specfile to others and tell them how to rebuild/build for a real RPM)

Anyway, it's for those alien haters.

Easy script

Download ~/spotify-rpm-generator.sh and run.

Build for yourself

You need rpmbuild package from your system.

Then find the hierarchy like /usr/src/packages:

	-- BUILD
	-- BUILDROOT
	-- RPMS
		-- i586
		-- x86_64
		-- noarch
	-- SOURCES
	-- SPECS
	-- SRPMS

It may be under your $HOME/rpmbuild (for openSUSE). Or you can just use /usr/src/packages but it may require root permission.

Download spotify deb from http://repository.spotify.com/pool/non-free/s/spotify and put it under SOURCES.

Download this spec and put it under SPECS.

It has no actual dependencies, so we just start building:

	cd SPECS
	rpmbuild -ba spotify.spec

Generated packages will be under RPMS/x86_64 or RPMS/i586 directory.

Use:

	sudo rpm -ivh --nodeps *.rpm

or

	sudo zypper --no-refresh install --force-resolution *.rpm

to install it. (--nodeps or --force-resolution is very important!)

You need these runtime dependencies:

  • openSUSE: mozilla-nss, mozilla-nspr, libopenssl1_0_0
  • Fedora: nss, nspr, openssl(>= 1.0.1)
  • Mandriva and Mageia: libnss3, libnspr4, libssl1.0.0

to get it running.

Have a lot of fun!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.