wiki:MuseekOnFedora

Museek+ on Fedora


Museek+ is now part of Fedora, so to install it, you just need to run

yum install museek+

as root. You can use your favourite yum frontend as well, of course. The above command will install a meta-package which will pull in everything. You can also choose to install some parts of museek+ suite:
museek+-bindings
museek+-core
museek+-mucous
museek+-murmur
museek+-museeq
museek+-tools


Building a package out of Subversion code

Big fat warning: This guide assumes that you have some skills connected with RPM building

The first thing is to install rpmdevtools package. To do this, run as root :

yum install rpmdevtools

Then, as normal user, create your build tree :

rpmdev-setuptree

You may skip the above if you have done this before (really ;) Third step is to fetch the files needed for building the package, as well as the museek+ source code itself. A good idea is to start with source RPM from Fedora Extras. You can of course browse the mirror and find the file manually, but I prefer using yumdownloader. So install it

yum install yum-utils

and then grab the SRPM

yumdownloader --source museek+

Now let's grab the bleeding-edge development code

svn export http://www.museek-plus.org/svn/museek+/trunk/sources/ museek+/

Then, you will need to create an archive out of source code

tar -cjvf museek+-current.tar.bz2 museek+/

Now wee need to move the files to appropriate places. The quickest way is running

rpm -ivh museek+-version-release.dist.src.rpm

Of course, replace version, release and dist with appropriate values. Next step is moving museek-current.tar.bz2 to ~/rpmbuild/SOURCES/


Now the hard part.

Open the spec in your favourite text editor and change it to make it work with non-release code.
If you are lucky, the only thing to do would be to change Version, Release (preferably to 0.snapshot_datesvn%{?dist} and Source0 (to %{name}-current.tar.bz2) fields, but if some more extensive changes are made to the program, spec may require additional tweaking.

Good luck !


Last modified 8 years ago Last modified on 22/09/2008 18:18:34