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 spinapp-X.Y.Z-R.i386.rpm

where X.Y.Z is version of spinapp and R is the RPM release of it. Such
installation will create a configuration file for spinapp, located here:
/etc/spinapps/spinapp.xml. Any further upgrades of spinapp 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.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 spinapp

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

make uninstall
