CENTOS.txt
author Toby Elliott <telliott@mozilla.com>
Sat, 30 Jul 2011 17:46:17 -0700
changeset 501 ee2e07bec753021a7216c88396bb5ed333130031
parent 470 d8ea3c85563d105cf09c624b1c00ab3e3ce037b8
permissions -rw-r--r--
Bug 674768 - Making auth default off. c=rtiler, r=telliott

================
CentOS packaging
================

This is the process to release KeyExchange as a RPM collection.

It requires a few tools::

    $ sudo yum install rpm-build python26 python26-setuptools gcc python26-devel mysql-devel openldap-devel
    $ sudo easy_install-2.6 virtualenv
    $ sudo easy_install-2.6 distribute

Next, call make build to pull dependencies and set up a build environment::

    $ make build

To check that the environment works, make test should not fail::

    $ make test

Now you can create the RPM collection for the project and its dependencies::

    $ make build_ldap
    $ make build_rpms

Once this is over, you will find all rpms rpms/.