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

You have two options:

1. As a binary RPM on Fedora Core Linux Distribution
2. From source tarball

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

You have to be using Fedora Core 1 (and possibly later versions) on an x86
machine to do this. If you are, then it's really simple: 

rpm -Uvh spin_app-X.Y.Z-R.i386.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-apxs=/path/to/apxs/dir]
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.
Failing that and if you installed mod_spin from source, rxv_spin.h lives in
/usr/local/include, which at least on Red Hat Linux 9 and Fedora Core, get
included in the gcc include directory search. This may be different for your
platform/complier.

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
