Skip to content

simonjbeaumont/planex

 
 

Repository files navigation

Planex Build Status

Scripts and libraries to build rpms

Usage

This is an example run to demonstrate how you can build the software specified in the planex-demo subdirectory

  • Change directory to planex-demo
cd planex-demo
  • Clone the repositories specified in the spec files
planex-clone
  • Configure
planex-configure
  • Build
make

Installation

Dependencies

Ubuntu 14.04

sudo apt-get -qy install python-rpm python-setuptools python-argparse rpm

CentOS 6

  • Basic dependencies:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
yum -y install git rpm-python rpm-build mock python-setuptools python-argparse
  • Pip:
wget --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install virtualenv
virtualenv --system-site-packages env
. env/bin/activate
pip install -r requirements.txt

Planex

To install PlanEx, clone this repository and run the following:

sudo python setup.py install

This will install the planex binaries:

  • planex-configure
  • planex-build
  • planex-clone
  • planex-specdep
  • and a few others

Testing

To run unit tests, use tox:

$ tox

About

RPM package and delivery

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.4%
  • Other 1.6%