Installing serel on Debian GNU/Linux from a .deb package
========================================================

Install the package the way you would any other .deb.

For example:
	dpkg -i serel*.deb

The installation process automatically patches your rc (if necessary).

Installing serel on Red Hat Linux from a .rpm package
=====================================================

First, install the package:

  rpm --install -vh serel-*.rpm

Second, you must patch your rc file - you must be root to do this.

  patch -N -d /etc/rc.d -b -p0 < /usr/share/serel/redhat-rc-7.x.patch   

Voila!  Go ahead and reboot!

Notes
=====
serel caches the dependencies amongst your computer's services,
so that your computer boots even faster the second around.

To toggle serel boot on/off, simple type serel to the command line of
your boot loader, eg:
lilo> linux serel
or
grub> linux-2.4.3 serel

To turn serel on/off permanently, edit the config file:
	Red Hat: /etc/sysconfig/serel
	Debian:  /etc/default/serel

Installation for serel developers
=================================

  # Obtain the source tarball (eg. http://www.fastboot.org/download.html)
  # Make sure your development environment has the required
  # packages installed (glib and redland) - see the web site for details.

  gunzip serel-*.gz
  tar xvf serel-*.tar
  cd serel-*
  ./configure
  make
  make check
  make install  # you must be root to install serel

  mkdir /etc/serel /var/lib/serel

  # redhat users only:
  #
  cp data/redhat-rc.serel.include  /etc/rc.d
  cp data/redhat-serel-default.rdf /etc/serel/default.rdf
  cp data/serel-local.rdf          /etc/serel/local.rdf
  cp data/serel.conf               /etc/serel
  cp data/serel.sysconfig          /etc/sysconfig/serel
  patch -N -d /etc/rc.d -b -p0 < /usr/share/serel/redhat-rc-7.x.patch   

  # debian users only:
  #
  cp data/debian-rc.serel.include  /etc/rc.d
  cp data/debian-serel-default.rdf /etc/serel/default.rdf
  cp data/serel-local.rdf          /etc/serel/local.rdf
  cp data/serel.conf               /etc/serel
  cp data/serel.sysconfig          /etc/default/serel
  patch -N -d /etc/init.d -b -p0 < /usr/share/serel/debian-rc.patch   

Voila!  Go ahead and reboot!
