1 Packaging Clementine for Fedora
davidsansome edited this page 2013-12-01 00:55:54 -08:00

Introduction

This guide is for creating the .rpm files that you see on the downloads page. You probably don't need to do this. You can download a Fedora package from the downloads page, or if you want to just compile Clementine yourself see Compiling From Source.

Before you begin

su -c "yum install mock rpmdevtools"
rpmdev-setuptree
su -c "usermod -a -G mock yourusername"

Creating the package

cd bin
cmake .. -DMOCK_CHROOT=fedora-13-x86_64 \
         -DRPM_DISTRO=fc13 \
         -DRPM_ARCH=x86_64
make rpm

This should spit out a clementine.rpm in the bin directory.