devdetonator / rpm-packaging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpm-packaging

##Task 1: create perl-5.20 RPM

Download latest perl 5.20.0 and create an RPM package for CentOS 6.5 i386/x86_64.

You'll need to setup local CentOS (Vagrant could be useful here), install rpmbuild, and createrepo utilities, write perl-5.20.0.el6.spec file to build your own perl-5.20.0.el6.{arch}.rpm.

After all your spec files should be commited to this GitHub repo :)

Warining: Note, that CentOS comes with perl-5.10.1 and new package should be installed to /opt/.

###Materials For reference: perl-5.18.2-299.fc21.src.rpm contains both sources and spec file to needed to build package. Could be passed directly to rpmbuild tool. ##Documentation

###RedHat Package Manager usage RPM and YUM package management

###Building RPM's Packaging software with RPM, Part 1: Building and distributing packages

Packaging software with RPM, Part 2: Upgrading and uninstalling software

Packaging software with RPM, Part 3: Accommodating software dependencies

How to create an RPM package

About