
PowerTools Documentation: Index | Examples
Table of contents |
1 Creating a DSP
This topic describes the most common tasks that are required to create a DSP.
1.1 Manual installation of a tool
- Ascertain the optimal procedure for installing a tool onto a site. The installation steps are automated in dAPI.py.
- The list of installation parameters from the SA that will be required at the time of installing the DSP onto a site, for example, the path where a DSP must be installed.
1.2 Configure the build environment
The build machine must meet the following build requirements.
- Log in as a non-root user (recommended).
- Download and uncompress the powertools.tar.bz2 archive.
tar jxvf powertools.tar.bz2
- Make sure that the operating system installed is Fedora Core 1, Fedora Core 2 or RHEL 3ES.
- Ensure that you have the RPM rpm-build package installed.
yum install rpm-build
- If you are running Fedora Core 1 or RHEL 3ES, install the RPM python-devel
yum install python-devel
1.3 Creating a DSP
- Create DSP initial source structure.
- Create DSP source directories.
- Copy source templates (optional).
- Write (Modify if you have copied templates) include.mk.
- Download/Copy the tool source archive and logo file.
- Copy msgs.list and default.xsl.
- Write/Modify dsp.xml .
- Write/Modify dAPI.py.
- Build the DSP.
- Test the DSP.
1.4 Examples
1.4.1 MediaWiki
Creating a mediawiki DSP.