Installation of a mod_spin skeleton application:
================================================

You have two options:

1. As a binary RPM
2. From source tarball

Option 1: From binary RPM
=========================

You have to be using an RPM based distro to do this (the packages are nomally
built for Fedora Core on x86). If you are, then it's really simple: 

rpm -Uvh spin_app-X.Y.Z-R.ARCH.rpm

where X.Y.Z is version of spin_app and R is the RPM release of it. Such
installation will create a configuration file for spin_app, located here:
/etc/spinapps/spin_app.xml. Any further upgrades of spin_app shouldn't
overwrite the configuration file you fiddled with, courtesy of RPM.

Option 2: From source tarball
=============================

IMPORTANT: You have to install mod_spin BEFORE attempting to build and install
any mod_spin applications or rxv_spin.h file won't be found.

From the top directory of the application source do:

./configure [--disable-static] [--libdir=/path/to/application/directory] \
            [--with-spinconfig=/path/to/rxv_spin-config]
make
make install

Note: You may need to precede the ./configure command with this:

CFLAGS="/path/to/rxv_spin.h/directory"

Normally, rxv_spin-config will give out the location of the header file.

If your mod_spin installation installed pkgconfig file into a non-system
location, you may need to do the same for PKG_CONFIG_PATH variable. See
pkg-config manual page for more info.

Uninstall
=========

If you installed from RPM, just do:

rpm -e spin_app

If you installed from source tarball, simply run from the top directory of the
application source:

make uninstall
