From 91c9d226ed2fbb860faebfb30340dc976761b091 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Tue, 11 Sep 2012 14:19:18 +0200 Subject: [PATCH] even more docs --- docs/guide/CMakeLists.txt | 2 ++ docs/guide/debian_ubuntu.textile | 39 ++++++++++++++++++++++++++++++++ docs/guide/fedora_rhel.textile | 22 ++++++++++++++++++ docs/guide/index.textile | 2 ++ 4 files changed, 65 insertions(+) create mode 100644 docs/guide/debian_ubuntu.textile create mode 100644 docs/guide/fedora_rhel.textile diff --git a/docs/guide/CMakeLists.txt b/docs/guide/CMakeLists.txt index b01697c5..f7c92ead 100644 --- a/docs/guide/CMakeLists.txt +++ b/docs/guide/CMakeLists.txt @@ -25,6 +25,8 @@ ADD_TEXTILE("configure_xmpp_server.textile" "Spectrum 2 - Configure XMPP server" ADD_TEXTILE("tutorial_gateway_mode.textile" "Spectrum 2 - Spectrum 2 in gateway mode") ADD_TEXTILE("config_file.textile" "Spectrum 2 - Config File") ADD_TEXTILE("from_source_code.textile" "Spectrum 2 - Installing from source code") +ADD_TEXTILE("debian_ubuntu.textile" "Spectrum 2 - Debian/Ubuntu packages") +ADD_TEXTILE("fedora_rhel.textile" "Spectrum 2 - Fedora/RHEL/CentOS packages") ADD_TEXTILE("server_ssl.textile" "Spectrum 2 - Server mode SSL support") ADD_TEXTILE("mysql.textile" "Spectrum 2 - MySQL Support") ADD_TEXTILE("postgresql.textile" "Spectrum 2 - PostgreSQL Support") diff --git a/docs/guide/debian_ubuntu.textile b/docs/guide/debian_ubuntu.textile new file mode 100644 index 00000000..eff14e2c --- /dev/null +++ b/docs/guide/debian_ubuntu.textile @@ -0,0 +1,39 @@ +We have APT repositories for Debian and Ubuntu that make it very easy to install Spectrum 2. + +To use the repositories, just add the following lines to @/etc/apt/sources.list@: + +
+deb http://packages.spectrum.im  spectrum2
+
+ +where is either lenny, squeeze, hardy, intrepid, jaunty, karmic or lucid. If you are unsure, you can usually find your distribution in the file /etc/lsb-release. We also have a source repository at the same location if you want to build the package yourself. + +h2. Add GPG key + +After you have added the repository, you still have to import the GPG key that is used to sign the packages in the repository. You can do this in two ways: + +You can download and add the key manually (apt-key requires root privileges): + +
+ wget -O - http://packages.spectrum.im/keys/apt-repository@fsinf.at | apt-key add -
+
+ +You can simply update the repositories and install the fsinf-keyring packages: + +
+ apt-get update
+ apt-get install fsinf-keyring
+ apt-get update
+
+ +Don’t worry about the warnings that the packages can’t be identified, they will be gone after you installed the fsinf-keyring package. + +h2. Install spectrum2 - development version + +After you have done that, simply do: + +
+apt-get install spectrum2-git spectrum2-backend-libpurple-git
+
+ +Note that these repositories pull in quite a few dependencies, depending on the distribution you use. diff --git a/docs/guide/fedora_rhel.textile b/docs/guide/fedora_rhel.textile new file mode 100644 index 00000000..d3f2d9c7 --- /dev/null +++ b/docs/guide/fedora_rhel.textile @@ -0,0 +1,22 @@ +There are nightbuilds for Fedora, CentOS-6 or RHEL6 distributions. + +h2. Fedora + + +1. Save "fedora-spectrum2.repo":http://repos.fedorapeople.org/repos/jkaluza/spectrum2/fedora-spectrum2.repo file into /etc/yum.repos.d/ + +2. Install spectrum2 and spectrum2-libpurple-backend + +
+yum install spectrum2 spectrum2-libpurple-backend
+
+ +h2. RHEL/CentOS + +1. Save "epel-spectrum2.repo":http://repos.fedorapeople.org/repos/jkaluza/spectrum2/epel-spectrum2.repo file into /etc/yum.repos.d/ + +2. Install spectrum2 and spectrum2-libpurple-backend + +
+yum install spectrum2 spectrum2-libpurple-backend
+
diff --git a/docs/guide/index.textile b/docs/guide/index.textile index f358f7c8..4dd21372 100644 --- a/docs/guide/index.textile +++ b/docs/guide/index.textile @@ -4,6 +4,8 @@ h2. About h2. Installation +* "Debian/Ubuntu packages":debian_ubuntu.html +* "Fedora/RHEL/CentOS packages":fedora_rhel.html * "Installing from source code":from_source_code.html h2. Tutorials