Giter VIP home page Giter VIP logo

chef-rpms-builder's Introduction

Chef SRPMs build script

This script fetches chef package sources from http://github.com/frameos RPM repositories and creates SRPMS from Opscode's Chef master branch.

Either Fedora or RHEL/CentOS/SL (x86_64) is required to use this script.

If you want to build binary packages also, you will need pkg-wizard's buildbot. See Usage section for more details.

Prepare the environment

If you are trying to build in RHEL5/CentOS5/SL5, you must install newer versions of ruby (1.8.7) and rubygems (>= 1.3.2) first. Up to date packages are available at http://rbel.frameos.org. You will also need EPEL repo to install Git.

First, we need to install some tools and build dependencies:

 yum install rpmdevtools rubygems ruby-devel gcc gcc-c++ make which rpmdevtools git rpm-build mock
 gem install pkg-wizard rake rest-client merb-core merb-slices merb-assets merb-helpers 
 gem merb-haml moneta bunny uuidtools rspec rake cucumber jeweler gemcutter

Check out the sources

Check out the build script sources:

git clone git://github.com/rubiojr/chef-rpms-builder.git

Usage

Change to the builder directory

cd chef-rpms-builder

Without build-bot (binary RPMS won't be created)

ruby chef-rpms-builder --quiet

Use "--quiet" if you don't want to see debug output

If you want to use pkg-wizard's buildbot (see http://pkg-wizard.frameos.org) to create binary RPMS:

ruby chef-rpms-builder --quiet --use-buildbot --rhel5

This will build packages using a build-bot in localhost using rbel5 mock profiles.

chef-rpms-builder's People

Contributors

rubiojr avatar

Stargazers

Dmitrii Tkachenko avatar Zac Stevens avatar  avatar

Watchers

Henry Huang avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.